You are here:  » I broke jump.php!


I broke jump.php!

Submitted by shabbysheep on Mon, 2017-02-13 14:05 in

Hi David,

I attempted to change jump.php so that clicks are recorded in GA using a recent subject post. BUT I have broken something - I now receive "{link saved} is currently unable to handle this request. HTTP ERROR 500" when clicking through. I have changed "$ssga = new ssga( 'UA-MY-GA-ID-1', 'mydomain.xx' );" is there anything else to change to suit my setup? I haven't set up goals with GA yet.

PS: Thanks for the recent footer advice, that is working well now.

The code used is:

{code saved}

Submitted by support on Tue, 2017-02-14 08:24

Hi,

When a 500 error occurs browsing to a PHP script that normally indicates that a fatal error has occurred and that you are using CGI/FastCGI implementation of PHP (which means that the actual PHP error doesn't make it through to the front end).

One fatal error reason is an include file not found, so I checked your site and the 3rd party "ss-ga.class.php" script required to implement this is not in place (404 when I checked browsing to includes/ss-ga.class.php) so that should be all it is...

Cheers,
David.
--
PriceTapestry.com

Submitted by shabbysheep on Tue, 2017-02-14 10:33

It's a good job you are my Sherpa on this adventure David, otherwise I will be completely lost! ;-) I will addthe script and report back.