Jump to content

Server 500 error


Mat

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

Link to comment
Share on other sites

  • 4 weeks later...

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!)

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