rossdavidh Posted September 12, 2009 Share Posted September 12, 2009 Hello,I tried to upgrade to 1.2.2, but encountered problems (no css showing up, back office giving just errors, and so on). No problem, I copied all my old (version 1.1) code back. It was late and I was not thinking clearly, so I just checked that the site came up correctly and didn't do a test order.Oops. Over a day later we find out that no one can put anything in the shopping cart. So...good thing I backed up the database as well, so I restore the database.However, while the front side of the website works fine now, and most of the back office, if we click on either the "Modules" or "Payment" tabs, we get this error:Fatal error: Declaration of StatsCarrier::getData() must be compatible with that of ModuleGraph::getData() in [path to prestashop]/prestashop/modules/statscarrier/statscarrier.php on line 88Well, in statscarrier.php line 88 is the closing }, and anyway I don't know where ModuleGraph::getData is. I'm also a bit confused as to how I could restore the code AND the database and still be having problems. The only thing I can think of is that any tables which were added by the 1.2.2 install might still be there; the .sql file which I used for the restore dropped each table before restoring it but if there were any new tables they would not have been removed. I don't see how that would impact what's in two different parts of the code, though.Any ideas? I would like to upgrade to the new new version (1.2.3), but first need to get back to a fully functional website, front and back. Any help is appreciated. Link to comment Share on other sites More sharing options...
tosd Posted September 14, 2009 Share Posted September 14, 2009 I have exactly the same problem. Tried to upgrade to 1.2.3 - had to abort (there really are problems there) - restored complete file structure for previous version including database (this was done via a cPanel restore).Everything seemed to work correctly until I discovered this error in admin.Any help very welcome! Link to comment Share on other sites More sharing options...
clockworkgeek Posted September 14, 2009 Share Posted September 14, 2009 I too had this problem today. I resolved it by deleting the modules/statscarrier/ folder and then had to do the same for some other modules like statssearch and statsnewsletter.Restoring a backup only replaces the original files and does not remove newer files. You should be able to see the newer files and folders have a more recent date than the originals from version 1.1. There are several other newer modules but they don't seem to conflict in the same way. Link to comment Share on other sites More sharing options...
rossdavidh Posted September 14, 2009 Author Share Posted September 14, 2009 That worked, thanks!Guess I'll hold off a while on the update. Thanks again very much for the help on this issue. Link to comment Share on other sites More sharing options...
tosd Posted September 14, 2009 Share Posted September 14, 2009 Thanks ClockWorkGeek, that resolved my issue as well. I removed all the modules with the pre-existing date. In my case they were: canonicalurl, folllowup, paypalapi, statsbestsuppliers, statscarrier, statsnewsletter, statssearch and trackingfront.I presume these modules came in via the aborted attempt to do the 1.2.3 upgrade. 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