PDA

View Full Version : Error in Step 4 of Install


Mike
Sat 13th May '00, 11:38pm
When I get to step 4 of the install if I try to reset the database I get the message..

No recipient address found in header

Setting uo tables...

Reseting database...

etc.

I'm using the database name that was supplied by the server company when they set up the database. If on the previous step I just click to continue the install seems to proceeed OK. I then tried to import UBB info and got

Fatal error: Call to unsupported or undefined function function_exists() in /usr/www/users/*****/forum/admin/import.php on line 3

I'm trying to install on pair.com servers (Unix) with Mysql 3.23.7 and PHP 3.0.6.

Sounds like something more fundamental is going wrong. Can anyone help?

John
Sun 14th May '00, 4:48am
I have just checked the PHP web site and the function_exists function was added in PHP 3.0.7 . The best solution to this would be to get PHP upgraded to the latest (or at least a later) version. However, if this is not possible, then just comment out lines 3 and 5 in import.php to remove the call to the function:


//if (function_exists("set_time_limit")==1 and get_cfg_var("safe_mode")==0) {
set_time_limit(1200);
//}


If errors persist, comment out line 4 too so that it looks like this:


//if (function_exists("set_time_limit")==1 and get_cfg_var("safe_mode")==0) {
// set_time_limit(1200);
//}


John


[Edited by John on 05-18-2000 at 02:50 PM]

Mike
Mon 15th May '00, 5:05am
Thanks John I tried that but still didn't work very well. Tried the import procedure and it looks like it tried to import members details from the oldmembbers directory I still had in my Members directory. I removed that directory and ran the process again but still had the old members info. Tried importing a single UBB forum and it did 2 threads and stopped.

So, being brave I compiled PHP4 RC2 with mysql support into my Pair account (followed instructions at http://www.sunwire.com/php/php_install.html). Seems to be OK - <?php phpinfo()?> delivers a response. When I run install now I get...

Fatal error: Cannot instantiate non-existent class: db_sql in /usr/www/users/*****/forum/admin/install.php on line 102

Am I getting closer, is there something I need to add to the php.ini file?

Thanks

Mike

John
Wed 17th May '00, 9:51pm
Make sure that you are doing the full installation with the basic 1.1.1 code. Once you have finished the installation, then you can upgrade to the latest developement version if you desire.

John