vti Posted June 28, 2007 Share Posted June 28, 2007 Hi there, can someone help me about a new instalation of oscommerce? I'm a little newbie on this things but i can understand any kind of help. I'm installing a new oscommerce and i got this error after install it: (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.) I was searching for php.ini but i can't find it, anyway i try to edit the .htaccess in oscommerce directory, but i can't put it work. And i don't see anything about register_globals on/off | 0/1 nothing similar . I use Fantastico cpanel to setup it Any help about this i apreciate a lot. Kind regards Link to comment Share on other sites More sharing options...
satish Posted June 28, 2007 Share Posted June 28, 2007 I just downloaded oscommerce, copied catalog over to my Apache server and ran into the same problem. Since then, I have tried the following fixes without success, 1. Modified php.ini to turn global_registers = on 2. Added .htaccess files to htddocs, catalog, admin and install folders with the line php_value register_globals 1 3. Added php.ini with global_registers=on to htddocs, catalog, admin and install folders. or apply register globals patch By VGER Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
vti Posted June 28, 2007 Author Share Posted June 28, 2007 I just downloaded oscommerce, copied catalog over to my Apache server and ran into the same problem. Since then, I have tried the following fixes without success, 1. Modified php.ini to turn global_registers = on 2. Added .htaccess files to htddocs, catalog, admin and install folders with the line php_value register_globals 1 3. Added php.ini with global_registers=on to htddocs, catalog, admin and install folders. or apply register globals patch By VGER Satish I install the patch and still dont work anyway i can't still find php.ini via ftp and via cpanelX. I apreciate your help mate. Regards Link to comment Share on other sites More sharing options...
LioMandi Posted June 28, 2007 Share Posted June 28, 2007 Are u using apache? Link to comment Share on other sites More sharing options...
vti Posted June 28, 2007 Author Share Posted June 28, 2007 Are u using apache? It's hosting plan with this : cPanel Version 11.4.18-RELEASE cPanel Build 14158 Theme x3 Apache version 1.3.37 (Unix) PHP version 5.2.0 MySQL version 5.0.27-standard Architecture i686 Operating system Linux Shared Ip Address Path to sendmail /usr/sbin/sendmail Path to PERL /usr/bin/perl Kernel version 2.6.19.3-grsec and a Fantastico cpanel with a lot of pre installed scripts. Link to comment Share on other sites More sharing options...
vti Posted June 28, 2007 Author Share Posted June 28, 2007 Tnx a lot for the help and it's running now. tnx a lot guys working with this: Register Globals Patch Files Updated Rhea Anthony 13 Jun 2005 This is the complete set of files with the Register Globals patch applied, to comply with Richard Bentley's upgrade of the patch source code from v1.2 to v1.3. and - # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # #<IfModule mod_php4.c> # php_flag register_globals on # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.