This object is in archive! 
Error while Upgrading from 1.1 to 2.0.1: Manual Update to Fatal error: Method Upgrade::__toString()
I'm trying to do a manual update of my useresponse installation from version 1.1 to 2.0.1.
I have copied all the files from the zip file to my server and can load the main page.
But when i try to do step 2 of the manual update instructions (call page server/upgrade), i get the following error:
Manual Update to Fatal error: Method Upgrade::__toString() must not throw an exception in ... \upgrade\index.php on line 90
Can you please help me resolve this issue?
The rest of the site seems to work normally. Under administration its shows the version 2.0.1.
Could you please clarify if you run upgrade script or just uploaded files and that's it?
Also, try clean cache in /cache folder and make it writable and only then run /upgrade
If it won't help, please send ftp details and admin credentials to support(at)useresponse.com for us to take a look
Could you please clarify if you run upgrade script or just uploaded files and that's it?
Also, try clean cache in /cache folder and make it writable and only then run /upgrade
If it won't help, please send ftp details and admin credentials to support(at)useresponse.com for us to take a look
Hi Stas,
the error shows when calling upgrade script after copying files.
I have debugged it a little further. The error comes from class Upgrade.getNextVersion() and is now:
Could not determine temp directory, please specify a cache_dir manually
The cache directory exists and is writable.
Hi Stas,
the error shows when calling upgrade script after copying files.
I have debugged it a little further. The error comes from class Upgrade.getNextVersion() and is now:
Could not determine temp directory, please specify a cache_dir manually
The cache directory exists and is writable.
Ok, i got it. The directory /temp was missing.
Ok, i got it. The directory /temp was missing.
Temp directory is not required in 2.0.1 release, as we replaced it with sessions located in /application and /cache
Let me know if you still have problems
Temp directory is not required in 2.0.1 release, as we replaced it with sessions located in /application and /cache
Let me know if you still have problems
Hi Stas, but in file upgrade/index.php on line 15 i can read this:
$_ENV['TMPDIR'] = ROOT_PATH . DS . 'temp';
Hi Stas, but in file upgrade/index.php on line 15 i can read this:
$_ENV['TMPDIR'] = ROOT_PATH . DS . 'temp';
This is done in case tmp directory is not set in PHP config, so it redefines temp directory - a little fix that we integrated in 2.0 release
This is done in case tmp directory is not set in PHP config, so it redefines temp directory - a little fix that we integrated in 2.0 release
Replies have been locked on this page!