The requested page 'getimg.php/' couldn't be found

I have struck another issue, (perhaps left over from the drama pack install) and that is when I upload an image and go to preview it I get the message:

“The requested page ‘getimg.php/’ couldn’t be found.”

Is this a know issue and if so what is the fix please?

I forgot to add in my .htaccess file information:

In case you want to add a .htpasswd authentification

you’ll have to add the host of the shop as an allowed entity,

so that calls from the host skip the authentification

Example:

Order Deny,Allow

Deny from All

AuthType Basic

AuthName “Access not allowed”

AuthUserFile path_to_htpasswd_file/.htpasswd

Require valid-user

Allow from localhost

Satisfy Any

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI}     config\.inc\.php [NC]
RewriteRule ^config\.inc\.php  index\.php       [R=301,L]

RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

RewriteCond %{REQUEST_URI} oxseo\.php$
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc|\.svg)$ %{REQUEST_URI}/ [R=301,L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php


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

RewriteRule ^(vendor/) - [F,L,NC]

shop might have no write permissions for images directory, so it can’t save the files.
You need to search in out/pictures/master/ and out/pictures/generated/ directories for uploaded images to check if they really exist,
e.g.: out/pictures/generated/product/1/185_150_100/kitefix_self-adhesive_dacron_1.jpg

Thanks for your suggestions.

[ol]
[li]1
[/li][/ol]Shop might have no write permissions for images directory, so it can’t save the files.

I have checked this and all the files have user write permissions and for good measure I have enabled user ‘Execute’ however all in vain .

[ol]
[li]2
[/li][/ol]I have verified that “/public_html/out/pictures/master/product/1/kitefix_self-adhesive_dacron_1.jpg” is there and has permissions 744

Any thing else?

Grustige :slight_smile:

You get that behaviour if getimg.php is missing in your shop root folder.

Yes, but the file is located in the root folder however it doesn’t look right. Attached is a copy of the code.

if it does not look right, you can compare it to the original file from oxid zip archive or github.
but for me it looks okay

I compared it with the latest zip file that I downloaded and they are the same

Hi NHWS,
I am faceing the same problem. how you fixed this?
Thanks in advance!