Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image not displayed on the pages


jchi

Recommended Posts

Posted

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:

Posted

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

Posted

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.

Posted

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...

Posted

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>

*

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...