PHP Fatal error - 1.6 PostgreSQL

PHP Fatal error - 1.6 PostgreSQL

by Worth Bishop -
Number of replies: 2
Using:

FreeBSD
PostgreSQL 8.x
PHP 5
Apache2.0

After upgrade from 1.54+ to 1.6, (database migration failed, never got started) copied old Dialogue module into mod directory. Feature didn't work, so I downloaded new Dialogue module and replace the old.

When I try now to go to admin page, only blank page is presented. Page source is empty. All files, Admin directory are ok.

Apache Error log shows this error:

PHP Fatal error: Cannot redeclare dialogue_upgrade() (previously declared in /usr/www/moodle/mod/dialogue/db/postgres7.php:3) in /usr/www/moodle/mod/dialogue.bak/db/postgres7.php on line 3, referer: http://www.mysite.org/

Any suggestions?

Thanks!
Average of ratings: -
In reply to Worth Bishop

Re: PHP Fatal error - 1.6 PostgreSQL

by Worth Bishop -
Nevermind...

Figured out that I'd backed up the original dialogue module and left it in the mod directory. Moodle tried to use it. Moved it outta there, and - huzzah! - everything works again.

Note to self:  Don't try this stuff at 4:00 am...

Thanks.