Gu ! Posted December 9, 2005 Posted December 9, 2005 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 ?
kgt Posted December 9, 2005 Posted December 9, 2005 Show the code on and near line 349. Contributions Discount Coupon Codes Donations
TENCENTS Posted August 13, 2006 Posted August 13, 2006 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.
TENCENTS Posted August 13, 2006 Posted August 13, 2006 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.