Jump to content

[solved] upgraded 1.6.07 can't access backend


Recommended Posts

I just upgraded to the latest version of Prestashop and when I tried to access the backend I can't. With Firefox and Opera I just get a blank screen with no information at all and with IE I get a 500 error with message 'Site possibly under maintenance'. The front end just shows under maintenance.

My website is www.smartnsexyfashion.com. I need to get to the backend to turn off maintenance.

Link to comment
Share on other sites

I just upgraded to the latest version of Prestashop and when I tried to access the backend I can't. With Firefox and Opera I just get a blank screen with no information at all and with IE I get a 500 error with message 'Site possibly under maintenance'. The front end just shows under maintenance.

My website is www.smartnsexyfashion.com. I need to get to the backend to turn off maintenance.

 

Check if the permissions for directories are set correctly. Are you using cpanel ?  If yes then login to cpanel file manager and set the permissions to 644 for foldees

Link to comment
Share on other sites

Certainly, I will ! But basically, now my problem is that I can't find the file /classes/controller/admincontroller.php and the line where $fields = $class::$definition['fields']; is supposed to be located. Is this because my version of Prestashop is 1.4.8 ?

 

Anyway, I found the message "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/nameofthesite/www/classes/controller/AdminController.php on line 3101"

 

So indeed it looks like the tip would work If I could find where the line is. 

Link to comment
Share on other sites

Certainly, I will ! But basically, now my problem is that I can't find the file /classes/controller/admincontroller.php and the line where $fields = $class::$definition['fields']; is supposed to be located. Is this because my version of Prestashop is 1.4.8 ?

 

Anyway, I found the message "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/nameofthesite/www/classes/controller/AdminController.php on line 3101"

 

So indeed it looks like the tip would work If I could find where the line is. 

 

hi rather than exact line, try looking just for the line code '$fields = $class::$definition['fields'];'

Link to comment
Share on other sites

Dear El Patron, I'm deeply sorry to have talked nonsense ! Obviously I could find the right path, since the upgrade had been done...

So I made the change, and it works !

 

Thank you

 

that awesome!....1.6 is dreamy!...I'm started with ps in 1.4, which I love, and have seen the remarkable progress the PS team has made.  Sure there are some bugs that come out of new major releases and upgrading is not for the faint of heart but with good community we can help each other resolve.  Please visit the forum and help others and share your knowledge.

Link to comment
Share on other sites

From my experience, it is not possible to upgrade PS 1.4. already upgrade from older versions directly and with 1-click module lower PS versions 1.5. directly to PS 1.6.

 

Please use manual upgrade only from database to PS 1.5.

 

See my tutorial here: http://www.prestashop.com/forums/topic/251288-manual-upgrade-guide-ps-12-ps-13-ps-14-upgrade-only-database/?do=findComment&comment=1249657

 

and after you upgraded your store to PS 1.5. you will be able to upgrade to with 1-click module to PS 1.6. without any problems. If you were using an own theme which is not prestashop, please deinstall the theme before you make an upgrade to PS 1.6. This is very important !!

 

Perhaps this could be a help for "OLD" Prestashop users.

Edited by selectshop.at (see edit history)
Link to comment
Share on other sites

Trying to find an answer to this problem I had a look at the backup files and decided to see what was listed in them. My problem was the missing /config folder. When checking one of the backup files I noticed that the contents appeared to be same as the missing config folder so I did the following

1. Create an empty config folder

2. Copy the contents from the backup file into the config folder

3. Ran Prestrashop

Everything is working perfect now so problem solved.

I hope this helps anyone else with the same problem.

Link to comment
Share on other sites

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...