Guest Posted August 24, 2006 Share Posted August 24, 2006 Here's an error message I get when I installed the OS Commerce to the website: "Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory." Let me know what I'm doing wrong and why the two installations that I've done onto my webserver are not working. My host is hostmonster.com -Matt Link to comment Share on other sites More sharing options...
♥Vger Posted August 24, 2006 Share Posted August 24, 2006 Register Globals is disabled in php.ini --------------------------------------- If your site is hosted on a Windows server then you'll have to install the Register Globals Patch (find in Contributions). Please be aware that if you install the patch that most of the contributions for osCommerce will not work on your website, because they are written only to work with Register Globals set to 'on'. If your site is hosted on an Apache server with a Unix or Linux Operating system then you may be able to turn on Register Globals just for your website by putting the code below into a .htaccess file in the root of your site. php_flag register_globals on Vger Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2006 Share Posted August 25, 2006 Ok. I installed the Contribution and the main store works, but the Admin is screwed up. It worked for a moment, but now is not. Here's my error: Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/healthyh/public_html/store/admin/includes/application_top.php on line 132 Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/healthyh/public_html/store/admin/includes/application_top.php on line 132 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/healthyh/public_html/store/admin/includes/application_top.php on line 132 I have copied and recopied files and made sure everything was copied right. What's the deal? Thanks for your help. Matt Link to comment Share on other sites More sharing options...
freezo Posted August 26, 2006 Share Posted August 26, 2006 Please be aware that if you install the patch that most of thecontributions for osCommerce will not work on your website, because they are written only to work with Register Globals set to 'on'. Well, well, that is a problem. I'm writing to document our endeavors for all who will be interested in the outcome. We just completed a migration from a virtual shared Linux host to a dedicated Windows 2003 server. Fortunately the database, admin panel, and existing contributions load properly and seem to be working on the Windows 2003 server. We did run (and I mean Run) face first into the issue of Register Global being required to be turned on. Our admin seems to work properly with or without the Register Globals enabled. Of course, as many have seen before, there is no store front without Register Globals enabled. And with it Enabled, you get those lovely page load errors because windows doesn't know how to read the configure(s).php properly. THE TASK - Install Register Globals patch V 1.4a GET IT WORKING on WINDOWS 2003 with the FOLLOWING LIST OF INSTALLED CONTRIBUTIONS: - QBI V 2 - PWA (purchase without account) - FedEx Module "Fedex_Direct_2.04 CAD" - USPSMethods_2.8d_1.zip - fedex1.php - PO Box_1_3.zip for diverting PO boxes to USPS only - Res/Commercial module "Res_comm_contrib_1.00 - Fedex Rates for Residential or Commercial Addresses If there is anyone reading who can explain how to update contributions to work without Register Globals, that would be much appreciated. On a scale of 1 to extremely time-consuming, what are we dealing with here? Updates on our progress will be posted here when I can. B) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.