If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Track Package from FedEx, UPS, Postal, DHL, etc..

Track Package from FedEx, UPS, Postal, DHL, etc..

Started by colosports on 19 May 2006, 6:05 AM · Views: 290,850

Results 461 to 480 of 1,020
24 Jan 2011, 9:36 AM
#461
spacecowboy avatar

spacecowboy

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Track Package from FedEx, UPS, Postal, DHL, etc..

Hi,

here is the cache:

[23-jan-2011 13:18:25] PHP Fatal error:  Call to undefined function: zen_db_scrub_in() in /homez.25/secretdef/www/site_dreads/galaxy/orders.php on line 89

I changed ```
// TY TRACKER 1 BEGIN, DEFINE VALUES ----------------------------------------------
$track_id1 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id1']));
$track_id2 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id2']));
$track_id3 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id3']));
$track_id4 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id4']));
$track_id5 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id5']));
// END TY TRACKER 1 ------------------------------------------------------------------

to:
// TY TRACKER 1 BEGIN, DEFINE VALUES  ----------------------------------------------
    $track_id1 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id1']));
    $track_id2 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id2']));
    $track_id3 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id3']));
    $track_id4 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id4']));
    $track_id5 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id5']));
	// END TY TRACKER 1 ------------------------------------------------------------------

Now seems to work fine...
27 Jan 2011, 8:23 PM
#462
alzoubei avatar

alzoubei

New Zenner

Join Date:
Jan 2011
Posts:
2
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Ohh man u saved my website :), with ur answer i resolved the problem i had .

but i still need one last thing.

i need the canapost tracking link to put it in the configuration settings.

could anyone help me. ???

Thanks everyone.

spacecowboy:

Hi,

here is the cache:

[23-jan-2011 13:18:25] PHP Fatal error: Call to undefined function: zen_db_scrub_in() in /homez.25/secretdef/www/site_dreads/galaxy/orders.php on line 89

> I changed ```
// TY TRACKER 1 BEGIN, DEFINE VALUES  ----------------------------------------------
        $track_id1 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id1']));
        $track_id2 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id2']));
        $track_id3 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id3']));
        $track_id4 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id4']));
        $track_id5 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id5']));
		// END TY TRACKER 1 ------------------------------------------------------------------
        

to:

// TY TRACKER 1 BEGIN, DEFINE VALUES  ----------------------------------------------
    $track_id1 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id1']));
    $track_id2 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id2']));
    $track_id3 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id3']));
    $track_id4 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id4']));
    $track_id5 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id5']));
	// END TY TRACKER 1 ------------------------------------------------------------------
> 
> Now seems to work fine...
27 Jan 2011, 8:56 PM
#463
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

If you would read through the support thread BEFORE posting questions, you would have seen that the solution to this issue was posted already with the corrected file..

http://www.zen-cart.com/forum/showthread.php?t=36126&page=44

spacecowboy:

Hi,

here is the cache:

[23-jan-2011 13:18:25] PHP Fatal error: Call to undefined function: zen_db_scrub_in() in /homez.25/secretdef/www/site_dreads/galaxy/orders.php on line 89
I changed
// TY TRACKER 1 BEGIN, DEFINE VALUES ----------------------------------------------
$track_id1 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id1']));
$track_id2 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id2']));
$track_id3 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id3']));
$track_id4 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id4']));
$track_id5 = str_replace(" ", "", zen_db_scrub_in($_POST['track_id5']));
// END TY TRACKER 1 ------------------------------------------------------------------

>  ```
     // TY TRACKER 1 BEGIN, DEFINE VALUES  ----------------------------------------------
        $track_id1 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id1']));
        $track_id2 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id2']));
        $track_id3 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id3']));
        $track_id4 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id4']));
        $track_id5 = str_replace(" ", "", zen_db_prepare_input($_POST['track_id5']));
        // END TY TRACKER 1 ------------------------------------------------------------------
        
```Now seems to work fine...

> **alzoubei:**
>
> Ohh man u saved my website :), with ur answer i resolved the problem i had .
> 
> but i still need one last thing.
> 
> i need the canapost tracking link to put it in the configuration settings.
> 
> could anyone help me. ???
> 
> Thanks everyone.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

28 Jan 2011, 7:28 PM
#464
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Does anyone know if there's a way to set up this mod to auto update with a cronjob?

28 Jan 2011, 10:18 PM
#465
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

joyjoy:

Does anyone know if there's a way to set up this mod to auto update with a cronjob?
What would you be looking to auto update??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

28 Jan 2011, 10:27 PM
#466
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

The tracking status? Sounds like you'd need a mega brain to figure that out...or if it's even possible. But since you're so brilliant, I figure I'd ask. :smile:

I was wondering if it could be set up the way that the update currency is set up. It runs on a cronjob to your settings and updates with the information it retreives.

28 Jan 2011, 10:36 PM
#467
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

joyjoy:

The tracking status? Sounds like you'd need a mega brain to figure that out...or if it's even possible. But since you're so brilliant, I figure I'd ask. :smile:

I was wondering if it could be set up the way that the update currency is set up. It runs on a cronjob to your settings and updates with the information it retreives.I'm still not sure I understand what you are trying to automate or HOW it's related to this module. With regards to this module, the ONLY way that the tracking data is updated is if you explicitly enter it.. You can't automate the manual entry of tracking data.. Automation of tracking data requires that the tracking data is grabbed from an external source automatically and stored in the DB which would allow this module to grab the tracking data and apply it to a specific order..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

28 Jan 2011, 10:40 PM
#468
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

The 2nd part there was right.

I was just wondering if there is any way that this mod could be set up to retreive information from external source automatically and store it in the DB which would allow this module to grab the tracking data and apply it to a specific order.

Thank you.

28 Jan 2011, 10:49 PM
#469
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

joyjoy:

The 2nd part there was right.

I was just wondering if there is any way that this mod could be set up to retreive information from external source automatically and store it in the DB which would allow this module to grab the tracking data and apply it to a specific order.

Thank you.I'm sure it could be done with LOTS AND LOTS of custom programming to the various supported shipping modules to retrieve and store this information (assuming of course that this information is stored in an accessible source and the shipping carriers provide a means to query and retrieve this this data)

I have no plans to add that level of functionality into this module.. Too many unknowns in terms of feasibility, too many dependent requirements that would/could break if the carriers API's changed, and to do this right it would really need to be done to support three carriers with differing API's (the method used to executed this for one carrier may not apply to the next, and/or this functionality may not be support by all carriers)..

Too complex to make it a worthwhile adventure to take on for a FREE module IMHO.. If you really want this capability, you should investigate paying a developer to create the custom code needed for the carrier's your store supports..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

28 Jan 2011, 10:53 PM
#470
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Okay, I'm not too familiar with this stuff but I assumed it would be a complicated task. I was just curious.

Thank you!

1 Feb 2011, 2:52 AM
#471
alzoubei avatar

alzoubei

New Zenner

Join Date:
Jan 2011
Posts:
2
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

i need the canapost tracking link to put it in the configuration settings.

1 Feb 2011, 8:05 PM
#472
hornsales avatar

hornsales

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I am using 1.3.8a
I do not have super orders or edit orders installed

I installed the mod. The first problem I encountered was the error on line 89 of /admin/order.php.

I found that there was an additional file to upload in this forum

Now it works fine on the admin side.

when you log on as a customer and click your order either from the sidebox, or from your account page. it takes you to a blank page

here is an example link
http://www.hornsales.com/account_history_info/order_id/343

I have doubled check my install and re read the readme 3 times and cannot without scrolling through 48 pages of replies in this forum nd see no solution to this.

Apparently I did something wrong, but I am clueless as to what

Any helo is greatly appreciated

1 Feb 2011, 8:37 PM
#473
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I would need to know what the error logs say.. and since you are running v1.3.8 you will need to install the Zen Cart module that generates error logs (v1.3.9 has this ability built in).. There is a Zen Cart mod for v1.3.8 that can install on your site to generate error logs..

If you search the FAQ or the forum for "blank page" you'll find this module.. The purpose of this module s to help trap and display errors.. Once you have this installed and can provide me with the error message it may provide some insight into the issue..

hornsales:

I am using 1.3.8a
I do not have super orders or edit orders installed

I installed the mod. The first problem I encountered was the error on line 89 of /admin/order.php.

I found that there was an additional file to upload in this forum

Now it works fine on the admin side.

when you log on as a customer and click your order either from the sidebox, or from your account page. it takes you to a blank page

here is an example link
http://www.hornsales.com/account_history_info/order_id/343

I have doubled check my install and re read the readme 3 times and cannot without scrolling through 48 pages of replies in this forum nd see no solution to this.

Apparently I did something wrong, but I am clueless as to what

Any helo is greatly appreciated

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

1 Feb 2011, 9:00 PM
#474
hornsales avatar

hornsales

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I installed the error logging module

and it does not generate an error log.

any other ideas?

DivaVocals:

I would need to know what the error logs say.. and since you are running v1.3.8 you will need to install the Zen Cart module that generates error logs (v1.3.9 has this ability built in).. There is a Zen Cart mod for v1.3.8 that can install on your site to generate error logs..

If you search the FAQ or the forum for "blank page" you'll find this module.. The purpose of this module s to help trap and display errors.. Once you have this installed and can provide me with the error message it may provide some insight into the issue..

1 Feb 2011, 9:54 PM
#475
hornsales avatar

hornsales

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Got the error logging to work

here is the error

[01-Feb-2011 16:53:06] PHP Fatal error: Cannot redeclare class order in /data/12/1/1/121/1164610/user/1237677/htdocs/newhornsales/includes/classes/order.php on line 1018

1 Feb 2011, 10:16 PM
#476
hornsales avatar

hornsales

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

and the only thing on line 1018 of that file is an }
so this makes 0 sense to me

hornsales:

Got the error logging to work

here is the error

[01-Feb-2011 16:53:06] PHP Fatal error: Cannot redeclare class order in /data/12/1/1/121/1164610/user/1237677/htdocs/newhornsales/includes/classes/order.php on line 1018

1 Feb 2011, 10:44 PM
#477
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

hornsales:

Got the error logging to work

here is the error

[01-Feb-2011 16:53:06] PHP Fatal error: Cannot redeclare class order in /data/12/1/1/121/1164610/user/1237677/htdocs/newhornsales/includes/classes/order.php on line 1018This is JUST as the error message says.. There is more than one class file trying to declare the same class (one named "order").. I'm fairly certain that this is NOT an error caused by this module at all.. It's more than likely something else you installed or did is the source of the issue. Likely causes:

  1. If you have both the original and modified version of a class file in the class folder. (this is a NO NO as Zen Cart can't tell that one file is not supposed to be used)
  2. If you installed a module which declares a class already being declared by the core or another module.. Either way this isn't an issue being caused by this module at all..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

1 Feb 2011, 11:17 PM
#478
hornsales avatar

hornsales

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Thanks. That fixed it. I kept an original file and just renamed it in the same folder. Dumb, since I know better. renamed it properly by changing the name and extention and now everything works perfectly.

I really like this mod so far

DivaVocals:

This is JUST as the error message says.. There is more than one class file trying to declare the same class (one named "order").. I'm fairly certain that this is NOT an error caused by this module at all.. It's more than likely something else you installed or did is the source of the issue. Likely causes:

  1. If you have both the original and modified version of a class file in the class folder. (this is a NO NO as Zen Cart can't tell that one file is not supposed to be used)
  1. If you installed a module which declares a class already being declared by the core or another module..

Either way this isn't an issue being caused by this module at all..

2 Feb 2011, 11:33 PM
#479
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I don't know if that was already answered... couldn't find it here. I just installed the version 3.0 on zencart 1.3.9h. the only error left (well not a real error...) the customers don't get the tracking ID with the email... i thought they do get it - at least in previous versions... (i have 2.2c on my other site)
is there a way to add that info to the mail that is sent to the customer?

7 Feb 2011, 10:38 PM
#480
siliconbug avatar

siliconbug

Zen Follower

Join Date:
Apr 2009
Posts:
126
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

DivaVocals:

Great sorry about that..:blush: Will update the package and re-submit tonight..

These sent Order Update mails won't carry tracking information anymore after I upgrade to v3. Do I still miss something?