Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce stopped working after PHP 4.4.5


TomH73

Recommended Posts

Hello,

 

my provider installed the PHP4.4.5 update this morning and after that my shops stopped working. When I go to my shop, I get a blank page (same in my admin).

When I did a fresh install on another domain on the same server, I got the same result.

Here is the changelog of PHP 4.4.5 http://www.php.net/ChangeLog-4.php#4.4.5

 

Please, who can help me!

 

Best regards,

 

Tom

Link to comment
Share on other sites

Hello,

 

my provider installed the PHP4.4.5 update this morning and after that my shops stopped working. When I go to my shop, I get a blank page (same in my admin).

When I did a fresh install on another domain on the same server, I got the same result.

Here is the changelog of PHP 4.4.5 http://www.php.net/ChangeLog-4.php#4.4.5

 

No errors at all ? Just a blank browser ?

register_globals is my guess.

Are you able to turn on php's error_reporting ?

 

Are you able to upload and execute this file :

 

<?php

 

phpinfo();

 

?>

Link to comment
Share on other sites

Dump this at the top of your includes/application_top file.

error_reporting(E_ALL ^ E_NOTICE);

 

http://ca3.php.net/error_reporting

What a sec - it should alrweady be there. ??

 

david

 

Hi,

I've got the same problem since i migrate to php-4.4.5

Also, i've no error at all, i roll back to php-4.4.4

 

Do you have any clue about this ?

Do you succed to make working oscommerce and php-4.4.5 ?

 

Regards,

Laurent

Link to comment
Share on other sites

A quick check under windows with debuger 4.4.5 I find this to be the problem.

 

Registering an undefined variable crashes apache.

 

This works

<?php
session_start();
$cart = '';
session_register('cart');
echo '...';
?>

 

This no longer works

<?php
session_start();
session_register('cart');
echo '...';
?>

 

Is it a bug or a feature?

I dont know!

Link to comment
Share on other sites

We've had the same problem on our cart. Oddly enough, Opera was the only browser that had a problem. Both IE and Firefox were able to view the cart without any problems. I should note that I use Opera, so IE and Firefox may not have had some session data that Opera did, though clearing the cookies did not help.

 

-Dan

 

-EDIT: Sorry, IE and Firefox both had cookie problems, but did actually display the catalogs.

Link to comment
Share on other sites

Has anybody found a solution to this problem, I have had 2 domains suspended now for crashing their CPU. I am on a shared server so I can't really go in and make changes to their PHP. What is the most efficient way to get the shop to pull up and function?

Link to comment
Share on other sites

I am sorry but I have to say, if I were you, the most effecient way is to move to a new host.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...