Jump to content

SOLVED:Fatal Error when updating Google Analytics Module


Recommended Posts

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.

 

post-868505-0-98765800-1417864880_thumb.png

Edited by Alimay (see edit history)
Link to comment
Share on other sites

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

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));
  • Like 1
Link to comment
Share on other sites

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

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

Hi, are you sure that the issue is related to google analytics? :blink:

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

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?

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

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

×
×
  • Create New...