Jump to content
Mat

Server 500 error

Recommended Posts

Hey All,

Right, I've been running several PrestaShops successfully and am now working with my first client.

All was going well, however, I started getting an Error 500 Issue when trying to upload the ods file of products.

The initial report to my supplier was:

Quote

Everytime i import products (whether 10, 1 or 4800) i am getting a server 500 error. i've checked the error logs and this appears (it's happned twice now between 1530 and 1606) the last error was at 1606.

 

hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/7 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/3 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/2 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/6 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/4 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/2 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/5 hopeblossoms.co.uk [Tue Sep 17 15:51:39 2019] [error] [client 95.147.80.213:0] AH01630: client denied by server configuration: /home/sites/9a/2/209f66e36e/public_html/img/p/8 The logs are odd in the fact that there seems to be a 15 minute time window on the server and my clock (which is automatically set by the Mac (Mojave)) even if it was the first error i encounted this afternoon, the time stamp will be 15 minutes fast (rather than slow). I have run a check on the file permissions and there seems to be errors showing there. but are your reccomendations the same as the ones required by presta shop? Any ideas would be appreciated.

They got back to me and whittled it down to the following:

Quote

Thanks for the reply. I've checked and tested this and suspected that this would be .htaccess related because of the following rules:

# Apache 2.2 <IfModule !mod_authz_core.c> Order deny allow Deny from all </IfModule>

# Apache 2.4 <IfModule mod_authz_core.c> Require all denied </IfModule>

 

But the error still occurs: I'm not sure why the call to this directory is made /home/sites/9a/2/209f66e36e/public_html/vendor/phpunit as this doesn't appear to exist.

 

My Supplier provides one click installs and as you see they are at a loss. I have never come across PHPUNIT before, my instinct is this is something that is created when they create the oneclick install. But insights on this would be great (and very much appreciated)

 

Mat

Share this post


Link to post
Share on other sites

Finally! I have got to the bottom of it! PrestaShop 1.7.6 does not like uploading .odt and .ods files. I changed my save to .xls it works perfectly. Seems like a massive bug to me!

Also .csv is not regocnised by the import structure. (it will not seperate it properly!)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More