maxielit Posted August 21, 2008 Share Posted August 21, 2008 Getting this error message in frontend (and backend)after installing a template: FATAL ERROR: register_globals is disabled in php.ini, please enable it! And this message in backend after trying to solve the above error with the pnp.ini file fix in root + admin basically saying register_globals=ON: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in /home/aaefxse/public_html/shop/admin/includes/functions/database.php on line 19 Unable to connect to database server! 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> # 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> Anyone have a nice solution to share to fix these errors would make my day... Please help anyone. /M Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.