Hurstt85 Posted June 4, 2011 Share Posted June 4, 2011 Hello - -I tried to update today to 1.4.2, but had a lot of issues.I reverted back to 1.3 when everything was working and now I have issues.The back office is working fine (except the modules page) but the front end for every page is just blank.Any suggestions? I've tried everything I could to fix it.Thanks!! Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 when you got any blank page, first thing to try to set "display_error" to "on" in file /config/config.inc.phpto see if there is any error displayed. You can find out the cause from errorsI am also wondering how do you restore to 1.3x. The best way is to restore it from a backup which you should have created before upgrade. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 Ok I just changed the settings in the config.inc.php file and reloaded my page. Still have the blank screen.In regards to the second part - Before I installed the new version, I downloaded all of the files from my server to my computer. I transferred some of the files over to the new version such as mails, modules, etc. So to restore I just deleted the new version and all of the files from the server and replaced them with the ones I had downloaded earlier.I can attach files for you to view if that would help, just let me know what you need. Thank you for your help! Link to comment Share on other sites More sharing options...
charlie123 Posted June 5, 2011 Share Posted June 5, 2011 Did you restore database as well, or files only? Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 as charlie123 mentioned, once you upgraded your store, the database structure is changed.if you want to restore to previous one, you also have to restore the database, not just the files.(Hope you have a backup of database before upgrade) Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 I did create a DB backup and saved it to my desktop. The database is still entact via my service provider as well. When I restored to the older version I made sure all of the settings from the database were correct. Is that all I need to do or is there another step?Thank You! Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 If you have restored all files to old version and also restored database to old version, then it should work.Just in case, make sure all folders/files permission are not changed during backup/restore.Because some time the permissions are changed by FTP client tool or server. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 I just made all of the permissions for every file set to 777 with no avail. And actually now I can't access the back office :-( (This is the error from back office: "The server encountered an unexpected condition which prevented it from fulfilling the request.The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log." )I have a feeling that there is a file missing for when I transferred everything back and forth but I have no clue what it is.Is there a way for you to look at it maybe to see? Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 for permissions, I think 755 for folders and 644 for files should be enough.if you can post your URL here or PM me yous site admin, I can have a look, Make sure you have set "display_errors" to "on" in config.inc.php file. Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 I am not able to log in with the email address you provide, it say employee does not exists.I checked your site, if I append the index.php to the URL you give me, it will return an 0 (0 displayed).I guess it could be your restore was not successful. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 Ok, try logging in again.Yeah I just don't know what files I am missing :-( Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 it seems that your admin site works fine.you can try to redo the restore to see if you can fix the problem.It seems the index.php file is not good. You can try to copy from original file from PrestaShop package. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 I replaced the index.php file with the new one and this is the error that pops up when I try to view my site: “Warning: require_once(/hermes/bosweb/web194/b1940/nf.laingsburgpolice/public_html/spartangrouptactical.com/config/../classes/ControllerFactory.php) [function.require-once]: failed to open stream: No such file or directory in /hermes/bosweb/web194/b1940/nf.laingsburgpolice/public_html/spartangrouptactical.com/config/config.inc.php on line 18 Fatal error: require_once() [function.require]: Failed opening required ‘/hermes/bosweb/web194/b1940/nf.laingsburgpolice/public_html/spartangrouptactical.com/config/../classes/ControllerFactory.php’ (include_path=’.:/usr/local/lib/php-5.2.17/lib/php’) in /hermes/bosweb/web194/b1940/nf.laingsburgpolice/public_html/spartangrouptactical.com/config/config.inc.php on line 18” Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 I moved the ControllerFactory.php file over to the classes directory on the server. Now I get this error:"Fatal error: Class 'ControllerFactory' not found in /hermes/bosweb/web194/b1940/nf.laingsburgpolice/public_html/spartangrouptactical.com/index.php on line 29" Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 from message, it seems that you are still running 1.4xbecause in 1.3sx, there is no the controller classes.now here is my suggestion.Physically delete all files from your store folder then restore your backup. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 lol that's the problem. The files I have are the ones I'm using..... It wouldn't change anything.... Theres got to be a file missing from somewhere but I don't know which one.What would cause the modules page on the back office not to work? Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 I am confused, are you using 1.3x or 1.4x?I assumed you are using 1.3x based on our conversation.if it is 1.3x, there should be no ControllerFactory class file.so you still on 1.4x. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 I am using 1.3x sorry. I reverted my index.php file to the 1.3x version.. I took out the controllerfactory.php file out of the classes directory.Do you know where I can find the stock one for index.php 1.3x version? Link to comment Share on other sites More sharing options...
shokinro Posted June 5, 2011 Share Posted June 5, 2011 maybe not just one was left. my guess is that there many files left there. not even just classes folder, some other folder the same.so my best suggestion is to delete all files first then restore from your 1.3x backup. Link to comment Share on other sites More sharing options...
Hurstt85 Posted June 5, 2011 Author Share Posted June 5, 2011 Well I would but all of the files that are currently being used are the ones I have from version 1.3x... I used the backup to restore back to from 1.4x. Link to comment Share on other sites More sharing options...
Recommended Posts