jchi Posted May 20, 2004 Posted May 20, 2004 Hi, I have a problem that bothers me. Some images on some pages are blank. Others are normal can cen be seen. If I view these blank images then I got the error below. >Internal Server Error >The server encountered an internal error or misconfiguration and was unable to complete your request. I check the file permissions. They seem fne. I wonder why this happens. http://24.100.167.201/store/catalog/ Thanks :ph34r:
chrisstylez Posted May 20, 2004 Posted May 20, 2004 hmmm maybe you should check the settings in your configure.php file, from my experience sometimes this can be cuased by one of the following: define('HTTP_SERVER', 'http://yourdomain.com'); define('HTTPS_SERVER', 'http://yourdomain.com'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', 'http://yourdomain.com'); so try setting them all the same and see if that helps
jchi Posted May 21, 2004 Author Posted May 21, 2004 I have tried your suggestions but it does not help. It was working several days ago. I think it broke after I changes .htaccess file for the admin directory. But it should have nothing to do with the .htaccess file.
vasttech Posted May 21, 2004 Posted May 21, 2004 what did you change in htaccess? osCommerce Knowledge Base osCommerce Documentation Contributions
nrlatsha Posted May 21, 2004 Posted May 21, 2004 Normally, problems that crop up after you change something, are caused by the change. If thats the only thing you changed, logically that would be the problem. 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
jchi Posted May 21, 2004 Author Posted May 21, 2004 I use htpasswd to create a password file named .htpasswd, and I change the .htaccess but this file is only used when admin/ directory is accessed. It should has nothing to do with the problem described. in this case, /catalog/index.php is accessed. Very Strange! * I added the commands into the .htaccess file in the admin directory AuthName "Secure site" AuthType Basic AuthUserFile "E:/public_html/store/catalog/admin/.htpasswd" <LIMIT GET> require user jchi </LIMIT> *
Recommended Posts
Archived
This topic is now archived and is closed to further replies.