hi im getting FATAL ERROR: register_globals is disabled in php.ini, please enable it! i need to know where the .htaccess file is that corresponds to my home directory in ispconfig so i can alter a line that needs to go there. or how do i go about creating a .htaccess file from scratch to suit enablement of php ?
Just create a .htaccess file into the folder where you put OS Commerce with the following content: Furthermore:
no such luck mate. keep getting a server 500 error. ive changed like u suggested in every httpd.conf file i can find. still cant get it to run. Heeeeelllllpppppp
I think it's the httpd.conf settings where at some stage the allow override will be chnaged back to none.
What's in your .htaccess file? What's in your Apache error log? What's the appropriate <Directory> section from your Apache configuration? Do you use ISPConfig?
im running isp config falko. # $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 On #</IfModule> Thats from ht.access Where do i find my log file for apache on ispconfig ?
Add Code: php_admin_flag register_globals on php_admin_flag register_long_arrays on to the site's Apache Directives You will find the Apache Directives in the ISP Site > basis (at the bottom)
And remove the .htaccess file. At the end of your main Apache configuration you find something like Code: <Directory /var/www/*/web> Options +Includes -Indexes AllowOverride None AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> Change it to Code: <Directory /var/www/*/web> Options +Includes -Indexes [B][COLOR="Red"]AllowOverride All[/COLOR][/B] #AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> and restart Apache.
Hi falko. My file is set correctly but still no joys. i get error 500 when i try to access pcspecialist.com.au/catalog/install is there any files you can send to me that are moulded ready to use for ispconfig if so my email address is greg at pcspecialist dot com dot au. thanks .
heres what the error log shows me falko www.pcspecialist.com.au||||1215||||210.211.127.46 - - [08/May/2006:14:36:55 +0930] "GET /catalog/install HTTP/1.1" 500 1215 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" www.pcspecialist.com.au||||343||||210.211.127.46 - - [08/May/2006:15:02:00 +0930] "GET /catalog/install HTTP/1.1" 301 343 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" www.pcspecialist.com.au||||71||||210.211.127.46 - - [08/May/2006:15:02:00 +0930] "GET /catalog/install/ HTTP/1.1" 200 71 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" localhost||||1155||||210.211.246.180 - - [08/May/2006:15:02:04 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" www.pcspecialist.com.au||||71||||210.211.127.46 - - [08/May/2006:15:02:16 +0930] "GET /catalog/install/ HTTP/1.1" 200 71 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" www.pcspecialist.com.au||||71||||210.211.127.46 - - [08/May/2006:15:02:18 +0930] "GET /catalog/install/ HTTP/1.1" 200 71 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" www.pcspecialist.com.au||||71||||210.211.127.46 - - [08/May/2006:15:02:20 +0930] "GET /catalog/install/ HTTP/1.1" 200 71 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" localhost||||1155||||210.211.177.23 - - [08/May/2006:15:06:34 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" localhost||||1155||||210.211.255.29 - - [08/May/2006:15:09:05 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" www.pcspecialist.com.au||||71||||210.211.127.46 - - [08/May/2006:15:12:20 +0930] "GET /osc/install/install.php HTTP/1.1" 200 71 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" www.pcspecialist.com.au||||339||||210.211.127.46 - - [08/May/2006:15:12:29 +0930] "GET /osc/install HTTP/1.1" 301 339 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" www.pcspecialist.com.au||||71||||210.211.127.46 - - [08/May/2006:15:12:29 +0930] "GET /osc/install/ HTTP/1.1" 200 71 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" localhost||||1155||||210.211.246.180 - - [08/May/2006:15:13:13 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" localhost||||1155||||210.211.177.23 - - [08/May/2006:15:22:18 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" localhost||||1155||||210.211.246.180 - - [08/May/2006:15:22:43 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" localhost||||1155||||210.211.177.23 - - [08/May/2006:15:44:54 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" localhost||||1155||||210.211.246.180 - - [08/May/2006:15:46:19 +0930] "GET / HTTP/1.0" 200 1155 "-" "-" localhost||||1155||||210.211.191.52 - - [08/May/2006:15:58:36 +0930] "GET / HTTP/1.0" 200 1155 "-" "-"
That's the access log, not the error log. Check /var/log/apache or /var/log/apache2 or /var/log/httpd for error logs.
Here is the complete error log: [Sun May 07 04:05:49 2006] [notice] Digest: generating secret for digest authentication ... [Sun May 07 04:05:49 2006] [notice] Digest: done [Sun May 07 04:05:52 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Sun May 07 04:05:52 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations [Sun May 07 16:33:57 2006] [error] [client 24.81.234.136] File does not exist: /var/www/sharedip/pk [Sun May 07 21:34:32 2006] [error] [client 210.211.248.119] request failed: error reading the headers [Mon May 08 03:15:49 2006] [error] [client 222.76.213.208] File does not exist: /var/www/sharedip/README [Mon May 08 03:15:50 2006] [error] [client 222.76.213.208] File does not exist: /var/www/sharedip/horde [Mon May 08 03:15:51 2006] [error] [client 222.76.213.208] File does not exist: /var/www/sharedip/horde2 [Mon May 08 03:15:51 2006] [error] [client 222.76.213.208] File does not exist: /var/www/sharedip/horde3 [Mon May 08 03:15:52 2006] [error] [client 222.76.213.208] File does not exist: /var/www/sharedip/horde-3.0.9 [Mon May 08 03:47:59 2006] [error] [client 216.145.14.142] File does not exist: /var/www/sharedip/robots.txt, referer: http://www.whois.sc/ [Mon May 08 10:42:33 2006] [notice] caught SIGTERM, shutting down [Mon May 08 14:08:35 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon May 08 14:08:38 2006] [notice] Digest: generating secret for digest authentication ... [Mon May 08 14:08:38 2006] [notice] Digest: done [Mon May 08 14:08:39 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Mon May 08 14:08:40 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations [Mon May 08 14:36:38 2006] [notice] caught SIGTERM, shutting down [Mon May 08 14:36:41 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon May 08 14:36:44 2006] [notice] Digest: generating secret for digest authentication ... [Mon May 08 14:36:44 2006] [notice] Digest: done [Mon May 08 14:36:46 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Mon May 08 14:36:46 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations [Mon May 08 15:01:49 2006] [notice] caught SIGTERM, shutting down [Mon May 08 15:01:55 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon May 08 15:01:58 2006] [notice] Digest: generating secret for digest authentication ... [Mon May 08 15:01:58 2006] [notice] Digest: done [Mon May 08 15:01:59 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Mon May 08 15:02:00 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations [Mon May 08 15:02:00 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:00 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:16 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:16 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:18 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:18 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:20 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:02:20 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:12:20 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:12:20 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:12:29 2006] [error] an unknown filter was not added: PHP [Mon May 08 15:12:29 2006] [error] an unknown filter was not added: PHP [Mon May 08 16:32:00 2006] [error] [client 24.81.234.136] File does not exist: /var/www/sharedip/pk [Tue May 09 16:37:29 2006] [error] [client 70.70.124.201] File does not exist: /var/www/sharedip/pk
I don't know if you've found the solution yet but, register_globals error can be fixed with register global contribution. hope this helps. (Falko! Love the site by the way!)