arleren Posted January 30, 2016 Share Posted January 30, 2016 (edited) Hello I have been a trustfull user of Prestashop since 2013 and have been very happy with it, as well as the modules for the system. However, yesterday when i tried to access my admin page i get this page, after typing in the correct information, although i get the same page even if its a wrong email - i dont get the page if it isnt a valid email. So far i have tried: - Deleting smartychache (cache & compile) - Deleting cookies on my computer - Using my phone / different computerI still get the above page. I haven't changed anything, updated or deleted a module in at least a month.Any ideas? Help is very much appreciated! **Solution**My .htaccess file had no php version assigned. Adding the newest version to the file, fixed the problem. Edited February 1, 2016 by arleren (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 In the config folder turn on error reporting edit defines.inc.pgp and change false to true as below. see if it now shows an error. Post that back here and we may be able to help. /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true); } Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 Oh, i forgot to say that i have debugging enabled and i don't get any error message. Thanks for the quick reply! Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 If you have not altered any files in the classes or controllers folder try uploading those again overwriting the existing files and see if you can log in. If not upload the Admin folder again and see if you can log in. What was the last module or customization you may have done. Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 (edited) The last module i have used was a slide on my front page.The last updated, i really dont remember, since i go by a mantra, if it works why update (this might have been bad?)My last backup is at least half a year ago. Will i loose the customer purchases in this time, if i simply upload the admin folder? Edited January 30, 2016 by arleren (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 No this will not effect the BO data as that is all kept in the database. Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 (edited) I have just uploaded the last backup i have of the admin folder, and after i have logged in i get the same frame as before. Then i tried to delete the smartycache with the same results. Edited January 30, 2016 by arleren (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 Upload a fresh copy of Admin, Classes and Controllers these would be the main files that would have to do with BO. Do not use a backup for now if you do not have the unzipped original version download it unzip and use those folder and files. Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 When i access my admin page the url loads with an extension to it: "index.php?controller=AdminLogin&token=a577fd87e20ff2049406b8a2a63d6dc8" I don't remember this always being there. Could this be the cause? Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 Now I get this error report: Fatal error: Interface 'Core_Foundation_Database_EntityInterface' not found in /hsphere/local/home/XXXX/XXXX.com/classes/ObjectModel.php on line 28 Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 So now upload the core folder and see what happens, if this does not work upload your backup and we will look at another option. Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 What is the core folder? Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 It was added to 1.6 a few versions back but is the cause of the error upload it and try again. Link to comment Share on other sites More sharing options...
Rasq Posted January 30, 2016 Share Posted January 30, 2016 The last module i have used was a slide on my front page. The last updated, i really dont remember, since i go by a mantra, if it works why update (this might have been bad?) My last backup is at least half a year ago. Will i loose the customer purchases in this time, if i simply upload the admin folder? Delete your slide module from ftp. Link to comment Share on other sites More sharing options...
arleren Posted January 30, 2016 Author Share Posted January 30, 2016 Its now uploaded, but i get the same error. Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 That was in the nest round if this did not work I am assuming since the shop was working that the module was not the issue. If the core file did not get things going again upload your backup of just the folders you uploaded, Admin, Classes, Controllers and Core. Then we will see whats next. Link to comment Share on other sites More sharing options...
arleren Posted January 31, 2016 Author Share Posted January 31, 2016 Okay, we are back to square one. Any ideas? I'm really out of them. Link to comment Share on other sites More sharing options...
tdr170 Posted January 31, 2016 Share Posted January 31, 2016 What version of prestahsop are you using. Try to install another shop is a sub folder. Then go to the database and export both as backups, now import the datbase from the original store to the new install database. See if you can login to the new install if so test the FO but first go to Preferences, Seo & Urls and change the url to point to the sub folder. Do this abd we wil go from here. Also was the store working after the last install of the slider or did this start after that, if it started after do as suggsted above and go to the modules folder and delete the module, worth a try. Link to comment Share on other sites More sharing options...
arleren Posted January 31, 2016 Author Share Posted January 31, 2016 (edited) I have just tried copying the classes, controllers and admin folder from my last backup, i got the same blank white box, with no error.I still get the "index.php?controller=AdminDashboard&token=b1a147d205ad09c6ab9e57c442feecfc" Could this be the cause? I didnt change anything in two weeks up to now. So i don't suspect it to be the cause. Edited January 31, 2016 by arleren (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted January 31, 2016 Share Posted January 31, 2016 Can you PM me the back office url and login so I can see for my self, also login for FTP so I can see the files. What version is this install. Link to comment Share on other sites More sharing options...
arleren Posted January 31, 2016 Author Share Posted January 31, 2016 (edited) Cant pm you, the login page is: XXXx Edited February 1, 2016 by arleren (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted January 31, 2016 Share Posted January 31, 2016 With out access there is not much I can do, you will have to try what I mentioned above and install a test store. When you uploaded the files from the fresh version what it the same version that you have installed or was it from 1.6.1.4 Link to comment Share on other sites More sharing options...
Nyla C. Posted February 1, 2016 Share Posted February 1, 2016 I had this same issue. What worked for me was replacing everything in my adapter, admin, class, config, controllers, and core folders with the default files from those folders included in a fresh copy of the presta version you are using. Then going into phpadmin and restoring my presta from an SQL backup of when I was last able to log in. After that, I completely cleared my browser cache and was able to log in again. I still don't know what caused the issue or exactly which one of those folders fixed it, but I assumed I had probably accidentally messed up something in one of those folders and that was the only way to resolve my issue. I'm using 1.6.1.4. Hope that helps! Hello I have been a trustfull user of Prestashop since 2013 and have been very happy with it, as well as the modules for the system. However, yesterday when i tried to access my admin page i get this page, after typing in the correct information, although i get the same page even if its a wrong email - i dont get the page if it isnt a valid email. So far i have tried: - Deleting smartychache (cache & compile) - Deleting cookies on my computer - Using my phone / different computerI still get the above page. I haven't changed anything, updated or deleted a module in at least a month.Any ideas? Help is very much appreciated! Link to comment Share on other sites More sharing options...
arleren Posted February 1, 2016 Author Share Posted February 1, 2016 So i have found a solution. I talked to my hosting provider and asked if they had changed anything and explained my problem. They then told me that my .htaccess file didnt have a php version defined - simply adding 5.6 fixed the problem.Thanks everyone for the support! Very much appreciated! Link to comment Share on other sites More sharing options...
tdr170 Posted February 1, 2016 Share Posted February 1, 2016 So explain a little more maybe show what you added in case someone else has the same issue. Interesting that this only started recently, had they upgraded their PHP version/s. Just incase I took a look at my .htaccess file and see nothing that defines the PHP version. ??? Link to comment Share on other sites More sharing options...
Russell Molloy Posted February 16, 2016 Share Posted February 16, 2016 Just to let anyone know, my hosting company deleted the cache folder and I had the exact same problem, after they restored it everything worked fine again 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