Jump to content

Internal server 500 error


Recommended Posts

My website has been replaced with this message

 

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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at shop4utax.co.uk Port 80

I only realised as I wasnt getting the usual traffic. I can access the back office fine, all the info seems to be there. There are no error logs in Prestashop or the admin panel from my host. Any ideas?

 

Server information

 

Server information: Linux #16 SMP Tue May 14 08:12:20 CDT 2013 x86_64

Server software version: Apache

PHP version: 5.2.17

Memory limit: 256M

Max execution time: 30

Database information

 

MySQL version: 5.5.23-55

MySQL engine: InnoDB

Tables prefix: ps_

Store information

 

Prestashop version: 1.5.3.1

Shop URL: http://shop4utax.co.uk/

Current theme in use: default

Mail configuration

 

Mail method: You are using the PHP mail() function.

Your information

 

Your web browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0

AdminInformation.gif Check your configuration

Required parameters: OK

Optional parameters: Please fix the following error(s)

  • register_globals

AdminInformation.gif List of changed files

Changed/missing files have been detected

Missing files (42)

  • .gitignore
  • modules/blocknewsletter/mails/en/index.php
  • modules/blocknewsletter/mails/en/newsletter_conf.html
  • modules/blocknewsletter/mails/en/newsletter_conf.txt
  • modules/blocknewsletter/mails/en/newsletter_verif.html
  • modules/blocknewsletter/mails/en/newsletter_verif.txt
  • modules/blocknewsletter/mails/en/newsletter_voucher.html
  • modules/blocknewsletter/mails/en/newsletter_voucher.txt
  • modules/blockwishlist/mails/en/index.php
  • modules/blockwishlist/mails/en/wishlink.html
  • modules/blockwishlist/mails/en/wishlink.txt
  • modules/blockwishlist/mails/en/wishlist.html
  • modules/blockwishlist/mails/en/wishlist.txt
  • modules/editorial/homepage_logo_1.jpg
  • modules/followup/mails/en/followup_1.html
  • modules/followup/mails/en/followup_1.txt
  • modules/followup/mails/en/followup_2.html
  • modules/followup/mails/en/followup_2.txt
  • modules/followup/mails/en/followup_3.html
  • modules/followup/mails/en/followup_3.txt
  • modules/followup/mails/en/followup_4.html
  • modules/followup/mails/en/followup_4.txt
  • modules/followup/mails/en/index.php
  • modules/mailalerts/mails/en/customer_qty.html
  • modules/mailalerts/mails/en/customer_qty.txt
  • modules/mailalerts/mails/en/index.php
  • modules/mailalerts/mails/en/new_order.html
  • modules/mailalerts/mails/en/new_order.txt
  • modules/mailalerts/mails/en/productcoverage.html
  • modules/mailalerts/mails/en/productcoverage.txt
  • modules/mailalerts/mails/en/productoutofstock.html
  • modules/mailalerts/mails/en/productoutofstock.txt
  • modules/referralprogram/mails/en/index.php
  • modules/referralprogram/mails/en/referralprogram-congratulations.html
  • modules/referralprogram/mails/en/referralprogram-congratulations.txt
  • modules/referralprogram/mails/en/referralprogram-invitation.html
  • modules/referralprogram/mails/en/referralprogram-invitation.txt
  • modules/referralprogram/mails/en/referralprogram-voucher.html
  • modules/referralprogram/mails/en/referralprogram-voucher.txt
  • modules/sendtoafriend/mails/en/index.php
  • modules/sendtoafriend/mails/en/send_to_a_friend.html
  • modules/sendtoafriend/mails/en/send_to_a_friend.txt

Updated files (10)

  • CONTRIBUTORS.md
  • sitemap.xml
  • admin-1364392176/themes/default/template/footer.tpl
  • config/defines.inc.php
  • config/xml/modules_list.xml
  • controllers/admin/AdminImportController.php
  • modules/gsitemap/gsitemap-cron.php
  • modules/gsitemap/gsitemap.php
  • modules/gsitemap/index.php
  • modules/gsitemap/translations/index.php

Link to comment
Share on other sites

You need to upgrade your max_input_time and max_execution_time on for your webspace to 300. 30 seconds are not enough to execute bigger scripts of Prestashop 1.5. and that's why your server is breaking them with an 500 http code. Ask your provider to change both values to 300.

 

Also register_globals should be set to OFF. And also ask if it possible to have an upgrade of php version to 5.3.x

Link to comment
Share on other sites

You need to upgrade your max_input_time and max_execution_time on for your webspace to 300. 30 seconds are not enough to execute bigger scripts of Prestashop 1.5. and that's why your server is breaking them with an 500 http code. Ask your provider to change both values to 300.

 

Also register_globals should be set to OFF. And also ask if it possible to have an upgrade of php version to 5.3.x

 

Can you tell me which files I need to edit to make those changes please?

Link to comment
Share on other sites

You need to access to your cPanel (admin panel) on your server. Please contact your provider for you to make this upgrade. Perhaps it is not possible with the webspace you are running to make own settings.

 

Hi, I do have access to the server and as long as I know where to look should be able to make those adjustments.

Link to comment
Share on other sites

Which step exactly did you before the site crashed ?

 

I added a new category - Acessories, removed a couple of payment options, cheque and cash on delivery as they were affecting my payments page performance. I also added Jirafe and eBay modules. I checked the site and all was running ok, Didnt realise until today that it was down i only checked as I notice there was no traffic.

Link to comment
Share on other sites

Apparently I am not able to change those server settings. That said the site has been up and running without a problem for several months so I cant see how adding another category would have overloaded the server? I have probably less than 500 products and only maybe 100 images. The site didn't have a problem loading before.

Link to comment
Share on other sites

I have tried uninstalling the most recent modules I installed or modified, ie Paypal and Jiraffe. That hasn't worked. I have noticed though that the mobile site is still live. Also I have now deactivated the shop and the maintenance screen appears with the shop header. Does that shed any light on it?

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

  • 3 weeks later...
×
×
  • Create New...