Jump to content

Shop Crash After Hoster Updated Php Version To 5.3


Recommended Posts

I have a nice shop running until the hoster upgraded php on the server to v5.3. The prestashop version is 1.5.2 and as I've seen it should be compatible with this php version.

 

The URL of the shop is: http://www.jimpie.nl/prestashop/

 

and what it shows is: * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 17893 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch();

 

Also the admin pages cannot be accessed and it returns a similar error message.

 

I've tried to add lines like this:AddHandler application/x-httpd-php53 .inc .php .php3 .php4 .php5 .php6 .phtml # phpvs v6

 

to the .htaccess files but that does not change anything.

 

 

Can somebody point me in the direction on how to solve this please?

Link to comment
Share on other sites

Do you have access to apache error logs? I have 1.4. and 1.5 versions at least in my developement environment running under php 5.4.6 without problems. So the php version is imo not the problem. In doubt I would contact your hosting provider too.

Link to comment
Share on other sites

Do you have access to apache error logs? I have 1.4. and 1.5 versions at least in my developement environment running under php 5.4.6 without problems. So the php version is imo not the problem. In doubt I would contact your hosting provider too.

 

Yes, but they do not contain anything usefull besides a small image file not existing.

 

I think there are problems interpreting the php scripts altogether.. IF I look at the pagesource it seems that the interpreter starts in the middle of a commentssection..

 

I did drop a mail to the hoster, but other sites on the same server run fine so it is related to this prestashop.

 

I copied a new release to a test folder, and was not even able to start the installer: it showed some scriptsparts in the brower as text while it should execute it.

 

I'm now messing with my .htaccess files to get the php scripts running again but still no luck.

 

Any help appreciated..

Link to comment
Share on other sites

Yes, but they do not contain anything usefull besides a small image file not existing.

 

I think there are problems interpreting the php scripts altogether.. IF I look at the pagesource it seems that the interpreter starts in the middle of a commentssection..

 

I did drop a mail to the hoster, but other sites on the same server run fine so it is related to this prestashop.

 

I copied a new release to a test folder, and was not even able to start the installer: it showed some scriptsparts in the brower as text while it should execute it.

 

I'm now messing with my .htaccess files to get the php scripts running again but still no luck.

 

Any help appreciated..

I can reach your website without any problems or errors.

 

P.S. Simple and nice theme by the way )

Link to comment
Share on other sites

I can reach your website without any problems or errors.

 

P.S. Simple and nice theme by the way )

 

I'm starting to get somewhere indeed!!

 

Aparently after the hoster upgraded, it automatically changed .htaccess files and that seem to cause some of the issues.

 

Besides some pages not beeing found while they are there, I have the issue that I should point to the index.php scripts directly, while they should load automatically.

 

So jimpie.nl/prestahop does not work, while jimpie.nl/prestashop/index.php does.

Link to comment
Share on other sites

I'm starting to get somewhere indeed!!

 

Aparently after the hoster upgraded, it automatically changed .htaccess files and that seem to cause some of the issues.

 

Besides some pages not beeing found while they are there, I have the issue that I should point to the index.php scripts directly, while they should load automatically.

 

So jimpie.nl/prestahop does not work, while jimpie.nl/prestashop/index.php does.

Look like you need to regenerate your htaccess file...

Link to comment
Share on other sites

×
×
  • Create New...