Latest News: (loading..)
equilla

Support Thread for Supertracker Contribution

689 posts in this topic

Hi guys, I'm getting a MySQL error when a customer visits the site and their location contains an apostrophe, such as:

 

 

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ka Oblast'', 'Kharkov', '', '','/','/index.php','2012-02-23 11:36:33','2012-02-2' at line 1

 

INSERT INTO `supertracker` (`ip_address`, `browser_string`, `country_code`, `country_name`, `country_region`, `country_city`, `referrer`,`referrer_query_string`,`landing_page`,`exit_page`,`time_arrived`,`last_click`,`browser`) VALUES ('193.178.250.242','Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11','ua', 'Ukraine', 'Kharkivs'ka Oblast'', 'Kharkov', '', '','/','/index.php','2012-02-23 11:36:33','2012-02-23 11:36:33','Safari')

 

[TEP STOP]

 

Has anyone got a solution? Thanks.

Share this post


Link to post
Share on other sites

@@JoshBowe

I am sorry to bother you, please let me know how do I start a Post.

 

I have an installation question for Supertracker but I don't know where to post the question:

 

On Step 1 of installation instruction:

 

UPLOAD the "catalog" folder to the corresponding folders:

1) catalog/images/st_no_image.jpg

2) catalog/supertracker_setup_db.php

3) catalog/includes/classes/supertracker.php

4) catalog/includes/geoip.inc

5) catalog/includes/geoipregionvars.php

 

6) admin/supertracker.php <-- is this a typo?

On my isntallation of oscommerce_2.3.1. I don't have www.mysite.com/admin/ but I have www.mysite.com/catalog/admin/

Should it be: catalog/admin/supertracker.php ?

 

7) catalog/admin/includes/languages/english/supertracker.php

8) catalog/admin/includes/languages/espanol/supertracker.php

9) catalog/admin/includes/languages/french/supertracker.php

10) catalog/admin/includes/languages/german/supertracker.php

 

11) admin/images/geo_flags/flags <-- is this a typo?

Same question here?

 

I would appreciate very much if you can help.

 

Regards,

 

spc456

Share this post


Link to post
Share on other sites

/catalog/ is just a typo. It should be uploaded to /admin/ as you assumed. The second one with the flag images is not a typo though.

Share this post


Link to post
Share on other sites

Hi @@DunWeb,

 

I have installed this contribution http://addons.oscommerce.com/info/3924/v,22 which is submitted by raiwa.

 

But still I am getting Fatal error:

 

Fatal error: Call to a member function add_current_page() on a non-object in D:\xampp\htdocs\temposc\catalog\includes\application_top.php on line 312

 

I have made every changes mention in New_installation_OSC_2.2 file except CRE loaded.

 

 

Kindly expecting support from you.

 

 

Regards,

 

Mohammed

Share this post


Link to post
Share on other sites

Hi @@DunWeb

 

I am getting these following errors (including warning and Fatal errors.):

 

Warning: fopen(includes/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 322

 

Warning: ftell() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 276

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 277

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 279

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 303

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 311

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Warning: fseek() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 394

 

Warning: fread() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 396

 

Fatal error: error traversing database - perhaps it is corrupt? in D:\xampp\htdocs\temposc\catalog\includes\geoip.inc on line 416

 

 

Regards,

 

Mohammed

Share this post


Link to post
Share on other sites

@@mdusamaansari

 

The Supertracker contribution was NOT written for CRE loaded installations. CRE is not supported on this forum. I suggest you refer to the CRE forum for support.

 

 

 

 

Chris

Share this post


Link to post
Share on other sites

Hi @@DunWeb

 

I need a contribution which gives information like, number of users(with usernames) who viewed and bought a particular product.

 

This contribution will be helpful to create need of a particular product, so that store keeper may keep stock of that particular product.

 

Kindly do suggest me any contribution and addons for this issue.

 

 

Regards,

 

Mohammed

Share this post


Link to post
Share on other sites

@@mdusamaansari

 

I don't believe there is any such contribution currently available. You would have to create it (or have it created for you). Also, as previously stated, this is not the support forum for CRE so you are best to check on their forum for contribution support.

 

 

Chris

Share this post


Link to post
Share on other sites

@@mdusamaansari

 

I am not requesting support for CRE, I am just requesting support for osCommer V2.2RC2

 

I understand. However, there isn't much that can be suggested about RC2 because you are using the CRE loaded version which differs from osCommerce. Any contribution you may find on this website will more than likely not function without modifications to work with CRE. Furthermore, any new custom contribution that you may require would not function with CRE unless specifically created for CRE.

 

 

 

Chris

Share this post


Link to post
Share on other sites

Thank you for a great contribution,

 

I have a small issue, there is not link in admin I have to type supertracker.php in admin for it to load?

 

Any idea?

 

Cheers

Share this post


Link to post
Share on other sites

I can not find this line '<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>');

 

in catalog/admin/includes/boxes/reports.php

Share this post


Link to post
Share on other sites

I can not find this line '<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>');

 

in catalog/admin/includes/boxes/reports.php

 

@@pederb

 

I am having the same problem, I cannot find that line.

Also the front end of the shopping cart is just a blank page :wacko:

 

Any help would be much appreciated by anyone!

Share this post


Link to post
Share on other sites

I've just started having problems with Supertracker with the following error message when I view the catalog side of the website (admin works fine). Other users from different regions can view the catalog with no problems

 

I presume it's something to do with the apostophe in "Cotes d'Azur" but I don't know where it's being generated from, I've checked the GeoLiteCity.dat file but can't find it

 

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Azur', 'Carros', '', '','/boutique/','/boutique/index.php','2012-07-23 13:49:26'' at line 1

 

INSERT INTO `supertracker` (`ip_address`, `browser_string`, `country_code`, `country_name`, `country_region`, `country_city`, `referrer`,`referrer_query_string`,`landing_page`,`exit_page`,`time_arrived`,`last_click`,`browser`) VALUES ('109.210.88.122','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11','fr', 'France', 'Provence-Alpes-Cote d'Azur', 'Carros', '', '','/boutique/','/boutique/index.php','2012-07-23 13:49:26','2012-07-23 13:49:26','Unknown')

 

[TEP STOP]

 

Many Thanks

Simon

Share this post


Link to post
Share on other sites

Sorted out the problem - the offending apostophies are in a file called "catalog/includes/geoipregionvars.php"

Share this post


Link to post
Share on other sites

Hi, i installed the supertracker on my oscommerce v2.2 everything went smooth with instalation.

Now when i try to open supertracker on the admin panel i get the following error message.

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home//public_html/admin4u/supertracker.php:1) in /home/xplod0/public_html/admin4u/includes/functions/sessions.php on line 102

 

then when i try to run any of the reports i get the following errors.

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/xplod0/public_html/admin4u/supertracker.php:1) in /home/xplod0/public_html/admin4u/includes/functions/sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xplod0/public_html/admin4u/supertracker.php:1) in /home/xplod0/public_html/admin4u/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home/xplod0/public_html/admin4u/supertracker.php:1) in /home/xplod0/public_html/admin4u/includes/functions/general.php on line 102

 

Can anyone help me please??

Share this post


Link to post
Share on other sites

Updated to the latest version for 2.3.1 and now my page does not open and I get is

 

"Parse error: syntax error, unexpected '/', expecting ')' in /home/********/public_html/catalog/includes/classes/supertracker.php on line 216"

 

Please help

Share this post


Link to post
Share on other sites

Hello,

 

I hope someone can help me with a strange error.

When i look at my shop trough fire fox no problems, but when i look at my shop trough IE or Chrome i see this error:

Warning: preg_match() [function.preg-match]: Unknown modifier '4' in /home/deb4440/domains/dekammieshop.nl/public_html/shop/includes/classes/supertracker.php on line 216

 

Warning: preg_match() [function.preg-match]: Unknown modifier 'c' in /home/deb4440/domains/dekammieshop.nl/public_html/shop/includes/classes/supertracker.php on line 216

 

 

When i refresh the page everything works again and the errors are gone.

 

Does anybody know a sollution for this.

 

Thank you

 

Regards

 

Twindaddy

Edited by twindaddy

Share this post


Link to post
Share on other sites

The code on line 216 is:

 

if (preg_match("/".$pattern."/", "/".$user_agent."/"))

 

 

anybody know the sollution?

 

Thank you

Share this post


Link to post
Share on other sites

The code on line 216 is:

 

if (preg_match("/".$pattern."/", "/".$user_agent."/"))

 

 

anybody know the sollution?

 

Thank you

 

problem solved

Share this post


Link to post
Share on other sites

Oops - can't edit the last one - so here's a bit more info if you are installing

 

1) Grab the last full package - 2.3.x is here http://addons.oscommerce.com/info/8056

- 2.2 is here http://addons.oscommerce.com/info/3924

 

2) Also grab the latest (well it is as of today) download which has only the admin/supertracker.php file in it

 

3) Follow the install instructions - however you will need to edit that admin/supertracker file if you do not have the version checker add-on installed as the author has uploaded a file that has a call to the version checker includes which will bork the admin page when you try to load it - specifically remove or comment out at abiout line 31

 

   /********************** BEGIN VERSION CHECKER *********************/
 require(DIR_WS_LANGUAGES . $language . '/version_checker.php');
 require(DIR_WS_FUNCTIONS . 'version_checker.php');
 $contribPath = 'http://addons.oscommerce.com/info/3924';
 $currentVersion = 'Supertracker 3.5 for OSC 2.2.';
 $contribName = 'Supertracker';
 /********************** END VERSION CHECKER *********************/

 

and at line 210

 

	 <td class="smallText" style="font-weight: bold; color: red;"><?php echo AnnounceVersion($contribPath, $currentVersion, $contribName); ?></td>

enagyzer likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now