Jump to content

AH01630: client denied by server configuration, images aren't there? Regenerate images not working


lucifer_1

Recommended Posts

[Fri Nov 11 10:46:57.068860 2022] [authz_core:error] [pid 15465:tid 140087924774656] [client 34.23.188.69:59150] AH01630: client denied by server configuration: /home/u18441p60194/domains/#myshop#.nl/public_html/img/p/6/9/1/3
[Fri Nov 11 10:48:28.498327 2022] [authz_core:error] [pid 32920:tid 140087933167360] [client 20.12.191.73:56512] AH01630: client denied by server configuration: /home/u18441p60194/domains/#myshop#.nl/public_html/img/p/2/8/0/2, referer: https://#myshop#.nl/2802-large_default
[Fri Nov 11 10:52:39.661685 2022] [authz_core:error] [pid 27515:tid 139762102748928] [client 66.249.66.40:59662] AH01630: client denied by server configuration: /home/u18441p60194/domains/#myshop#.nl/public_html/img/p/1/1/9/4/3
[Fri Nov 11 10:53:47.409092 2022] [authz_core:error] [pid 34434:tid 139762035607296] [client 66.249.66.40:53345] AH01630: client denied by server configuration: /home/u18441p60194/domains/#myshop#.nl/public_html/img/p/8/5/4/8
[Fri Nov 11 10:59:58.464893 2022] [authz_core:error] [pid 27862:tid 139762388100864] [client 40.86.101.166:26752] AH01630: client denied by server configuration: /home/u18441p60194/domains/#myshop#.nl/public_html/img/p/1/8/1, referer: http://#myshop#.nl/1811-home_default

 

I got these errors on my log. I googled a lot about it, but found different solutions. But, when i tried to look at the image, for example the img/p/6/9/1/3, there is no folder that called 3.

So that is the problem. Then i remembered that i once (few weeks ago) tried to regerenate images. But it failed many times. Also my hosting provider couldn't help me. The max exection time was already set for very long. But with 7000 products, it took to long and it failed.

That is why i think some images are missing (although, i didn't found missing images, but i haven't seen every product of the 7000 i think on front end).

How can i regerenate those images manually? Without using the BO?

Link to comment
Share on other sites

Quote

img/p/6/9/1/3, there is no folder that called 3

If ther isn't folder 3 that means there is no base image so you cant regenerate thumbnails for this image. In thta case you must add this image manually or remowe this record from database and add again in BO.

In standard you can regenerate thumbnails in BO, if you reach max execution time all you have to do is refresh page and regenerate again until all images will be created. Ofcourse don't forget to switch option to not delet existing images, also in web you can find few free solution to regenerate images like https://github.com/meetjey/imageRegeneratorPrestashop or https://boutique.comonsoft.com/gb/free-prestashop-modules/27-regeneration-of-prestashop-images.html

  • Like 1
Link to comment
Share on other sites

On 11/14/2022 at 6:30 PM, endriu107 said:

If ther isn't folder 3 that means there is no base image so you cant regenerate thumbnails for this image. In thta case you must add this image manually or remowe this record from database and add again in BO.

In standard you can regenerate thumbnails in BO, if you reach max execution time all you have to do is refresh page and regenerate again until all images will be created. Ofcourse don't forget to switch option to not delet existing images, also in web you can find few free solution to regenerate images like https://github.com/meetjey/imageRegeneratorPrestashop or https://boutique.comonsoft.com/gb/free-prestashop-modules/27-regeneration-of-prestashop-images.html

Thank you, i will take a look at your solution.

But what you say isn't true, because all our 5000+ products has working images. The problem is, i don't know which products need to be removed/renewed manually :(

Edited by lucifer_1 (see edit history)
Link to comment
Share on other sites

Update: i did run the imageRegeneratorPrestashop, and it says it was succesfull.

But i still get this errors:
 

[Wed Nov 16 16:18:51.573632 2022] [authz_core:error] [pid 32896:tid 140056668731136] [client 66.249.66.40:55950] AH01630: client denied by server configuration: /home/u18441p60194/domains/##website##.nl/public_html/img/p/9/5/3/1

[Wed Nov 16 16:21:34.824547 2022] [authz_core:error] [pid 45212:tid 140165401941760] [client 66.249.66.40:55936] AH01630: client denied by server configuration: /home/u18441p60194/domains/##website##.nl/public_html/img/p/4/6/8/5

 

Link to comment
Share on other sites

Sometimes, it only shows the map /img. As just now:

[Thu Nov 17 09:11:14.681429 2022] [authz_core:error] [pid 6467:tid 139790590445312] [client 94.157.249.102:50713] AH01630: client denied by server configuration: /home/u18441p60194/domains/##website##.nl/public_html/img/, referer: https://##website##.nl/admin4/index.php/sell/catalog/products/6272?_token=6lhy8yeRVMRzT4Qb080SEAylxoSt69hcTMyTnsH65hA

[Thu Nov 17 09:11:14.843635 2022] [authz_core:error] [pid 6467:tid 139790900975360] [client 94.157.249.102:50713] AH01630: client denied by server configuration: /home/u18441p60194/domains/##website##.nl/public_html/img/, referer: https://h##website##.nl/admin466xcxrge/index.php/sell/catalog/products/6272?_token=6lhy8yeRVMRzT4Qb080SEAylxoSt69hcTMyTnsH65hA

I don't know if they mean that the 6272 is the product ID, but when i look at the product, front and back, the image is perfectly working.
This product was also ordered yesterday. The small BO image of this product worked perfect. The category image and the big image on frontend work perfect.

Link to comment
Share on other sites

  • 1 month later...

Hello,

I have the same problème, Google bot search images who do not exist any more an this is slows down my website,

I have got hundreds of errors and no way to find out to witch product they belong .. with more than 6000 products online ...

 

[Fri Jan 13 13:07:03.954015 2023] [authz_core:error] [pid 17794:tid 140711592625920] [client 66.249.66.20:21512] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/8/8/0/5
[Fri Jan 13 13:08:16.406421 2023] [authz_core:error] [pid 17794:tid 140711743694592] [client 66.249.66.20:34048] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/7/6/6/9
[Fri Jan 13 13:08:31.724876 2023] [authz_core:error] [pid 17794:tid 140711483520768] [client 66.249.66.194:6424] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/4/0/3/9/8/2
[Fri Jan 13 13:08:45.807345 2023] [authz_core:error] [pid 17794:tid 140711743694592] [client 66.249.66.89:45112] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/0/5/0/6
[Fri Jan 13 13:09:10.245623 2023] [authz_core:error] [pid 17794:tid 140711567447808] [client 66.249.66.157:6424] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/4/0/1/7/9/9
[Fri Jan 13 13:09:19.033262 2023] [authz_core:error] [pid 17794:tid 140711366022912] [client 66.249.66.157:51516] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/0/1/8/1
[Fri Jan 13 13:09:26.681150 2023] [authz_core:error] [pid 17794:tid 140711424771840] [client 66.249.66.157:6424] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/5/1/4/8
[Fri Jan 13 13:09:44.973125 2023] [authz_core:error] [pid 17794:tid 140711634589440] [client 66.249.66.194:6140] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/5/1/4/5
[Fri Jan 13 13:09:47.177719 2023] [authz_core:error] [pid 17794:tid 140711866861312] [client 66.249.66.89:6424] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/9/0/8/3
[Fri Jan 13 13:09:51.383843 2023] [authz_core:error] [pid 17794:tid 140711626196736] [client 66.249.66.194:6424] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/8/1/5/4
[Fri Jan 13 13:09:52.297902 2023] [authz_core:error] [pid 17794:tid 140711349237504] [client 66.249.66.157:6140] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/7/6/1/1
[Fri Jan 13 13:10:01.843520 2023] [authz_core:error] [pid 17794:tid 140711525484288] [client 66.249.66.194:6140] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/0/0/6/6
[Fri Jan 13 13:10:03.536517 2023] [authz_core:error] [pid 17794:tid 140711533876992] [client 66.249.66.50:6424] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/7/6/5/4
[Fri Jan 13 13:10:03.741339 2023] [authz_core:error] [pid 17794:tid 140711609411328] [client 66.249.66.50:6140] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/5/0/6/8
[Fri Jan 13 13:10:14.664141 2023] [authz_core:error] [pid 17794:tid 140711315666688] [client 66.249.66.20:61206] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/1/1/4/9
[Fri Jan 13 13:10:34.088027 2023] [authz_core:error] [pid 17794:tid 140711567447808] [client 66.249.66.194:32442] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/0/0/3/9
[Fri Jan 13 13:11:24.366117 2023] [authz_core:error] [pid 17794:tid 140711307273984] [client 66.249.66.89:34332] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/0/2/8/7
[Fri Jan 13 13:12:04.158773 2023] [authz_core:error] [pid 17794:tid 140711743694592] [client 66.249.66.22:34332] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/5/0/4/4
[Fri Jan 13 13:12:30.683035 2023] [authz_core:error] [pid 17794:tid 140711391201024] [client 66.249.66.20:12540] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/9/3/3/6/6
[Fri Jan 13 13:12:56.329086 2023] [authz_core:error] [pid 17794:tid 140711668160256] [client 66.249.66.89:35352] AH01630: client denied by server configuration: /srv/data/web/vhosts/www.mysite.fr/htdocs/img/p/3/8/3/1/4/5

 

If any on have a good idea ?

Thanks Ronald

Link to comment
Share on other sites

it trun out there is no proble with your server config,

it will prevent from guest visit these folders ,

forbidden /www.mysite.fr/htdocs/img/p/3/8/3/1/4/5 

allow vist /www.mysite.fr/htdocs/img/p/3/8/3/1/4/5.xxx.jpg or other media files

 

usually this visitor is not normal ,he is a hacker maybe

Edited by irder shopping (see edit history)
Link to comment
Share on other sites

  • 3 months later...

No hackers. This error caused by big brain of PS developers :) 
What happens .... Google try access to deleted or changed image in your store and no success, because no image with ID...

For good reason, the presta should return a 404 code, because the image file is no more exists. But the smartest developers came up with a beep

# Apache 2.4
<IfModule mod_authz_core.c>
    <Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico)$">
        Require all granted
    </Files>
    Require all denied
</IfModule>

in to img/.htaccess directory

To solve this issue just comment Require all denied directive
 

#Require all denied

and google will see 404 instead 403.

one more recommendation:
if you have access to virtualhost config, check directory directives. never follow the advice from PS docs like:

    <Directory /path/to/prestashop>
        # enable the .htaccess rewrites
        AllowOverride All
        Options +Indexes
        Require all granted

this is wrong way. Your config should be like:
 

    <Directory /path/to/prestashop>
        # enable the .htaccess rewrites
        Options FollowSymLinks
        AllowOverride All
        Require all granted

Good luck

Link to comment
Share on other sites

  • 1 month later...

Dear Sirs , The Shop in question seems to work fine , but just for a curiosity i open server log and i always get this error:

AH01630: client denied by server configuration: /home/rulmen.com/img/pr, referer: https://www.rulmen

.com/adminfolder/index.php?controller=AdminDashboard&token=ee8deca4e186db367d916a72bb08ead1

i was really surprised even because i checked on img folder and i have not any subfolder denominated pr ,

i really appreciate a a tips for this strange issue .... Prestashop version : 1.7.8.9 , php version 7.4

 

Thanks in advance

 

Link to comment
Share on other sites

13 hours ago, Maurice said:

Dear Sirs , The Shop in question seems to work fine , but just for a curiosity i open server log and i always get this error:

AH01630: client denied by server configuration: /home/rulmen.com/img/pr, referer: https://www.rulmen

.com/adminfolder/index.php?controller=AdminDashboard&token=ee8deca4e186db367d916a72bb08ead1

i was really surprised even because i checked on img folder and i have not any subfolder denominated pr ,

i really appreciate a a tips for this strange issue .... Prestashop version : 1.7.8.9 , php version 7.4

 

Thanks in advance

 

 

Check time when error is writes in log. If this cause at moment when you access to adminfolder, then this request initiated by some module or another script in your store.

Check the modules and  admin modules hooks. if you have phpmyadmin access? you can easy search for string '/home/rulmen.com/img/pr' in your DB, this maybe shows you module name or config value if stored in DB. If no success with DB, you can batch search by sting '/home/rulmen.com/img/pr',   or 'img/pr' in store files...

It is also possible that this request from some malware script in your files.

Edited by metacreo (see edit history)
  • Like 1
Link to comment
Share on other sites

4 ore fa, metacreo dice:

 

Check time when error is writes in log. If this cause at moment when you access to adminfolder, then this request initiated by some module or another script in your store.

Check the modules and  admin modules hooks. if you have phpmyadmin access? you can easy search for string '/home/rulmen.com/img/pr' in your DB, this maybe shows you module name or config value if stored in DB. If no success with DB, you can batch search by sting '/home/rulmen.com/img/pr',   or 'img/pr' in store files...

It is also possible that this request from some malware script in your files.

Dear Metacredo , thanks for your answer , i will now try to search the string directly in db and i hope that i will find solution in Db , because

as you wrote i really now think that i have a malware script , because i get another strange issue on shop despite work fine i chanched from php 7.4 to php 7.4 cgi

and i get internal error in backoffice only , in frontoffice work fine.

I found the img/pr in db on table ps_pagenotfound

Edited by Maurice (see edit history)
Link to comment
Share on other sites

Hi i now finished to do as follow:

Search  in the shop files , 0 traces , i try to search the string even in database , two traces found in ps_pagenotfound , obvioulsy already truncate

the mistery is that the log give me same problem.

Kindly ask if you could have a suggestion concern a malware script , and if you can suggest to me some tool.
thanks

Edited by Maurice (see edit history)
Link to comment
Share on other sites

On 6/6/2023 at 6:20 AM, metacreo dice:

Try to find request via browser dev tools. I use mozilla firefox. Press F12, click console tab, check XHR, Request, Error options are enabled. Then access BO. Inspect requests in console output.

img.thumb.jpg.16752b2243c7f84bf02fd224663bdacd.jpg

Dear MetaCreo , thanks in advance for you kindly response and sorry for delay , i did not try yet your kindly suggestion because i m out of the city

at the moment i have solved in this mode:

Renamed img folder with default image folder prestashop and error do not appear anymore , but as you understand i m not happy because this it mean that i have not solved

the issue so i would understand what is the real problem and i will try your solution with original folder Img , as i have to discover why shop give internal error in backoffice

with php 7.4 cgi (not with normal php) , i mean only in backoffice despite i renamed even var folder

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...