jackbeanoffendsyou Posted April 29, 2014 Share Posted April 29, 2014 This morning, my site was working fine, now suddenly, it has an error; 500 Internal Server Error The page cannot be displayed. This displays when I try to log into the back office too, so I'm helpless. Why did this suddenly happen? (I didn't change anything) How can I sort it asap without my back office? It's really urgent! Thanks in advance. The site is www.offendmyeyes.co.uk Link to comment Share on other sites More sharing options...
El Patron Posted April 29, 2014 Share Posted April 29, 2014 please turn on errors, if you need help doing so: http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ I visited the shop, didn't look around much but I did not receive any error. 1 Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted April 30, 2014 Author Share Posted April 30, 2014 It resolved itself around 30 minutes after it started, so I presumed it to be nothing. however it just happened again now. I am not doing anything on the site, (the only reason I know it is down is because I get monitoring reports) Why is this happening? Thanks, One thing, could it be my host? And if so, how do I resolve it? Link to comment Share on other sites More sharing options...
Whispar1 Posted April 30, 2014 Share Posted April 30, 2014 This article may help you with troublshooting. http://www.prestashop.com/blog/en/the-500-internal-server-error-explained-solved/ Link to comment Share on other sites More sharing options...
El Patron Posted April 30, 2014 Share Posted April 30, 2014 if you can not get error message as suggest above ,then another suggestion is to review your error log which can typically be found in your hosting account control panel. without the underlying reason for 500, then there is little one can do. Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted April 30, 2014 Author Share Posted April 30, 2014 (edited) if you can not get error message as suggest above ,then another suggestion is to review your error log which can typically be found in your hosting account control panel. without the underlying reason for 500, then there is little one can do. Thanks for this, I logged into my control panel and found the error logs. I clicked on it and here is what it says; [Wed Apr 30 17:06:27 2014] [error] [client 98.197.166.191] File does not exist: /home/offen174/public_html/favicon.ico My favicon is the little ico image right? What does this have to do with anything? Thanks to all replies! Edited April 30, 2014 by jackbeanoffendsyou (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted April 30, 2014 Share Posted April 30, 2014 Thanks for this, I logged into my control panel and found the error logs. I clicked on it and here is what it says; [Wed Apr 30 17:06:27 2014] [error] [client 98.197.166.191] File does not exist: /home/offen174/public_html/favicon.ico My favicon is the little ice image right? What does this have to do with anything? Thanks to all replies! this would not be the information related to the 500 error. At this point I suggest contacting your hosting company to see if they can find the underlying error related to the 500 error. Note: you would need to have errors enabled either at ps or php.ini level. 1 Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted April 30, 2014 Author Share Posted April 30, 2014 this would not be the information related to the 500 error. At this point I suggest contacting your hosting company to see if they can find the underlying error related to the 500 error. Note: you would need to have errors enabled either at ps or php.ini level. Well I just tried to access the host's website (Hostpapa) and it says it is down for essential maintenance - could this be affecting my site? Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2014 Share Posted April 30, 2014 i think that this is only apache error log, not php in my opinion your website has got disabled error reporting related to php/server side due to the safery purposes. Well I just tried to access the host's website (Hostpapa) and it says it is down for essential maintenance - could this be affecting my site? yes, but to be honest, only your hoster knows that so it's wworth to ask your hoster about: - possibility to check php error log 2 Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted April 30, 2014 Author Share Posted April 30, 2014 i think that this is only apache error log, not php in my opinion your website has got disabled error reporting related to php/server side due to the safery purposes. I'm sorry, I'm not sure what that means! Perhaps you would be so kind as to explain for me, and may I ask how I can fix it? Link to comment Share on other sites More sharing options...
Whispar1 Posted April 30, 2014 Share Posted April 30, 2014 (edited) Your hosting company should have more tools available to them to see what is causing the error. As Vekia and El Patron mentioned - It is worth a call to them and ask about this because it could be a number of issues, some that they can only fix, especially in a shared hosting environment. Edited April 30, 2014 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted April 30, 2014 Author Share Posted April 30, 2014 Ok, I shall call them and check. I appreciate all your help. It is now back up and running! But it could happen again, so I should sort it out now. Thanks! 1 Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted May 9, 2014 Author Share Posted May 9, 2014 I emailed my host, and they said this; We recommend that you optimize the website / database because to much script consumption could result to a 500error. Please ensure that the codes in the .htacccess are valid.If you see files or folders with permission levels set to 777, they need to bechanged to 755. Likewise, if you see files or folders with permission levels setto 666, they need to be changed to 644.To change a file or folder’s permission, click the item to select it and thenclick the “Change Permissions” icon (the one with the key) in the row acrossthe top of the page. In the pop-up window, uncheck boxes until you see the totalat the bottom of the window equal the required permission level. Please can someone help me to check what they said? I am a newbie to prestashop and so this all means nothing to me! I really appreciate the help. Link to comment Share on other sites More sharing options...
jackbeanoffendsyou Posted May 9, 2014 Author Share Posted May 9, 2014 by the way, this is still happening every now and again, for around 30 minutes at a time. It's a mystery to me what is causing it! Link to comment Share on other sites More sharing options...
Whispar1 Posted May 9, 2014 Share Posted May 9, 2014 (edited) What your host sent you is their standard response - typical https://hostpapasupport.com/index.php?/Knowledgebase/Article/View/1112/0/issue-phplist-returning-a-500-internal-server-error-after-installation I am assuming you can make these changes in your host's ftp program or file manager since they state: To change a file or folder’s permission, click the item to select it and then click the “Change Permissions” icon (the one with the key) in the row acrossthe top of the page. In the pop-up window, uncheck boxes until you see the totalat the bottom of the window equal the required permission level. Here is a post from this forum that offers a list of which folders need which permissions: http://www.prestashop.com/forums/topic/60420-is-setting-chmod-to-777-dangerous/?do=findComment&comment=1526656 Also check your php.ini and look at your memory limits. Mine are below - your host may have their own memory limits so you will need to ask them this. max_execution_time = 10000 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 1024M ; Maximum amount of memory a script may consume (32MB) suhosin.get.max_vars = 10000; suhosin.post.max_vars = 10000; max_input_vars = 6000; Edited May 9, 2014 by Whispar1 (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 i bet on this We recommend that you optimize the website / database because to much script consumption could result to a 500error. Please ensure that the codes in the .htacccess are valid. do you know something more about restrictions on your hosting account? how many connectections it accepts? youv'e got some restrictions related for example to number of queries per minute? hour? etc.? Link to comment Share on other sites More sharing options...
Recommended Posts