You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1 2
An update has been issued that increases the version numbers for the Hybrid X Core to 6.6.8 and ClickCartPro 6.0.9. More info:
https://central.kryptronic.com/public/n … 2008A.html
Items added/changed in this update:
* Added support for extension modules (XMODs) FollowUp and AOM (Advanced Order Management).
* Made change to the email a friend logic to suppress the add to cart form on the email a friend page.
* Added internal namespaces for showing product pages (prodshowint) and category pages (catshowint) from all displays.
* Updated Hybrid X Core and ClickCartPro versions so users can better track future updates.
* Final anticipated release on the 6.0 platform. Readied Hybrid X Core and ClickCartPro for next major version change (Hybrid X Core 6.7.0 and ClickCartPro 6.1.0).
Offline
Nick or Dave, can you list what files are being updated and make a diff report? I think a diff report should be made for every update (even small ones) since so many of us have modded lots of files.
Something I just thought of...maybe a future update is to the installer that automatically makes a backup of the original file it's changing (if it changes CCP_Cart.php, it doesn't overwrite the original, it changes the filename to CCP_Cart-before-krypt09112008A.php or something like that. Just append 'before-???'.
Thanks,
James...
Offline
wyattea wrote:
maybe a future update is to the installer that automatically makes a backup of the original file it's changing (if it changes CCP_Cart.php, it doesn't overwrite the original, it changes the filename to CCP_Cart-before-krypt09112008A.php or something like that. Just append 'before-???'.
Now that is a superb idea, James!
It would most certainly be of benefit to a raft of CCP6 users.
Offline
wyattea wrote:
Something I just thought of...maybe a future update is to the installer that automatically makes a backup of the original file it's changing (if it changes CCP_Cart.php, it doesn't overwrite the original, it changes the filename to CCP_Cart-before-krypt09112008A.php or something like that. Just append 'before-???'.
It's been added to the "futures" list.
Offline
wyattea wrote:
Nick or Dave, can you list what files are being updated and make a diff report? I think a diff report should be made for every update (even small ones) since so many of us have modded lots of files.
The diff report covering the update released on the 11th if available . This is a cumulative diff against the last major update in 2007 and includes everything through the update released yesterday.
The list of files that have been changed may be found .
Offline
What does 'update of all applications and modules' mean??? Does that mean every single file in khxc-private I edited is going to be overwritten (by this new installer.php)?
While this update requires a complete update of all applications and modules, installing the new installer package will allow you to more easilly add newly purchased applications and modules without updating your entire installation.
Last edited by wyattea (09-12-2008 23:13:44)
Offline
Dave, this got pushed down the forum list a bit so I figured I'd clarify my question. What does it mean when it says the new installer.php file updates all apps and modules? I'm confused what's considered an app or module. Will it overwrite all the files in khxc-private just to change the version date even if no content is needed to be changed?
James...
Offline
Ok, I ran the update and discovered a few of the things that i modded before were included in the update (e.g. phone fields to delivery address) but I'm getting an error trying to get a FedEx real-time rate quote...The fedex.php and CCP_Ship.php files were identical to my backups before the update so some other unknown file has been updated and changed to screw it up. Says "resources are unable to service your request' with a 99 after that.
CCP_Ship_fedex::load_object: Cached object created: KHXC_Crypt Class: KHXC_Crypt CCP_Ship::load_object: Cached object created: CCP_Ship_fedex Class: CCP_Ship_fedex CCP_Ship::getrates_realtime: Loaded class for shipper: FEDEX. KHXC_DB_mysql::xsql_do: The MySQL extension executed statement: SELECT id, abb FROM ccp0_stateprov ORDER BY id ASC CCP_Ship::get_stateprov_abbs: Built state/province abbreviation array. KHXC_DB_mysql::xsql_do: The MySQL extension executed statement: SELECT id, abb FROM ccp0_country ORDER BY id ASC CCP_Ship::get_country_abbs: Built country abbreviation array. CCP_Ship::getrates_realtime: Set up origin/destination array. CCP_Ship::getrates_realtime: Defined minimum weights and dimensions. KHXC_Crypt::decrypt: Value decrypted. KHXC_Remote::connect: Sending request to URL https://gateway.fedex.com/GatewayDC: 0,"025"10,"00000000"498,"4442523"8,"ON"9,"L4N0Z1"117,"CA"16,"ON"17,"P3A3Z7"50,"CA"57,"12"58,"12"59,"18"75,"LBS"116,"1"1116,"IN"1273,"01"1401,"5.0"1333,"1"99,"" KHXC_Remote::connect: Received response from URL https://gateway.fedex.com/GatewayDC: 0,"125"2,"0911"3,"Resources are unavailable to service your request."99,"" KHXC_Remote::connect: Connection made. URL: https://gateway.fedex.com/GatewayDC CCP_Ship::getrates_realtime: Did not receive rates for packages. CCP_Ship::coship: Completed building rates for all shipped items. CCP_Ship::coship: Sorted all shipping options by amount. CCP_Ship::coship: Defaulted to first option as checked for each ship group. CCP_Checkout::cocalccustomsale: Custom sale scripting is not active. CCP_Checkout::cocalcshipping: Calculated shipping charges as '19.00'. CCP_Checkout::cocalcshipping: Shipping basis was defined as: Array ( [c2y4eiu4m0b7] => 19 )
Last edited by wyattea (09-14-2008 14:37:57)
Offline
Oh, another issue, I tested the 'email a friend' feature and sent myself 2 separate emails. It worked, but 10 minutes later, it sent the emails again. Then 12 minutes later, again. (12:09, 12:19, 12:31). It's been 28 minutes now with no additional emails so it might be over
James...
Offline
wyattea wrote:
The fedex.php and CCP_Ship.php files were identical to my backups before the update so some other unknown file has been updated and changed to screw it up. Says "resources are unable to service your request' with a 99 after that.
That's a response from FedEx so you'd need to ask them about that response James.
Offline
So it's just a coincidence that it works perfect fine then immediately after the update the error rate is returned. It's something the CART is sending that is causing the issue. Like FedEx will have a clue what is wrong with the CART.
Offline
Well James you said that the files involved hadn't changed. CCP has nothing to do with FedEx resources. The only logical conclusion seems to be that FedEx did have a problem at that particular moment. If it's still happening it's a different situation entirely.
Offline
No Dave, it's still happening. Got an order 2 hours ago and they paid the error rate and I tried myself again and got the error rate.
Offline
Dave, the list of files in the update had fedex.php and ccp_ship.php but the list you provided was all files changed since the last major update. I was already up to date from August so can you confirm that those two files were changed from the Sept 12 update? I noticed the Sept 12 update had most of my personal mods (things I modded from conversations on the forum) like phone fields in delivery address, transit time, etc. So the dozen or so files i thought I would need to mod were all coming back as being identical and not needing editing which was a nice surprise.
Offline
I really don't have a way to do that James. As I mentioned (either here or in another thread) I don't keep a copy of everything from release to release. AFAIK the transit time mod we did for you was NOT included in the base.
The change to allow FedEx to be used when the shipping country is Canada WAS added since that was a change FedEx made somewhere along the line that we hadn't picked up on.
Offline
well, fedex.php and ccp_ship.php both have 8/16/08 timestamps and the transit time code so they weren't touched by the sept 12 update. so some OTHER file was affected that's causing an error rate. is there any other place to troubleshoot? any other files related to shipping or real-time rates?
Offline
On Dave's text list of files, I found these files that have 'ship' in the file name:
khxc-private\apps\ccp0\CCP\includes\xmodshipestimator.php
khxc-private\apps\ccp0\CCP\includes\xmodshipestimatorf.php
khxc-private\apps\ccp0\CCP_Order\ext\0940_mailshipper.php
khxc-private\apps\ccp0\CCP_Ship\CCP_Ship.php
khxc-private\apps\ccp0\CCP_Ship\ext\fedex.php
khxc-private\apps\ccp0\CCP_Ship\install\data_shiprealtimep_0.xml
I hope that helps!
Cyndi
Offline
CCP_Ship uses the KHXC_Remote core class to submit the actual requests for real-time rates but that class does nothing more than take data passed to it and submit it to the remote host (FedEx in this case). Did you do your last update on August 16th? The file dates reflect the time an update was done and those files were changed. I don't see anything in Ship or Remote between the November 07 update and September 12, 2008 update that might have affected FedEx rates being retrieved.
Offline
Thanks Cyndi!
xmodshipestimator(f).php are both identical to backup (plus have august timestamp so not touched by update)
data_shiprealtimep_0.xml is august as well
0940_mailshipper is august as well
besides, i never touched those files anyway
Offline
The last update I did was to be able to install an XMOD - I had skipped the supplementals that only affected ccp_cart and khxc_display. Was the august 16 update the one that you needed to do to install an xmod? (cause i bought the sitemap and shipestimator xmods)
Offline
The update released on August 13th was the one that included support for XMODs. There were a couple of minor bumps issued after that to fix minor issues but the August 13th update should have been all that was required to support XMODs.
I just checked our build server and CCP_Ship as well as fedex have not been altered since the August 13th update. The same is true for the KHXC_Remote core class.
Offline
so i'm basically screwed. it's a generic error message that tells us nothing about why the rate is not being obtained. this is why every update should have a list of every single file changed. but that probably wouldn't help anyway because it could be something in the core that was changed.
Offline
Ok, here's an interesting thing. I went in to change my error rate to a lower price so it wouldn't turn off too many customers and thought maybe I should turn off the ShipEstimator XMOD and and I set it to FALSE, and BINGO, now I'm getting the rate quote and transit estimate.
So setting the shipestimator to TRUE is what's 'breaking' the real-time rate retrieval. But I confirmed xmod_shipestimator hasn't changed, so maybe it was some other part of the core changes made that were done in this update to allow the followup and advanced order management xmods to be implementable?
Offline
wyattea wrote:
so i'm basically screwed. it's a generic error message that tells us nothing about why the rate is not being obtained. this is why every update should have a list of every single file changed. but that probably wouldn't help anyway because it could be something in the core that was changed.
I've been posting a list of every single file that's changed James. Including core files.
Offline
wyattea wrote:
Ok, here's an interesting thing. I went in to change my error rate to a lower price so it wouldn't turn off too many customers and thought maybe I should turn off the ShipEstimator XMOD and and I set it to FALSE, and BINGO, now I'm getting the rate quote and transit estimate.
So setting the shipestimator to TRUE is what's 'breaking' the real-time rate retrieval. But I confirmed xmod_shipestimator hasn't changed, so maybe it was some other part of the core changes made that were done in this update to allow the followup and advanced order management xmods to be implementable?
I just walked through both the estimator XMOD and CCP_Ship and I can see nothing at all that would be causing the problem you are seeing James. I'll try to look into it some more but my Sunday is pretty booked already. The XMOD simply gathers enough information to be able to calculate rates and then calls the shipping portion of CCP_Ship to calculate the rates.
One thing I did notice is that both the estimator and CCP_Ship use the core file KHXC_Session. If you haven't already make sure that you are using the latest version of that file which is 6.6.4 and has an internal date of August 13, 2008. It's one of the files that was tweaked at least once after the initial update was released on the 13th.
Offline
Pages: 1 2