3 Problems after upgrading to 2.0

3 Problems after upgrading to 2.0

brian avery -
回帖数:0

Hi,

I upgraded from 1.9.10 to 2.0 yesterday. The process appeared to go well, with no delays in getting back online.

Problems 1 and 2: The first problem I became aware of was CRON jobs, which stopped functioning. I was advised of this by the cron output emails which started saying :   "Web cron can not be executed as CLI script any more, please use admin/cli/cron.php instead"

There is nothing written anywhere to say how to deal with this so, taking a guess at what was req'd, I changed the cronjob set up via cpanel to call admin/cli/cron.php instead, which was a partial success. The previous error message in the output emails went away but was replaced by another:

"!!! <p><strong>SECURITY WARNING!</strong></p><p> To operate properly, Moodle requires <br />that you make certain changes to your current PHP settings.</p><p>You <em>must</em> set <code>register_globals=off</code>.</p><p>This setting is controlled by editing your <code>php.ini</code>, Apache/IIS <br />configuration or <code>.htaccess</code> file.</p> !!!"

This is confusing because globals have been set to off since I installed moodle about 6 months ago. Reading php.ini, they are still off. I'm not sure what exact command is required in .htaccess but I'm assuming this was set up properly in the past otherwise I wouldn't have been able to upgrade to 1.9.10 or 2.0 in the first place. I think?

Problem 3: Then there is a problem with registration. When it cropped up yesterday I  posted a query relating to it in another forum but these 3 issues all seem to be related so....

First, I log-in on my site (so, it is online). Next, I go to Site admin / registration. I click the 'register with moodle.org (mooch)'  button and then complete the registration details. Finally, I click the 'register with moodle.org' button.

Watching my browser, after clicking on 'register', the browser page goes to : www.insegnanti-inglese.com&hubname=MOOCH" class="_blanktarget">http://www.insegnanti-inglese.com/moodle/admin/registration/confirmregistration.php?error=urlalreadyexist&url=http%3A%2F%2Fhub.moodle.org&token=z54zI-have-edited-this-4GzSwww.insegnanti-inglese.com&hubname=MOOCH

The page is a 'Forbidden' notice which says

Forbidden:   You don't have permission to access /moodle/admin/registration/confirmregistration.php on this server.  Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0......  Server at www.insegnanti-inglese.com Port...etc

 

I'm not sure what the above means and it seems to be talking about my site, not the moodle registration server.  I don't know if this is the correct procedure, (if it is checking something on my site first before going on to moodle.org)  but obviously something isn't working and this is totally over my head.

Any help would be appreciated!

Brian