Jump to content

Tried to update didn't work - Reverted back now have issues


Recommended Posts

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

when you got any blank page, first thing to try to set "display_error" to "on" in file /config/config.inc.php
to see if there is any error displayed. You can find out the cause from errors

I 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

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

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

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

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

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

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

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

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

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

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

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

×
×
  • Create New...