Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
PHP errors after upgrade
Posted: 06 July 2012 12:17 AM   [ Ignore ]
Wallflower
Avatar
Rank
Total Posts:  27
Joined  2011-05-27

I am recieving the following PHP error when I change the status of an order.

A PHP Error was encountered
Severity: Notice
Message: Undefined property: Cartthrob_price_modifiers_ft::$prefix_only
Filename: fieldtypes/ft.cartthrob_matrix.php
Line Number: 615

EE v2.5.2 - Build Date: 20120606
CT 2.1.3

I have also noticed that ‘Successful Transaction’ emails are no longer being sent. (They were OK before the upgrades.)

When I change the order status and get the above error, the ‘Order status has been changed’ event is triggered, and sending the notification email okay.

Profile
 
 
Posted: 06 July 2012 12:22 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

http://cartthrob.com/forums/viewthread/5645/

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 06 July 2012 12:52 AM   [ Ignore ]   [ # 2 ]
Wallflower
Avatar
Rank
Total Posts:  27
Joined  2011-05-27

Thanks for the quick response, that fixed the PHP errors.

However I still have the problem that ‘Successful Transaction’ notification emails are not being sent.

These were working fine before the upgrade. How does the ‘Successful Transaction’ event get fired?

Profile
 
 
Posted: 06 July 2012 12:54 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

What payment gateway are you using?

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 06 July 2012 12:56 AM   [ Ignore ]   [ # 4 ]
Wallflower
Avatar
Rank
Total Posts:  27
Joined  2011-05-27

It was a custom gateway for PaymentSense which you provided for us.

Profile
 
 
Posted: 06 July 2012 01:07 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

In that case, we might try changing line 218 of that gateway… currently this:

$this->relaunch_cart_snapshot($order_id); 

 
to this:

$this->relaunch_cart(null$order_id); 

 

Just to clarify; Is it only the order complete notification that’s not being sent? Also, do you know roughly what version of CT you had before the upgrade?

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 06 July 2012 10:15 AM   [ Ignore ]   [ # 6 ]
Wallflower
Avatar
Rank
Total Posts:  27
Joined  2011-05-27

It was version 2 something, I did take a snapshot of the site before I did the update, so would there be a file in there somewhere that will give me the version?

I have not yet made the change you suggested above. It all seemed to work fine before the upgrade.

What do you suggest I should do next?

It is only the order complete notification that’s not being sent.

Profile
 
 
Posted: 06 July 2012 12:13 PM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

so would there be a file in there somewhere that will give me the version?

Don’t worry about it.

It all seemed to work fine before the upgrade.

I think Rob may have made a change to some of the template parsing stuff (which this gateway uses) not realizing that we had a few unpublished gateways that would be affected. I’d suggest making the change above. I"m on holiday this weekend. If you’d like me to schedule some time to review, contact me again on monday. I believe I have some openings on Tuesday.

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 09 July 2012 12:23 AM   [ Ignore ]   [ # 8 ]
Wallflower
Avatar
Rank
Total Posts:  27
Joined  2011-05-27

I hope you had a great weekend.

I can’t find the code line to change that you mentioned above, in the Cartthrob_paymentsense.php file, am I looking in the right place?

Maybe we could fix this tomorrow (Tuesday) as you suggested.

Profile
 
 
Posted: 10 July 2012 10:19 AM   [ Ignore ]   [ # 9 ]
Wallflower
Avatar
Rank
Total Posts:  27
Joined  2011-05-27

Any more news on the Cartthrob_paymentsense.php issue?

Profile
 
 
Posted: 10 July 2012 06:08 PM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10218
Joined  2008-09-29

I’ve emailed you the updated gateway. I’d recommend backing up the existing one to your hard drive, or above the web root (don’t just change the name in the gateways folder… remove it or there will be issues.)

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile