Site not working after server upgraded to php 5.4.30

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

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.
Locked
igor56
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 20, 2014 11:11 am

Site not working after server upgraded to php 5.4.30

Post by igor56 » Sun Jul 20, 2014 11:20 am

Mijn web host just upgraded to php 5.4.30 and when I came home from vacation, my Joomla 1.5 site did not work anymore. There was a very large php error log as well as as error log in the cpanel of my site. In the meantime, I understand that Joomla 1.5 will not work with php 5.4.30.

Unfortunately I did not back the site up with Akeeba, so I cannot use that to upgrade my site. I do have a copy of the site, as well as the database. I did install the latest version of Joomla (3.3?) and have that running with my old database, but is there a method of rebuilding my site? Otherwise, I need to do everything from scratch since I don't even have a screenshot of how the site was before the upgrade.

It is a strange conundrum. I hope someone can point me in the right direction.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Site not working after server upgraded to php 5.4.30

Post by dhuelsmann » Sun Jul 20, 2014 11:32 am

Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Site not working after server upgraded to php 5.4.30

Post by Per Yngve Berg » Sun Jul 20, 2014 11:52 am

Joomla 1.5.26 runs on php 5.4.
Update your 1.5 to the latest version before starting a migration.

igor56
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 20, 2014 11:11 am

Re: Site not working after server upgraded to php 5.4.30

Post by igor56 » Sun Jul 20, 2014 12:52 pm

Thanks, Per. I tried upgrading and now am getting just one error message:

Warning: require_once(/home/user/public_html/libraries/joomla/import.php): failed to open stream: No such file or directory in /home/user/public_html/Joomla/includes/framework.php on line 36

Fatal error: require_once(): Failed opening required '/home/user/public_html/libraries/joomla/import.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/Joomla/includes/framework.php on line 36


Did I miss transferring a file or is something else missing?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Site not working after server upgraded to php 5.4.30

Post by Per Yngve Berg » Sun Jul 20, 2014 1:11 pm

Import.php is missing or corrupt.

igor56
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 20, 2014 11:11 am

Re: Site not working after server upgraded to php 5.4.30

Post by igor56 » Sun Jul 20, 2014 2:36 pm

Thanks again Per. Unfortunately that was not the only problem. I removed everything from my server and tried a clean install of 1.5.26. I cannot install it on my server for the following reasons:

Cookies do not appear to be enabled on your browser client. You will not be able to install the application with this feature disabled. Alternatively, there could also be a problem with the server's session.save_path. If this is the case, please consult your hosting provider if you don't know how to check or fix this yourself.

I tried removing the htaccess.txt and as well modifying it with:

php_value session.save_path "/isp/websites/sites/example.com/docs/tmp"

both to no avail.

(I am obviously using a remote server)

I am also getting a serie of these:

Strict Standards: Non-static method JLoader::import() should not be called statically in …

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Site not working after server upgraded to php 5.4.30

Post by Per Yngve Berg » Sun Jul 20, 2014 4:59 pm

Turn off error reporting to hide the strict standards messages.

igor56
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 20, 2014 11:11 am

Re: Site not working after server upgraded to php 5.4.30

Post by igor56 » Sun Jul 20, 2014 5:21 pm

Thanks Per. Sorry to be so thick but how can I turn off error reporting. Just to be clear, the site does not run, I cannot log into the admin section, a new install of 1.5.26 stalls at the second window due to the message of the server's session.save_path. I am not on a local host so cannot change the php.ini file. Also have no access to the global controls on the admin page.

I am able to change files, but I would need to know which one, where it is found and how to change it.

Thanks for your patience.

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Site not working after server upgraded to php 5.4.30

Post by ribo » Sun Jul 20, 2014 6:02 pm

igor56 wrote:Thanks Per. Sorry to be so thick but how can I turn off error reporting.
in congiguration.php put None in error reporting
public $error_reporting = 'none';
chat room spontes : http://www.spontes.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Site not working after server upgraded to php 5.4.30

Post by Per Yngve Berg » Sun Jul 20, 2014 6:15 pm

You have to contact your host about the session.save_path.

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: Site not working after server upgraded to php 5.4.30

Post by dpacadmin » Mon Jul 21, 2014 10:46 pm

Users in this forum have reported issues when using Joomla 1.5 with php 5.4. If you have the files and a database backup you can install your site locally with a server like WampServer2 or XAMPP, use a version of one of those servers with php 5.3 or 5.2 if your Joomla site is Joomla 1.5.14 or older.

I don't know that Joomla 3.x will run correctly with a Joomla 1.5 database. If you are willing to do a new install of Joomla why not just install Joomla 3.x and copy the data from your old site to the new site when you get your old site set up locally?

http://docs.joomla.org/Copying_a_Joomla_website

WampServer2.0h last version with php 5.2
WampServer2.2 php 5.3

XAMPP 1.7.1 last version with php 5.2
XAMMP 1.7.7 last version with php 5.3


Locked

Return to “Migrating and Upgrading to Joomla! 1.5”