CandleCavalry Posted August 26, 2012 Share Posted August 26, 2012 After successful autoupgrade from 1.8.4.2 to 1.9.0 Final Everything seems to be working properly except for module positions LiveEdit feature. page returns "Fatal Error" anyone else getting this? Link to comment Share on other sites More sharing options...
oka Posted August 26, 2012 Share Posted August 26, 2012 (edited) Me too. 'Fatal Error' and Apache's log shows nothing regards. PD: i did a manual upgrade, autoupgrade module gives me a technical md5 error. Edited August 26, 2012 by oka (see edit history) Link to comment Share on other sites More sharing options...
lukeandjackold Posted August 26, 2012 Share Posted August 26, 2012 Me too. Autoupgraded to 1.4.9. Custom module not displaying properly so tried to run Live Edit - Fatal error. Link to comment Share on other sites More sharing options...
indus Posted August 27, 2012 Share Posted August 27, 2012 (edited) http://forge.prestas...owse/PSCFI-1090 Check this old bug. Same problem here with upgrade. Edited August 27, 2012 by indus (see edit history) Link to comment Share on other sites More sharing options...
lukeandjackold Posted August 27, 2012 Share Posted August 27, 2012 Also found that tax is not being calculated in back office too. I think I'll do a roll back Link to comment Share on other sites More sharing options...
lucarobo Posted August 29, 2012 Share Posted August 29, 2012 (edited) After successful autoupgrade from 1.8.4.2 to 1.9.0 Final Everything seems to be working properly except for module positions LiveEdit feature. page returns "Fatal Error" anyone else getting this? To fixe it open FrontController.php (classes/FrontController.php) in //live edit if (Tools::isSubmit('live_edit') && $ad = Tools::getValue('ad') && Tools::getValue('liveToken') == sha1(Tools::getValue('ad').COOKIE_KEY)) if (!is_dir(PS_ROOT_DIR.DIRECTORY_SEPARATOR.$ad)) die(Tools::displayError()); replace die(Tools::displayError()); with $cookie->live_edit = true; AND Always in (classes/frontcontroller.php) replace Tools::addJS(array(PS_JS_DIR.'jquery/jquery.min.js', PS_JS_DIR.'jquery/jquery.easing.1.3.js',PS_JS_DIR.'tools.js')); with Tools::addJS(array(PS_JS_DIR.'jquery/jquery-1.4.4.min.js', PS_JS_DIR.'jquery/jquery.easing.1.3.js',PS_JS_DIR.'tools.js')); it should work! ) Edited August 29, 2012 by lucarobo (see edit history) 1 Link to comment Share on other sites More sharing options...
boeneo Posted September 2, 2012 Share Posted September 2, 2012 It's work.. thanks... Link to comment Share on other sites More sharing options...
boeneo Posted September 2, 2012 Share Posted September 2, 2012 can open live edit, but can't edit the module... does anyone know why? Link to comment Share on other sites More sharing options...
DevidSp Posted September 11, 2012 Share Posted September 11, 2012 I've also had the same problem upgrading to version 1.4.9.0 replace Tools::addJS(array(PS_JS_DIR.'jquery/jquery.min.js', PS_JS_DIR.'jquery/jquery.easing.1.3.js',PS_JS_DIR.'tools.js')); with Tools::addJS(array(_PS_JS_DIR_.'jquery/jquery-1.4.4.min.js', _PS_JS_DIR_.'jquery/jquery.easing.1.3.js', _PS_JS_DIR_.'tools.js')); Not Tools::addJS(array(PS_JS_DIR.'jquery/jquery-1.4.4.min.js', PS_JS_DIR.'jquery/jquery.easing.1.3.js',PS_JS_DIR.'tools.js')); Link to comment Share on other sites More sharing options...
boeneo Posted September 13, 2012 Share Posted September 13, 2012 It's work, thanks, devid Link to comment Share on other sites More sharing options...
Dead Posted September 13, 2012 Share Posted September 13, 2012 official fix is replacing "&&" with "AND" in if (Tools::isSubmit('live_edit') && $ad = Tools::getValue('ad') && Tools::getValue('liveToken') == sha1(Tools::getValue('ad').COOKIE_KEY)) this line. and nothing else. (taken from svn and works for me) Link to comment Share on other sites More sharing options...
Mister Denial Posted September 13, 2012 Share Posted September 13, 2012 @ Dead: so basically you're saying the official fix is to change the line to look like this: if (Tools::isSubmit('live_edit') and $ad = Tools::getValue('ad') and Tools::getValue('liveToken') == sha1(Tools::getValue('ad')._COOKIE_KEY_)) I tried, but I still get the Fatal Error message. Link to comment Share on other sites More sharing options...
indus Posted September 13, 2012 Share Posted September 13, 2012 I just copy pasted the old front controller file to the newer one. Link to comment Share on other sites More sharing options...
Dead Posted September 14, 2012 Share Posted September 14, 2012 well try AND instead of and not sure if this will work, but at least works for me. also if you can, update your php and apache versions (if you have access to console) - this depends on where you hosting this. Link to comment Share on other sites More sharing options...
racemaniac Posted September 29, 2012 Share Posted September 29, 2012 It's work.. thanks... Worked with me 2 Link to comment Share on other sites More sharing options...
Mister Denial Posted September 29, 2012 Share Posted September 29, 2012 Tried the "AND" fix, did not work for me. However, uploading the old FrontController file from my 1.4.6.2 installation did work. Link to comment Share on other sites More sharing options...
pel024 Posted September 29, 2012 Share Posted September 29, 2012 ... However, uploading the old FrontController file from my 1.4.6.2 installation did work. This worked for me Link to comment Share on other sites More sharing options...
pel024 Posted October 1, 2012 Share Posted October 1, 2012 The latest svn version now works 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