Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot upload images over 126kb


johnnymacsoldier

Recommended Posts

I'm having an issue with adding images when I'm setting up a new product. When I try to add an image that's over 126kb it gives me a server error

 

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4 Server at xxxxxxxx.ie Port 80

 

 

I have contacted my hosting provider and the upload limit on the server is set at 20mb. If I upload an 126kb image then there's no problem but try it at 127kb and the error appears. There was a recent upgrade by the hosting provider to Apache 5.3 which correlated with the error appearing.

Does anyone know if there an file upload limit in oscommerce if so, can you change it. Or is this a server side issue if so, what should ask the hosting provider (remember I have already got them to increase the upload limits to 20mb)

Thank you for your help

Link to comment
Share on other sites

Managed to get this sorted out it was a server side issue...see their email below

 

"Thank you for your email. Your request was being blocked by our server's mod_security, I have disabled the rule as it was being incorrectly flagged as potentially dangerous."

 

All is well now I can upload away to my hearts content :)

Link to comment
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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