cebegebees Posted November 20, 2018 Share Posted November 20, 2018 (edited) Hi, I am not able to log into the back office of my prestashop site but the front office is working fine. It was getting slower to log in and has now stalled completely. The last time I was able to log in was Friday 16th November. I read on various posts about waiting for the server to right itself but this isn't happening. I tried changing the line on the /classes/tools.php file, renaming the class_index file and deleting xml files as this disables the modules updating which might slow the site down but this didn't make any difference. My web host says they haven't made any changes to my server and I hadn't made any changes to my prestashop site. The log file in my shopadmin folder is not showing any errors. Does anyone have any idea how I can get into the back office as I can't even process any orders that are coming in? Thanking you in advance for any advice. Cormac Edited November 20, 2018 by cebegebees typing error (see edit history) Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 The first step is turning on debug to see what kind of messages/errors you get. If you can't acces you dashboard you can enable debug through FTP by accessing config/defines.inc.php and find: define('_PS_MODE_DEV_', false); change it to: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
cebegebees Posted November 20, 2018 Author Share Posted November 20, 2018 Ok, I have done that. Where can I view the error log. Sorry, I'm not a developer, just self taught working things out as I go along Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 just try to log in in your backoffice, and also watch your frontoffice. Usually you get error messages Link to comment Share on other sites More sharing options...
cebegebees Posted November 20, 2018 Author Share Posted November 20, 2018 No, I don't get any new error messages. just the usual message I get after it tries to log in Gateway Timeout The gateway did not receive a timely response from the upstream server or application. Additionally, a 504 Gateway Timeout error was encountered while trying to use an ErrorDocument to handle the request. Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 Can you send me your website url? You can also do that by PM. Maybe something can be seen at the front Link to comment Share on other sites More sharing options...
cebegebees Posted November 20, 2018 Author Share Posted November 20, 2018 I checked my error log on the hosting site and found this error [20-Nov-2018 21:26:45 Europe/Dublin] PHP Notice: ob_flush(): failed to flush buffer. No buffer to flush in /home2/kokodesi/public_html/shop2/modules/cronjobs/cronjobs.php on line 283 Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 What you can do is disabling this module by ftp Just rename that module to _cronjobs Link to comment Share on other sites More sharing options...
cebegebees Posted November 20, 2018 Author Share Posted November 20, 2018 so do I rename the whole cronjobs folder to _cronjobs or just the php file? Link to comment Share on other sites More sharing options...
joseantgv Posted November 20, 2018 Share Posted November 20, 2018 Apply this patch https://github.com/PrestaShop/PrestaShop/compare/1.7.4.x...jocel1:disable-api-addons-calls Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 no only the module: public_html/shop2/modules/_cronjobs Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 1 minute ago, joseantgv said: Apply this patch https://github.com/PrestaShop/PrestaShop/compare/1.7.4.x...jocel1:disable-api-addons-calls cebegebees is using 1.6 first problem what needs to be solved is accessing his backoffice. After that its an idea to disable the api calls Link to comment Share on other sites More sharing options...
cebegebees Posted November 20, 2018 Author Share Posted November 20, 2018 8 minutes ago, Curious said: no only the module: public_html/shop2/modules/_cronjobs No, that didn't work. I still can't login to the back office. Still get the 504 Gateway error and the error log now has this [20-Nov-2018 21:57:07 UTC] PHP Fatal error: Call to undefined function request_filesystem_credentials() in /home2/kokodesi/public_html/blog/wp-admin/includes/class-wp-upgrader-skin.php on line 93 That may be to do with a link to a blog on the homepage of the shop Link to comment Share on other sites More sharing options...
cebegebees Posted November 20, 2018 Author Share Posted November 20, 2018 14 minutes ago, joseantgv said: Apply this patch https://github.com/PrestaShop/PrestaShop/compare/1.7.4.x...jocel1:disable-api-addons-calls I am using 1.6.1.19 and not sure how to apply that patch Link to comment Share on other sites More sharing options...
ecommerce16 Posted November 20, 2018 Share Posted November 20, 2018 thatone is for 1.7 There is also one for 1.6. Maybe @joseantgv can give the link. You will have to change the files(delete the red marked lines, and add the green marked lines) Not sure if it will help, but yo can try. Maybe also some other users can help. Link to comment Share on other sites More sharing options...
cebegebees Posted November 21, 2018 Author Share Posted November 21, 2018 I renamed the gamification module and got into the back office. Thanks for your help Curious and Joseantgv Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now