Hi Martin,
I assume you are talking about course/enrol.php? The line should be:
$enrol = new enrolment_plugin();
Can you tell me the version number and date of the file you have?
Thanks,
Chardelle
P.S. Would you email me with more info regarding your P.S.
version = 2004083132
release = '1.4.3
I am having same problem, no paypal. I looked in the course/enrol.php file and the line is as mentioned above: $enrol = new enrolment_plugin();
But I cannot get paypal to appear.
I've been unable to replicate any problems with PayPal. Here's an idea. I just did a fresh install last weekend on a test site. There are 2 courses: 101 has a cost and 102 has a key and a cost (this site has been updated for this). I have just made a demo admin account. If you would like, go to the site and take a look at the enrollment setup page, the course settings page, site config, etc. And see if you can find anything different from your site that might be causing the problem. Go to:
www.onlinecoachingcenter.com/test and login with username: admin, password: 1234
Please post back if you find anything out.
Teacher: Admin User Notice: Undefined property: cost in /home/onlineco/public_html/test/enrol/paypal/enrol.php on line 76 Notice: Undefined property: cost in /home/onlineco/public_html/test/enrol/paypal/enrol.php on line 79 |
Thanks for the fix Martin!
Chardelle
What to do?
Have you already made settings on site user-->administration-->enrolments
There you have to choose paypal as your primary method for enrolment.
The downloads and anonymous CVS will take a while to catch up, but attached is a fresh copy of lib/setup.php for the current 1.4.3+ that will fix the problem.

thank you!
gerhard
i am using moodle-15 from today .-)
any ideas ?