photobug Posted June 8, 2009 Share Posted June 8, 2009 Greetings, I have installed More Pics 6 v1.4.3 "Classic" via autoinstaller on OSCommerce 2.2 and now receive this message: "Warning: Call-time pass-by-reference has been deprecated in /home/content/c/l/a/mystore/html/oscommerce1/catalog/index.php on line 244 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." It looks like the php.ini and .htaccess files have lines turning on register_globals - so what gives? Any help would be appreciated. Thanks. My php.ini file (1 line only): register_globals=on My .htaccess file: # $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_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Quote Link to comment Share on other sites More sharing options...
photobug Posted June 9, 2009 Author Share Posted June 9, 2009 Please disregard original post. I added a PHP5.ini file and it works fine now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.