RojanUK Posted January 13, 2006 Posted January 13, 2006 Hi, My ISP has recently disabled register_globals. From that moment on my osCommerce web site stopped working and gives the error that I have to enable register_globals. As I, obviously, can't do that and my ISP refuses to do that due to some security risks, is there a way of running an osCommerce web site without register_globals enabled on the server and if so, what do I have to change and where? Any help would be greatly appreciated. Thanks, --=RojanUK=-- RojanUK
RojanUK Posted January 13, 2006 Author Posted January 13, 2006 I found a contribution here that should take care of the problem and after uploading the files I do in fact see part of my site back. However, the main body remains empty and gives the error: Fatal error: Call to undefined function: tep_get_categories_name() in /home/worldwid/public_html/index.php on line 297 As that file has not been altered by the contribution I'm at a loss where this error comes from. Can anybody help me? Thanks, --=RojanUK=-- RojanUK
RojanUK Posted January 14, 2006 Author Posted January 14, 2006 Unfortunately I still haven't found a solution. Can anybody help me? Thanks, --=RojanUK=-- RojanUK
RojanUK Posted January 21, 2006 Author Posted January 21, 2006 Just reactivating this topic in the hope that somebody can help me solve this problem. Thanks, --=RojanUK=-- RojanUK
AlanR Posted January 21, 2006 Posted January 21, 2006 That function must be defined by some contribution that you've installed, it's not in the standard distribution. So you'll need to find out where it was defined, possibly in your old includes/functions/general.php and recreate it in the new /functions/general.php (if that's where it was defined). It may take some tweaking to get it to work without register globals. Read the extra documentation that you'll find in the register globals patch folder. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
RojanUK Posted January 21, 2006 Author Posted January 21, 2006 That function must be defined by some contribution that you've installed, it's not in the standard distribution. So you'll need to find out where it was defined, possibly in your old includes/functions/general.php and recreate it in the new /functions/general.php (if that's where it was defined). It may take some tweaking to get it to work without register globals. Read the extra documentation that you'll find in the register globals patch folder. Thanks Alan. I've now simply added the register_globals bit that I found in the new general.php and pasted it into my - by contributions changed - general.php. The error is now gone, but my middle and right column are still not showing. To get an idea of what it looks like now, click here. Thanks, --=RojanUK=-- RojanUK
AlanR Posted January 21, 2006 Posted January 21, 2006 I'm not sure what you mean. It looks OK to me with or without the frameset. Your session id never goes away though, there's probably an error on the cookie domains. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
RojanUK Posted January 21, 2006 Author Posted January 21, 2006 I'm not sure what you mean. It looks OK to me with or without the frameset. Your session id never goes away though, there's probably an error on the cookie domains. You're right. I've tried it in a different browser (FireFox) and there the site works fine. Thank you very much for your help. :thumbsup: --=RojanUK=-- RojanUK
Recommended Posts
Archived
This topic is now archived and is closed to further replies.