Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem after updating the server


Gu !

Recommended Posts

Hi !

 

First, I'm using osCommerce v1.19.

I updated my server for a couple of days, and ther was a php5.1 update.

Since this moment, I have an error on the state_sales_repport.php :

Notice: Use of undefined constant rory - assumed 'rory' in /install_path/admin/stats_sales_report.php on line 349

 

Notice: Undefined index: rory in /install_path/admin/stats_sales_report.php on line 349

 

I haven't found any topic on this subject on the forum, and it is very important.

Can you please help me ?

Link to comment
Share on other sites

  • 8 months later...
Hi !

 

First, I'm using osCommerce v1.19.

I updated my server for a couple of days, and ther was a php5.1 update.

Since this moment, I have an error on the state_sales_repport.php :

I haven't found any topic on this subject on the forum, and it is very important.

Can you please help me ?

 

 

I'm running a local development server and upgraded to PHP5 this morning.

 

I think this might help everyone:

 

In the PHP.INI , enable mbstring, gdlib and mysql - this should get the Catalog working

 

In Admin you might run into a problem with UPLOAD.PHP, simply open the file and replace $THIS with something else like $yourname.

 

It seems to be that simple - I haven't tested everything yet.

Never underestimate the power of stupid people, especially in groups.

Link to comment
Share on other sites

I'm running a local development server and upgraded to PHP5 this morning.

 

I think this might help everyone:

 

In the PHP.INI , enable mbstring, gdlib and mysql - this should get the Catalog working

 

In Admin you might run into a problem with UPLOAD.PHP, simply open the file and replace $THIS with something else like $yourname.

 

It seems to be that simple - I haven't tested everything yet.

 

Stop the press - here's another update from the loose-canon brigade:

 

Replacing $THIS ain't such a good idea (hey, I'm no PHP guru) - so after changing everything back I got the error in admin (cannot reassign $this on line 31), then I simply rem'd out $THIS=NULL (on line 31 I suppose).

 

:-" :D

Never underestimate the power of stupid people, especially in groups.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...