jose_rui_sa Posted September 2, 2013 Share Posted September 2, 2013 HI, Ive installed a new version of PS and now when I try to checkout im getting a blank page... Ive activated the LOG and getting this... The blackadvertise probably works.... Problem is Order.PHP Warning: Function addCSS() is deprecated in /home/joserui/public_html/modules/blockadvertmulti/blockadvertmulti.php on line 314in /home/joserui/public_html/classes/Tools.php on line 1845Parse error: syntax error, unexpected '{', expecting T_FUNCTION in /home/joserui/public_html/override/classes/order/Order.php on line 6 Link to comment Share on other sites More sharing options...
jose_rui_sa Posted September 3, 2013 Author Share Posted September 3, 2013 about the blockadvertmulti.php is not causing the problem.. Link to comment Share on other sites More sharing options...
El Patron Posted September 3, 2013 Share Posted September 3, 2013 it would appear that you have a bad override/classes/order/Order.php file can you attach that file to your post? Link to comment Share on other sites More sharing options...
jose_rui_sa Posted September 3, 2013 Author Share Posted September 3, 2013 thanks check the attach Order.php Link to comment Share on other sites More sharing options...
El Patron Posted September 3, 2013 Share Posted September 3, 2013 looks like you loaded a module that has a bad override. delete the link in red below and that should fix 'this' problem. you just have loaded a module that add a payment fee of some sort. http://screencast.com/t/pPM9CB98o note the problem will return if you uninstall/install that module again, you would need to find the module and change the file there as well Link to comment Share on other sites More sharing options...
jose_rui_sa Posted September 4, 2013 Author Share Posted September 4, 2013 (edited) well I think that module add some files to DB... because unistall and installing as you say keeps the error change the file there? what file? order.php? with what values? Ive installed a module paypal fee... but error happening I want to put paypal "original" working again, but some "code" from paypal fee keeps showing when installing paypal original... "now I opened a help ticket on paypal fee module seller" Edited September 4, 2013 by jose_rui_sa (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 4, 2013 Share Posted September 4, 2013 you would (using for example ftp) locate the module in modules/modulename there you should find the file modulename/override/classes/order/Order.php you can then edit the order.php file so that when you uninstall and re-install that the corrected code is constructed. Link to comment Share on other sites More sharing options...
jose_rui_sa Posted September 4, 2013 Author Share Posted September 4, 2013 can you upload a clean order.php? or the code to compare... Link to comment Share on other sites More sharing options...
El Patron Posted September 4, 2013 Share Posted September 4, 2013 can you upload a clean order.php? or the code to compare... you don't need a clean one, you need or the developer needs to fix the order.php override file in the module. Link to comment Share on other sites More sharing options...
jose_rui_sa Posted September 4, 2013 Author Share Posted September 4, 2013 yes i know... like i said the developer already knows this issue and is probably working on this... for now I wanna put the paypal "original" module working, but like I said copy the modules folder the paypal module dont works check the attach. Im still getting files or in DB or somewhere from older paypal. Fo unistall I just disable the module and delete it... But if I login by ftp the module keeps there, I delete it, and installing the new fresh paypal... still the "wrong data" from older... And now if I try to open http://saeletronica.com/admin1238/ Im getting the error...Parse error: syntax error, unexpected '{', expecting T_FUNCTION in /home/joserui/public_html/override/classes/order/Order.php on line 6 If I use this link (with token) I can login.... http://saeletronica.com/admin1238/index.php?controller=AdminMaintenance&token=c30a9575d07313754d73e3073c11be Link to comment Share on other sites More sharing options...
El Patron Posted September 4, 2013 Share Posted September 4, 2013 if you uninstalled this paypal fee module, then it should have removed the override. anyway..not sure what you have done exactly but as for your question about accessing the back office, you can simply delete using ftp override/classes/order/Order.php Link to comment Share on other sites More sharing options...
Recommended Posts