Problem with images

I have a problem with images. System is uploading images but it is not showing them. Shop is 4.5.9 version. Images are properly named. Permission for images is 777.

I had a look in all help documents and forum, but I cannot find any mistake.

Pleas help

thank you

Slava

a link to the shop could be helpful

Does it show the pictures in the browser, if you point to them directly?

Thank you very much for your immediate answer.

I just checked, it is not showing the picture in the browser, but through FTP I can see them.
Have you any idea?

[QUOTE=Slava;122162]Thank you very much for your immediate answer.

I just checked, it is not showing the picture in the browser, but through FTP I can see them.
Have you any idea?[/QUOTE]

What’s the HTTP status code when you try to access the image via the browser? 500, 403 or 404? Maybe your .htaccess rules causes the problems.

Link to my shop: http://www.belladerm.at/online_shop/

Status is 404

[QUOTE=Slava;122166]Status is 404[/QUOTE]

No, it’s not. It’s 500! http://www.belladerm.at/online_shop/out/pictures/generated/product/1/250_200_80/pedesin-desinfektionsmittel-72dpi(1).jpg

Please check the paths in your .htaccess file.

the path is RewriteBase /online_shop

It should be correct.

May you help me further?

What about this part:


RewriteCond %{REQUEST_URI} (\/out\/pictures\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.jpe?g|\.gif|\.png)$ core/utils/getimg.php

Is the file accessable or does it throw php errors? You should check your php/apache error logs.

This part of code is the same in my .htaccess

apache error log: error_log no value no value

What it should be here as a value?

Please use google to find a manual how to turn on error logging in your system environment… Maybe this can help you… http://stackoverflow.com/a/3576664

I am not really in knowledge in this part, but as much as I know log error should be unchecked and so it is by me. On link you were sending to me, I am reading the same:

“The default behaviour is for error_log() to output to the Apache error log. If this isn’t happening check your php.ini settings for the error_log directive - leave it unset to use the Apache log file for the current vhost.”

I don’t really know your system but on most UNIX systems log files are located in /var/logs/ (see attachment) but they can also be located under e.g. /var/www/websites/belladerm.at/logs/ or something like this…

Dear Kai,
It is not clear to me what shell I do with log errors. As I have already said, my knowledge is not big in this part. May you tell me what shell I do exactly?

Dear Slava,
I am not able to tell you what you shall do exactly because I don’t know what’s the problem. When the server returns an error 500 normally there is something wrong with the .htacces but in some configuration cases the server also returns an error 500 when there is a php error. So it depends on your server configuration. Can you provide ftp or ssh access?