Anyone Know what this Error could mean? Stamps.com
Hello,
I am new at all this, but am moving along fairly quickly with getting everything set up. I use stamps.com for shipping and installed their module for Zen cart. It seemed to work fine until I got this error:
ERROR:
Fatal error: Call to undefined function zen_catalog_href_link() in order.php on line 53
I have no idea of code etc. so I am not sure what info needs to be there or needs to be ommitted
Re: Anyone Know what this Error could mean? Stamps.com
How about some of the background information requested when you create a post???
ZenCart version
Platform etc??
Re: Anyone Know what this Error could mean? Stamps.com
Hi Salagr,
Our IT team investigated this error message looking for causes of the problem. There are two versions of order.php in the latest version of Zen Cart (1.3.9e) - one version is visible to your customers and one version is visible to you via the “admin” interface. The particular error you describe appears to be specific to the admin interface. Line 53 in the administrators Order.php page is attempting to add a hyperlink to a coupon you may have set up on your Zen Cart installation.
However, this error could appear for a number of reasons. Can you tell us some more info:
1. Does this error appear anywhere other than when you access your admin interface? Does this actually happen when you attempt to do anything from within the Stamps.com interface such as editing your Web Store Profile? (If not, it’s “possible” that the source of the error is elsewhere but either way we are still happy to help resolve your issue).
2. Do you have any coupons set up in your store?
3. Can you provide any information on your version of Zen Cart, platform, etc. that might help us uncover the cause of the error message?
Thanks,
Eric
Stamps.com
Re: Anyone Know what this Error could mean? Stamps.com
I too am experiencing this same error message when trying to load or refresh in the stamps.com software. Still in the testing phase, or rather setting up my zen cart. the version is v1.3.9e and just upgraded stamps.com software to 8.7, Also using an Apple Zen template for zen cart, and paypal express.
I did add a coupon which I used for the first two test orders I ran through paypal so that I could make the test amount going through a smaller dollar amount. After reading the post above, I just deleted the previous coupon and the test orders for which I used it on, and then ran another order through without a coupon to see if that had any effect. Stamps.com still gives me the same error message when trying to load.
Any suggestions?
Re: Anyone Know what this Error could mean? Stamps.com
Stamps.com, is it possible you're trying to use DIR_WS_ADMIN/DIR_WS_CLASSES/order.php and create an order object without loading all the functions in DIR_WS_ADMIN/DIR_WS_FUNCTIONS/functions?
Re: Anyone Know what this Error could mean? Stamps.com
I've forwarded your message to our tech team SWGuy. And thank you Spectragel for sending your info. The tech team is working on this issue right now.
I hope to have some info back to you soon.
Thanks!
Eric
Stamps.com
Re: Anyone Know what this Error could mean? Stamps.com
I'm getting the same error code on line 53. Has anyone resolved this? I am using coupon codes.... thanks in advance for your help.
Re: Anyone Know what this Error could mean? Stamps.com
forgot to mention im using 1.39d and stamps.com 8.7.3
Stamps.com Zen Cart Plugin Won't Install
Zen Cart version: v1.3.9f
Stamps.com Zen Cart plugin kit
When walking through the Stamps.com wizard to configure my Zen Cart webstore I get the following error after entering in my 31 digit access token and webstore URL.
Error - "The webstore URL is incorrect. Please verify this is the correct URL. "
I know the url is correct. Any other thoughts?
I have simple seo urls and super orders add-ons installed.
Re: Stamps.com Zen Cart Plugin Won't Install
woelamy,
I am happy to assist with the Stamps.com Plugin! If possible, can you please email me with the following information at social(at)stamps.com?
1. Stamps.com Account Number
2. Stamps.com Version
3. Zen Cart Version - Looks like you've already provided this :)
4. API Version (go to Manage -> Edit -> Show System Info to view the API Version… Show System Info is on the bottom right of the Edit page)
5. Action taken to make the error appear
6. Screen shot of error or full error text as seen on the your screen.
Thanks!
Chuck
Stamps.com
Re: Anyone Know what this Error could mean? Stamps.com
Same issue here. Orders were flowing into the Stamps.com software nicely until an order came through with a coupon code discount. Now I'm getting the same error.
Quote:
Unable to download orders from
http://www.myzencart.com/ShippingZZencart.php. ERROR: <br /> <b> Fatal error</b>: Call to undefined function: zen_catalog_link() in <b>/web/server/path/admin/includes/classes/order.php</b> on line <b>53</b><br />
Any fixes for this yet?
Zen version - v1.3.9f
Stamps.com version - 8.7.3
Re: Stamps.com Zen Cart Plugin Won't Install
Simple problem. I had a digit missing from my key.
Fixed.
Re: Anyone Know what this Error could mean? Stamps.com
I had the same error crop up for no reason after using the plugin for weeks.
After nearly 2 weeks of what appeared to be 'run-around' with support, the problem fixed itself. Stamps.com claims they did nothing but admitted several zencart users were having problems and I knew that I had not made any changes.
Stamps.com Tier2 support only responds once a day to telephone messages, so if you miss a return call, you're out of luck until they decide to try again after another few days.
It took over a week before Tier2 referred the issue to the development group. I had expected a different level of support than I received.
Re: Anyone Know what this Error could mean? Stamps.com
woelamy,
I am glad to hear that you were able to resolve your issue. Is there anything else I can assist you with?
RixStix,
I am sorry about the communication issues you experienced. I have passed your comments on to our team for review. Is there anything that you still need assistance with?
tpu-cases.com,
I am sorry for the delay; we are still investigating the error that you received. Are you still seeing this error?
If anyone has any questions about the Stamps.com, please feel free to let us know.
Thanks!
Chuck
Stamps.com
Re: Anyone Know what this Error could mean? Stamps.com
Hi Chuck,
When it works correctly, it is a really nice timesaver.
Customer feedback: It would be nice if customers are notified when there are updates to products being used. Part of the run-around was because the product development team had released 2 newer versions than the one I installed in July. It is not Stamps.com policy to post any notification whatsoever that there have been updates. I did WinMerge 2 of the updates and there were no difference except the version number but no one would forward the issue until I proved that I had installed all the latest versions.
There is a problem with the zen-cart add-in regarding cart database not being updated when order is flagged as printed or cancelled [Incident:100831-002082]
TNX for responding to this thread.
Re: Anyone Know what this Error could mean? Stamps.com
I'm using zencart version:v1.3.9d and have been trying to get the stamps.com integration to pull in orders from zencart. Thus far I've been unsuccessful. I am getting the same error as previously reported in this thread:
Call to undefined function zen_catalog_href_link() in order.php on line 53
I have coupons enabled and many of my orders have coupons applied to them. I checked my files in the admin folder and the files appear fine and intact.
I contacted stamps.com and after following up with them for an update on the issue I reported, I was told that the issue is in Zencart and there is not much more they can do to assist. Not very helpful as I'm not sure what other steps I can take to resolve. I went with stamps.com because they said they integrated with zencart, but at this point - I'm not able to use this feature at all.
Any tips on how I can troubleshoot would be appreciated.
Thanks
Re: Anyone Know what this Error could mean? Stamps.com
I'm pretty certain the problem is NOT with Zen-cart. The Stamps.com module worked for 3 weeks and suddenly started giving the error you described. I made no changes to anything within Zen-cart. 2 weeks later, it started functioning again and has not missed a "refresh" yet.... but Stamps.com has always been borderline on being Painfully Slow. It's just easier for the Stamps.com programmers to blame something else instead of resolving their own issues or to attempt to work with the customer to identify the problem.
Did you get "Regular support", "Tier2 support" or "Development Team" support? They're pretty slow about working on issues. I have a ticket that is 2 weeks old and not the first response. That's how slow the Tier2 and Development support are in following up on troubles.
Also, Stamps.com will update the version and it's up to the customer to somehow know that they are not current. Sometimes a version update will only change the version number and not change anything in the code.
Re: Anyone Know what this Error could mean? Stamps.com
Thanks RixStix for the info and your experience as well. The ticket that I had placed was seen be Tier 2 and by Development.
As a quick update, last night I was able to resolve this issue thru my own quick fix. This isn't the ideal or a recommended solution - but I what found is that it was erroring out when trying to create the url for a hyperlink on a coupon. So I hardcoded the hyperlink to something I specified and it no longer is calling the function givening the error.
I'm able to now pull in orders into stamps.com.
Hope that this information can be useful to someone else. :) I'm eager to try out the stamps.com batch module with these zencart orders!
Thanks
Re: Anyone Know what this Error could mean? Stamps.com
All good information Zenners. Keep the information coming as this is a great option to increase the speed of shipping. The Stamps.com batch worked great for my eBay and Amazon.com orders. Now if it can work for my ZenCarts!
My Current Build: ZenCart 1.3.8a
I have added the order status of "SHIPPED" (ID 5) to my ZenCart website after installation. The Stamps.com kit by default marks the orders as delivered (ID 3) unless you customize the code. I may have the code figured out on how to get Stamps.com to mark the orders status as SHIPPED (ID 5) but I can’t get past the error “””Call to undefined function: zen_catalog_link() in <b>/web/server/path/admin/includes/classes/order.php</b> on line <b>53</b><br />””” as noted in the beginning of this thread. I have a great deal of orders with coupons being used.
zhadica - I am curious what you did when you say you hardcoded the hyperlink and how did you do this if it is possibly to share.
Calling Master Zenner’s – Can you please look into the code and perhaps post some notes on how to get Stamps.com to change the order status to something other than Delivered (ID 3). From what I have learned, ShippingZSettings and ShippingZZencart file must be modified. I would post snips of my code if I could verify it works. I don’t want to post anything and risk confusion until I can test it.
Thank you!
Re: Anyone Know what this Error could mean? Stamps.com
Stamps.com has posted a new version 1.0.0.38600 that includes the code to fix the HREF issue: File name: ShippingZZencart.php Line: 61
###
//Zencart uses "zen_catalog_href_link()" function to prepare formatted links with different parameters.
//This is not required for displaying our order details.
//It is observed, sometimes due to alteration/customization "zen_catalog_href_link()" function becomes not accessible.
//Hence, define this function to make sure that our code does not break due to zencart undefined zen_catalog_href_link() error.
if(!function_exists(zen_catalog_href_link))
{
function zen_catalog_href_link($page = '', $parameters = '', $connection = '') { }
}
###
This should resolve the line 53 error. Thank you Stamps.com!
Re: Anyone Know what this Error could mean? Stamps.com
Jimmy,
I am glad to hear we were able to fix your problem! If you run into any more trouble, please be sure to let me know.
Thanks!
Chuck
Stamps.com
Re: Anyone Know what this Error could mean? Stamps.com
jimmyz911 -
Here's what I had done that solved the issue for me:
There is a line of code in the orders.php file (located in the admin/includes/classes folder) which was causing the error. I commented out the line and then redefined the variable to something that was defined...
// $zc_coupon_link = '<a href="javascript:couponpopupWindow(\'' . zen_catalog_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $coupon_link->fields['coupon_id']) . '\')">';
$zc_coupon_link = '<a href="www.mywebsite.com">';
Since doing this hardcode for the link - I've been able to pull in all orders from zencart into stamps without a problem. The integration works well and has been a time saver for shipping.
Thanks for the posting that there is a new version of the .php file for the zencart shipping file from Stamps.com - I'll try it out. :smile: