Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 4:03 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
Posted: Fri Mar 21, 2008 5:11 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Oct 26, 2007 6:37 pm
Posts: 12
I host my Joomla ran website (http://www.beernutgallery.com) with Network Solutions. Since I've started hosting there they have used a PHP4 platform, but now they are forcing all of their clients to upgrade to PHP5.

This is a bit of a problem, because I'm not sure if my version of Joomla is compatible. They have a testing site in place that tests your site's compatibility with PHP5. When I try to run my site I get the following error:

Fatal error: Using $this when not in object context in /data/15/1/93/132/1419621/user/1524518/htdocs/templates/beernutgallery/index.php on line 18

Anyone have ideas on why this is happening and if it is a fatal error? I'm really worried that when I upgrade it will crash my site.
Any ideas?

Thanks in advance!
Nick


Top
   
 
Posted: Wed Mar 26, 2008 9:36 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Nov 06, 2005 6:22 pm
Posts: 11
I will join this question:
I need to upgrade my Joomla to PHP5 - is there any way this can be done easily and painlessly??

thanks,
-Dov


Top
  E-mail  
 
Posted: Fri Mar 28, 2008 1:27 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Feb 13, 2007 9:40 am
Posts: 14
Hello everybody,

I am joining this post. My Joomla version is 1.0.12 and when I tried to upgrade to php 5 funny thing happened:

It did not work at all aside from the frontpage

Meaning, clicking on any of the content items or components resulted in a blank page

However, when I turned Search Engine Friendly URLs off it worked fine!!

Any ideas?

Tnx,

Tamir


Top
   
 
Posted: Sat Jun 28, 2008 9:23 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Dec 15, 2005 4:30 am
Posts: 33
I'm having this problem too. Did anyone find a solution?


Top
  E-mail  
 
Posted: Mon Jul 07, 2008 5:30 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun May 07, 2006 1:19 am
Posts: 135
Upgraded to PHP 5.
2 Joomla 1.5 test sites working fine.
2 live Joomla 1.0.15 sites can't even be accessed in the admin area.
All I see is the offline banner but with the error message... contact the administrator
I've cleared the cache.
Tried the config settings with SEO off
Repaired my databases in MySQL
Uploaded new files
If I try to install, it says the sessions.save_path directory is not writable.
Tried to switch back to PHP 4 to no avail.
Checked the .htaccess and php.ini files for glaring issues as compared to the backed up versions.
Nothing
Error logs show nothing recent.
The reason I updated in the first place was due to a zend optimizer error.
What am I missing?
I am stumped.
I think it has something to do with the sessions.save_path directory not being writable.


Top
  E-mail  
 
Posted: Fri Jul 11, 2008 6:58 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Oct 21, 2006 10:20 pm
Posts: 733
Location: Wisconsin USA
Joomla is fully compatible with php5 and no modifications or changes are needed.

If you are having trouble with the sessions save path, then check that your absolute paths are indeed correct in the configuration.php file. Make sure there are no incorrect .htaccess redirects in any htaccess files. If the updated server is now running php as a cgi process then make sure there are no php_flags active in an .htaccess file as they will cause errors.

Your session save path should be /tmp which is a directory outside of public_html. It needs to be writable and should be included in your domains php open basedir setting. Ask your hosting service to properly set this directory up for you as they should know the proper server paths to place in the open basedir.
An open basedir should look something like this:
/home/myaccountname/:/tmp:/usr/local/lib/php/:/usr/local/etc/: and so on.... depending on particular server setup and options available to your account.

_________________
Phil


Top
   
 
Posted: Fri Oct 10, 2008 3:29 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Aug 02, 2008 10:34 am
Posts: 1
I am running 1.57 & turning off the SEF seemed to return the site to normal. How do I & we fix it so that SEF works again?


Top
  E-mail  
 
Posted: Fri Sep 04, 2009 10:22 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jul 27, 2009 7:01 pm
Posts: 6
Having this same problem with the SEF... anybody found a workaround or is there a plugin that would do the same job?


Top
  E-mail  
 
Posted: Tue Oct 27, 2009 1:17 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 23, 2005 3:53 pm
Posts: 29
Rename your htaccess.txt file to .htaccess

as for a plugin try SEF404


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group