Alimay Posted December 6, 2014 Share Posted December 6, 2014 (edited) Hi My shop has gone down and cannot get hold of my developer. I went to update the Google Analytics module v2.1 under Analystics and Stats and now I get the following error - can anybody walk me through how to fix this please. I am very new to this and don't know where to go to even begin solving this The module comes up with this error [PrestaShop] Fatal error in module ganalytics:syntax error, unexpected ';', expecting ')' How do I undo the update for this module All help greatly received. I managed to get hold of my developer who fixed my mistake. Unfortunately I cannot share how he did it as I do not know. Edited December 6, 2014 by Alimay (see edit history) Link to comment Share on other sites More sharing options...
kizmac Posted December 6, 2014 Share Posted December 6, 2014 Solution: in Modules/Ganalytics/ganalytics.php go to line 628. After last ) before ; add another ) 5 Link to comment Share on other sites More sharing options...
asood28 Posted December 6, 2014 Share Posted December 6, 2014 Hi My shop has gone down and cannot get hold of my developer. I went to update the Google Analytics module v2.1 under Analystics and Stats and now I get the following error - can anybody walk me through how to fix this please. I am very new to this and don't know where to go to even begin solving this The module comes up with this error [PrestaShop] Fatal error in module ganalytics: syntax error, unexpected ';', expecting ')' How do I undo the update for this module All help greatly received. I managed to get hold of my developer who fixed my mistake. Unfortunately I cannot share how he did it as I do not know. Even i am facing the same problem What is the solution? Link to comment Share on other sites More sharing options...
Ovidiu H Posted December 6, 2014 Share Posted December 6, 2014 Thank you Kizmac, you solved my problem. Thank you very much. I have add ) like you told end now my front office and my back office are showing fine. Before the website and the back office return a blank white page. 628 'qty' => (int)Tools::getValue('qty', 1)); 1 Link to comment Share on other sites More sharing options...
Antakarana Posted December 6, 2014 Share Posted December 6, 2014 (edited) Solution: in Modules/Ganalytics/ganalytics.php go to line 628. After last ) before ; add another ) That fixed the problem for my site! Thanks! Edited December 6, 2014 by Antakarana (see edit history) Link to comment Share on other sites More sharing options...
Yanddros Posted December 6, 2014 Share Posted December 6, 2014 (edited) Solution: in Modules/Ganalytics/ganalytics.php go to line 628. After last ) before ; add another ) Thank you Kizmac, you solved my problem. Edited December 6, 2014 by Yanddros (see edit history) Link to comment Share on other sites More sharing options...
laurapessoa Posted December 6, 2014 Share Posted December 6, 2014 Solution: in Modules/Ganalytics/ganalytics.php go to line 628. After last ) before ; add another ) Thank you very much! Now it works perfectly. Link to comment Share on other sites More sharing options...
El Patron Posted December 6, 2014 Share Posted December 6, 2014 if you read this and it's not clear how to fix also see this post: http://www.prestashop.com/forums/topic/386003-ganalytics-module-crash-after-update/ 1 Link to comment Share on other sites More sharing options...
Marťas Posted December 6, 2014 Share Posted December 6, 2014 Solution: in Modules/Ganalytics/ganalytics.php go to line 628. After last ) before ; add another ) uf!! Simple correction, thx Link to comment Share on other sites More sharing options...
Porter Ricks Posted December 6, 2014 Share Posted December 6, 2014 Puuh, thx! Link to comment Share on other sites More sharing options...
ingedorthe Posted December 7, 2014 Share Posted December 7, 2014 How do I reach the Modules/Ganalytics/ganalytics.php? I still cannot reach my developer and having been Down for more than a day, I am becoming desperate. Link to comment Share on other sites More sharing options...
Antakarana Posted December 7, 2014 Share Posted December 7, 2014 Hi, Im not sure if all this issues has something to be with this google analytics strange behaviour: http://www.prestashop.com/forums/topic/386444-google-analytics-issues/?do=findComment&comment=1891421 Link to comment Share on other sites More sharing options...
Ovidiu H Posted December 7, 2014 Share Posted December 7, 2014 How do I reach the Modules/Ganalytics/ganalytics.php? I still cannot reach my developer and having been Down for more than a day, I am becoming desperate. Hi Ingedorthe! You need to log in your cPanel, go to file manage , find the Modules folder for you site, find the Ganalytics folder, find then the ganalytics.php file and open it in the code editor. Than you need to find the line 628 and make the modification there. 628 'qty' => (int)Tools::getValue('qty', 1)); I hope it helps. Nice day! Link to comment Share on other sites More sharing options...
ingedorthe Posted December 7, 2014 Share Posted December 7, 2014 it showet up that I did NOT have the administration codes on the webhotel - where the fix should be done. But the webmaster has solved the problem now. Thx it showet up that I did NOT have the administration codes on the webhotel - where the fix should be done. But the webmaster has solved the problem now. Thx it showet up that I did NOT have the administration codes on the webhotel - where the fix should be done. But the webmaster has solved the problem now. Thx Link to comment Share on other sites More sharing options...
mir-aus Posted December 9, 2014 Share Posted December 9, 2014 Hi, I have another problem with ganalytics ver 2.0.2 . if product have any crater like this " | " , item can not add to the cart! any suggestion? Link to comment Share on other sites More sharing options...
Antakarana Posted December 9, 2014 Share Posted December 9, 2014 Hi, I have another problem with ganalytics ver 2.0.2 . if product have any crater like this " | " , item can not add to the cart! any suggestion? Hi, are you sure that the issue is related to google analytics? Link to comment Share on other sites More sharing options...
mir-aus Posted December 10, 2014 Share Posted December 10, 2014 Hi, are you sure that the issue is related to google analytics? 100% sure. when I use 1.8.2 no problem at all : when i check the error, problem is wit the coding of new JS in update error is: Impossible to add the product to the cart. textStatus: 'error' errorThrown: 'Internal Server Error' responseText: Link to comment Share on other sites More sharing options...
Antakarana Posted December 10, 2014 Share Posted December 10, 2014 100% sure. when I use 1.8.2 no problem at all : when i check the error, problem is wit the coding of new JS in update error is: Impossible to add the product to the cart. textStatus: 'error' errorThrown: 'Internal Server Error' responseText: Have you tried to roll back and use a previous versión of the module to check if that solved the problem? 1 Link to comment Share on other sites More sharing options...
mir-aus Posted December 13, 2014 Share Posted December 13, 2014 Have you tried to roll back and use a previous versión of the module to check if that solved the problem? Yes, I just Roll back it and woks ok, but with the new one I have same problem Link to comment Share on other sites More sharing options...
yapliren Posted January 6, 2015 Share Posted January 6, 2015 Hi, I have another problem with ganalytics ver 2.0.2 . if product have any crater like this " | " , item can not add to the cart! any suggestion? I am facing this issue too! Prestashop Analytics version 2.0.4 any product reference with " | " , it will show error before adding to cart. Impossible to add the product to the cart. textStatus: 'error' errorThrown: 'Internal Server Error' responseText: Link to comment Share on other sites More sharing options...
Antakarana Posted January 9, 2015 Share Posted January 9, 2015 Hi! There's a new update for the google analytics module... anybody has tried it? I've fixed my issues sometime ago and I'm not sure if I should update it.... Link to comment Share on other sites More sharing options...
Recommended Posts