Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

[PATCH] Update to non-legacy Google Analytics code

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 03-06-2008, 12:19 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default [PATCH] Update to non-legacy Google Analytics code

UPDATED: Qualiteam has an official patch available, posted here: http://forum.x-cart.com/showthread.php?p=212954#post212954

Removed my post content & patch, as it's no longer needed.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here

Last edited by intel352 : 04-28-2008 at 07:59 PM. Reason: adding file forum ignored
Reply With Quote
  #2  
Old 03-06-2008, 12:32 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Nice work intel352. One little thing... Where is the file? Sorry for taking your time.
__________________
Doms
kube v4.1.9
Reply With Quote
  #3  
Old 03-06-2008, 12:33 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

heh
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 03-06-2008, 12:42 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

grrr, I attached the file, it showed the file as being attached. Forum must've barfed

file is there now.

and you hush Padraic
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #5  
Old 03-06-2008, 05:46 PM
 
AG9V AG9V is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 73
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Hey Jon-

What do you think of this error message?

I tried to install using the patch function and got the following:

Quote:
PATCH RESULTS
SQL PATCH FAILED AT QUERY:
Index: modules/Google_Analytics/init.php ================================================== ================= +++ modules/Google_Analytics/init.php (revision 213) @@ -37,7 +37,7 @@ if ( !defined('XCART_SESSION_START') ) { header("Location: ../../")

I'm on my laptop so i am resolution-challenged and can't get into the diff file easily enough to look at the sql queries...
__________________
X-Cart Gold 4.1.10
XCSEO Pro 1.1.7
IIS 7 / Windows 2008
PHP Version 5.2.6
MySQL Version 5.0.51a
Reply With Quote
  #6  
Old 03-06-2008, 05:49 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Hi AG9V, looks like it's reading the patchfile incorrectly. is your server Windows or Linux?

Additionally, if you'd like, contact me, I'll help you figure it out
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #7  
Old 03-06-2008, 05:54 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Quote:
Originally Posted by AG9V
I'm on my laptop so i am resolution-challenged and can't get into the diff file easily enough to look at the sql queries...

there's no sql queries involved, just an unusual error message
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #8  
Old 03-06-2008, 05:55 PM
 
AG9V AG9V is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 73
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Server is Linux.. Red Hat Fedora.. I dont have any more detailed version info than that though...

Thanks for the quick comeback!
__________________
X-Cart Gold 4.1.10
XCSEO Pro 1.1.7
IIS 7 / Windows 2008
PHP Version 5.2.6
MySQL Version 5.0.51a
Reply With Quote
  #9  
Old 03-06-2008, 06:25 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

oh, wait. you applied it via the SQL Patch area. This is a PHP/TPL patch file.

I was wondering why you mentioned queries and why the error mentioned queries. HA.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #10  
Old 03-06-2008, 06:31 PM
 
AG9V AG9V is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 73
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Ah dammit.... I'm a moron... scrolled right past it... Duh
__________________
X-Cart Gold 4.1.10
XCSEO Pro 1.1.7
IIS 7 / Windows 2008
PHP Version 5.2.6
MySQL Version 5.0.51a
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:58 PM.

   

 
X-Cart forums © 2001-2020