Some problems with 1.0.8-beta

Some problems with 1.0.8-beta

de Istvan Bozsa -
Number of replies: 1

During installation with PostgreSQL 7.1. after the main tables have been installed correctly, the script went back to the Copyright notice (started from the beginning). After some tries I got a look into the script, and found the section where the main tables installation checking is happening. There I edited the two "$maintables = false;" lines to "$maintables = true;". So the installation effectively skipped the checking and finished without problems, now the site is working (of course in test mode). Before do this cheating I looked at the database with psql and everithing was already there, the database was totally empty before, so I dont know why tha check failed.

Other little problem: when logout, I received the following message:

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

The logout was successful. PHP version 4.3.0. register_globals is enabled in php.ini, so?

Third: when I used the "wget" form of the cron.php in crontab, I received an notification email message in every 5 minnute riseta saying that the cron job was successful, and the apache log line of course.

So I choosed the php calling instead.

 

Promeyo de puntuacions: -
In reply to Istvan Bozsa

Re: Some problems with 1.0.8-beta

de Martin Dougiamas -
Imachen de Core developers Imachen de Documentation writers Imachen de Moodle HQ Imachen de Particularly helpful Moodlers Imachen de Plugin developers Imachen de Testers
Many thanks for the feedback.

1) Can some other PostgreSQL users check this out? make sure you use the table prefixes - they are required for PostgreSQL.

2) This new "feature" seems to be a bone of contention among some senior PHP developers. Try this in a .htaccess file to turn the warnings off:
php_value session.bug_compat_warn 0

3) When I use the wget method I redirect all output to /dev/null. No output == no mail. But the PHP command-line method is best, yes.