Jump to content

[SOLVED] Blank page after accidentally moving "controllers" folder


Recommended Posts

Well, first of all, sorry for wasting your time for a stupid mistake on my part. I was navigating to a CSS folder in Filezilla and I accidentally dragged and dropped the "controllers" folder into the "CSS" folder. I didn't realize it at first, but when I tried reloading my page, I was greeted with a blank page. I quickly looked in Filezilla's history and noticed the mistake. I moved the folder back, but still nothing. I activated the error reporting, so here's what it says: 

 

Fatal error: Class 'IndexController' not found in /home/rkam3050/public_html/classes/controller/Controller.php on line 128

 

For the admin page it says this: 

 

Fatal error: Class 'AdminHomeController' not found in /home/rkam3050/public_html/classes/controller/Controller.php on line 128

 

Thanks...

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

hello

make sure that you upload files with correct names, unix system is CaseSensitive :)

Ok, but I didn't upload anything. I just moved the folder back to its default location - public_html/controllers. Also, can someone confirm that that is indeed the default location? :) 

Link to comment
Share on other sites

So I installed a test prestashop and played around until I found a solution: delete the class_index.php file inside the /cache folder. I backed it up first, of course, and everything seems to be fine... A new one was auto-generated. Now, if someone can tell me if there's any problem in deleting that file, I'll be very grateful. :) 

  • Like 1
Link to comment
Share on other sites

  • 6 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...