Upgrade from 5 to 6

9 replies [Last post]
peterjjohnson
Offline
Joined: 04/09/2010
Status: 
Answered

Hi (again)

I just want to get this straight.  The upgrade instructions say "Remove the old module files".  I currently have 3 module files:

./ms_charts/ms_charts.module
./ms_paypal_api/ms_paypal_api.module
./ms_membership/ms_membership.module
 

The upgrade tarball contains 6 module files:

moneyscripts/gateways/ms_innovative/ms_innovative.module
moneyscripts/gateways/ms_paypal_wps/ms_paypal_wps.module
moneyscripts/ms_core/ms_core.module
moneyscripts/ms_core/ms_coupons/ms_coupons.module
moneyscripts/ms_core/ms_tax/ms_tax.module
moneyscripts/ms_membership/ms_membership.module
 

Do I remove all 3 old module files?  Do I remove the ms_charts and ms_paypal directories, since they don't appear to be part of the new setup?

Thanks in advance.

Leighton Whiting
Offline
Joined: 06/02/2009
Peter, Yes, remove all of the

Peter,
Yes, remove all of the files that were in the 'moneyscripts' directory from the old installation.

MS Charts is being replaced by MS Reports, which will be more universal, but won't be released until next week. MS PayPal API has been replaced by MS Core and MS PayPal WPS.

Sincerely,
Leighton Whiting

peterjjohnson
Offline
Joined: 04/09/2010
I keep getting an error

Dear Leighton,

I keep getting the same error:

An error occurred. http://www.self-help-sites.com/update.php?id=8&op=do <br /> <b>Fatal error</b>: Call to undefined function ms_membership_load_membership_plan() in <b>/home/selfhelp/public_html/sites/all/modules/moneyscripts/ms_membership/ms_membership.install</b> on line <b>451</b><br />

Line 451 in ms_membership.install is:   

$m_plan = ms_membership_load_membership_plan($old_mem->mpid);

Fortunately, I did back up my database!

Thanks,

Peter

Leighton Whiting
Offline
Joined: 06/02/2009
Peter, Are you running your

Peter,
Are you running your Drupal site from a subdirectory? I've heard of people running into problems when running update.php if their drupal is on a subdirectory...

Sincerely,
Leighton Whiting

peterjjohnson
Offline
Joined: 04/09/2010
I'm on a hosting service

I don't think so.  My domain is self-help-sites.com, and I run update.php as self-help-sites.com/update.php.  I do have the modules installed under sites/all/modules instead of sites/default modules.

peterjjohnson
Offline
Joined: 04/09/2010
I guess I need to RTFM

I wasn't re-enabling the new modules before running update, so Drupal wasn't seeing the function in the membership module.

Leighton Whiting
Offline
Joined: 06/02/2009
Oh, yeah that would do it. I

Oh, yeah that would do it. I was really scratching my head on this one. Is it working now?

Sincerely,
Leighton Whiting

ChrisBuck
Offline
Joined: 03/04/2010
Latest version problems w/ Paypal

 Hello, 

 

I'm using 6.x-6.0 and I keep getting this error when a transaction completes through Paypal and the "Return to Site" button is pushed.  Paypal should return the purchaser to the pre-defined thank you page, which I made sure to put in again.  Had no problem with this in the 6.x-5.8 version.  

 

This webpage is not available.

The webpage at http://mysite/ms_paypal_wps/thank-you?tx=8YE32386FV854451X&st=Completed&amt=1.00&cc=USD&cm=5&item_number=&merchant_return_link=Return+to+Company&form_charset=UTF-8 might be temporarily down or it may have moved permanently to a new web address.

 

 More information on this error

Below is the original error message

Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.

Leighton Whiting
Offline
Joined: 06/02/2009
Chris, One thing I notice is

Chris,
One thing I notice is that it is sending some of the vars using GET method. This is incorrect and there should be a setting in your IPN preferences of your PayPal account to change this. Could you submit a support ticket with your site link so I can give it a look?

Sincerely,
Leighton Whiting

Leighton Whiting
Offline
Joined: 06/02/2009
Following up on this, it

Following up on this, it appears that PayPal has stopped sending PDT variables back to the Thank-You pages for PayPal accounts created after Oct 09 (see https://www.x.com/message/170537).

This breaks the Auto-Login functionality and was breaking the thank-you page redirection as well. I was able to fix the thank-you page problem though so that even if the PDT variables aren't sent and the user isn't automatically logged in, it will still degrade nicely and send the user to the correct thank-you page. The fix was in Membership Suite 6.1.

Sincerely,
Leighton Whiting

Twitter Feed