luder1 Posted December 6, 2003 Share Posted December 6, 2003 darn, i thought that would help, but it didn't. are those additions from the older version? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 6, 2003 Share Posted December 6, 2003 SteveDoing that only causes me to get a error msg in the popup window 1109 unknown table'popup_tracker' in where clause select c.customers_password from orders o, customers c where o.customers_id=c.customers_id and o.orders_id=popup_tracker.phpactoin+tracker&tracknum=(my tracking number here) tep stop any thought on that? regards Tom you are getting errors because you added the changes to a mysql query...not sure where you even see a query with password in either account_history or account_history_info Take another look at my previous post and just change the javascript lines... Steve, That is all i did do is change the line u said in fact,, i did a copy past,, and i get that error,, i copy past it back,, and it works with url safe off,, so not sure hwat i am doing wrong Tom Quote Link to comment Share on other sites More sharing options...
jwsfun Posted December 6, 2003 Share Posted December 6, 2003 Tim, Those stylesheet addition are from the November 4th posting of this contribution...I don't know what update you're using, but Steve has been kind enough to help get this working, so just stick with it, you'll get it working soon enough. :) Quote Link to comment Share on other sites More sharing options...
luder1 Posted December 6, 2003 Share Posted December 6, 2003 i hope i'm not coming across as being rude or anything. it's nto that way at all. As i see it, this mod isn't crippling my site or stopping anyone from shopping, so its all good. Quote Link to comment Share on other sites More sharing options...
heliosquare Posted December 6, 2003 Author Share Posted December 6, 2003 you aren't coming across as being rude at all. Don't use those stylesheet additions because you are using the MS2 version of this contribution. Just make sure you have these additions: .UPSheader { font-size: 13pt; color: #663300; font-weight: 900; } .UPSheader2 { font-size: 8pt; font-weight: bold; color: #ffffff; } .appheadercolor { background-color: #996633; } .modulepad { padding-left:10px; padding-right:10px; } .spacing { padding-left: 10px; padding-right: 10px; } .modpadbullet { padding-left:6px; text-indent: -9px; padding-right:5px; } TD.ups { font-family: verdana, arial,sans-serif; font-size: 7pt; } .brownbold { color: #663300; font-weight: bold; } The popup_tracker doesn't use any of the native stylesheet classes (main, smallText etc...) so you should be good with ones above... Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
MattM Posted December 7, 2003 Share Posted December 7, 2003 Hello all! I just installed the latest version (6 Dec, 2nd upload) and it all works right up until I hit the link or track button. In the popup I get: Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site5/web/includes/classes/xmldocument.php on line 254 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site5/web/includes/classes/xmldocument.php on line 273 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site5/web/includes/classes/xmldocument.php on line 282 If I go to the tracking page from the information box, the same three errors show up below the textbox for the tracking number as soon as the page comes up - don't even have to hit the track button. If I comment out the error_reporting(0); line, then I also get this when I hit the track button: Fatal error: Call to undefined function: curl_init() in /home/sites/site5/web/includes/classes/tracking.php on line 32 I'm running 2.2 MS2 under php 4.1.2-3. I confirmed that cURL is installed and it works on the shell command line. Ideas? Quote Link to comment Share on other sites More sharing options...
heliosquare Posted December 7, 2003 Author Share Posted December 7, 2003 set allow_call_time_pass_reference to true in your INI file like the errors say. As far as curl is concerned it looks like you have curl installed (command line only) but you don't have php compiled to use the "php curl" functions. If this is your server (or if you have full control of the server), here is an excellent article on how to get the php curl funtions working on a windows box: PHP CURL Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
MattM Posted December 8, 2003 Share Posted December 8, 2003 (edited) Actually it's a Cobalt RAQ running Sun's version of Linux. Uncommenting extension=curl.so in php.ini took care of the curl error. Setting allow_call_time_pass_reference to true fixed the warnings. Of course, there is a long comment in the .ini file how this is a really bad idea that won't be supported in the future and you should really change the way the function is defined. Anyway, it works now that's all that's important. Thanks! Edited December 8, 2003 by MattM Quote Link to comment Share on other sites More sharing options...
heliosquare Posted December 18, 2003 Author Share Posted December 18, 2003 UPS is having issues with their servers. All they would tell me is that they are working on it and that they didn't know how long it would be. The XML being returned is pretty garbled rendering the tracking functionality useless until they fix what they have to fix. My site also uses the UPS address validation and it is down as well... Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
Guest Posted December 23, 2003 Share Posted December 23, 2003 and by the way, I dont understand why this is not working, everything had been installed correctly, read from the readme file. Upon tracking, the remaining html is not published from the php file where it should have been inserted. Is anybody having this problem with the contribution? -Dan Quote Link to comment Share on other sites More sharing options...
sgtpepper Posted December 23, 2003 Share Posted December 23, 2003 I too am having problems with the contribution. Basically, after placing the tracking number in the box....it brings back the same page after a second or two. This isnt the best time for this too be happening. Quote Are Oompa-Loompa's asexual? Link to comment Share on other sites More sharing options...
jtorres Posted December 30, 2003 Share Posted December 30, 2003 Steve, Being that you are the UPS XML Tracking whiz here, check out what I just discovered today on my site when you enter a tracking (enter your own tracking #, for privacy reasons). Thanks, Jon Quote Jon Torres President 1.888.887.1112 «xcelprinting.com» Quality Printing You Can Count On! Portfolio Xcel's Xcel-lent specials: Business Cards: 1000 THICK 16pt UV Coated FULL Color 2 Sided $69 FREE Shipping Postcards/Flyers: 1000 THICK 16pt UV Coated FULL Color 2 Sided $99 Visit Our Site For More Xcel-lent Deals! Link to comment Share on other sites More sharing options...
heliosquare Posted December 30, 2003 Author Share Posted December 30, 2003 not sure what you are referring to...looked ok to me Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
Romey-Rome Posted December 31, 2003 Share Posted December 31, 2003 Did you guys ever get the blank popup issue solved? Or did that hit a dead end? I'm getting blank pop-ups, and I tried changing the lines mentioned earlier it this thread. What that did is, if I click on the tracking # in account_history_info it loads up account_history, if I click on track in account_history, I get a blank popup. Also tracking.php doesn't show anything, just reloads the page. I tried turning SEF links off and that didn't help. Thanks in advance. Happy New Year Roman Quote Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 9, 2004 Share Posted January 9, 2004 Is this contrib. dead? I'm still trying to get the blank pop-up problem solved.... Thanks Roman Quote Link to comment Share on other sites More sharing options...
heliosquare Posted January 9, 2004 Author Share Posted January 9, 2004 can you confirm that you have curl compiled WITH ssl? Do you have xml support compiled? Have you tried turning on error reporting in /includes/classes/tracking.php? Do you get any errors when you turn it on? Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 9, 2004 Share Posted January 9, 2004 cURL & XML confirmed. With error reporting on I get "Call to undefined function: curl_init() in /home/romey/public_html/includes/classes/tracking.php on line 32" in tracking.php I still get a blank popup from account_history.php In account_history_info.php, the popup shows account_history.php. SEF urls are on with those 2 lines of code changed that you mentioned earlier. Thanks Roman Quote Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 11, 2004 Share Posted January 11, 2004 I got half the problem solved. I contacted my host and there was a curl problem on their end that was fixed. Now tracking.php works, But the tracking in account history still has the same problem.... Quote Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 11, 2004 Share Posted January 11, 2004 Ok got it woking in account_history. Account_history_info still loads account_history in the popup. I replaced the 2 lines mentioned earlier it this thread for SEF urls..... Getting close.... Thanks Roman Quote Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 11, 2004 Share Posted January 11, 2004 Another thing I notice, in account_history_info, I get an error in the bottom left corner in IE, "done, but there were errors" refers to line 2 char 1.... Quote Link to comment Share on other sites More sharing options...
heliosquare Posted January 13, 2004 Author Share Posted January 13, 2004 Romey-Rome, That error is a javascript error. Double check the line you changed for SEF urls to see if you are missing a quote or ) or something... Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 13, 2004 Share Posted January 13, 2004 Hmmm...I'm not seeing anything... Here's the whole line: <td class="main"><a href="java script:popupTrackerWindow('popup_tracker.php?action=track&tracknum=<?php echo $order->info['ups_track_num']; ?>')"><?php echo $order->info['ups_track_num']; ?></a></td> Maybe I'm blind... Thanks Quote Link to comment Share on other sites More sharing options...
heliosquare Posted January 17, 2004 Author Share Posted January 17, 2004 I made a test order on your site so I could see the error but it doesn't look like it has anything to do with this contribution. The error exists regardless of whether or not a tracking code as been assigned... Quote Do you ship UPS? Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL Download the contribution here: UPS Tracking Link to comment Share on other sites More sharing options...
Romey-Rome Posted January 17, 2004 Share Posted January 17, 2004 Hmmm...Well added a tracking # to your order if you want to look at it....I'll go look over the file top to bottom... Thanks for helpin out. Quote Link to comment Share on other sites More sharing options...
yakseller Posted January 19, 2004 Share Posted January 19, 2004 When searching by reference number, if multiple packages exist, things do not display correctly. The UPS site will show you how many packages are associated with that reference number, and then will allow you to choose details on specified packages. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.