PDA

View Full Version : insall issues


cthornhill
5th of April 2003 (Sat), 10:13
I am having a hard time getting EE installed. I am not getting dB connect issues. Rather I get an error like this:

" ; print "ERROR: INSTALL ABORTED"; exit(); } if ($check) { print "" ; } } function borg ($assimilate) { $feeder = mysql_query( " $assimilate "); if (!$feeder) { echo("

" . mysql_error() . "
ERROR IN QUERY:
" . $assimilate . "
"); exit(); } print " .... " . $assimilate . " .... [DONE]
"; } if (isset($HTTP_GET_VARS["remove_ee"])) { print "

DELETING OLD TABLES:
"; @$assimilate = "DROP TABLE `ee_camera`, `ee_camera_type`, `ee_category`, `ee_counter`, `ee_country`, `ee_exhibition`, `ee_exhibition_feedback`, `ee_lens`, `ee_light`, `ee_location`, `ee_message`, `ee_microthumb_path`, `ee_news`, `ee_owner`, `ee_photo`, `ee_photo_size`, `ee_photo_to_category`, `ee_photo_to_exhibition`, `ee_size`, `ee_thumb_path`, `ee_thumbs`, `ee_workflow`"; borg($assimilate); } $test = mysql_query( " SELECT ee_light_id FROM ee_light " ); if (!$test) { print "
Dumping 1.22 SQL data
"; print "
MySQL version:" . mysql_get_client_info() . "

"; print "DATABASES AVAILABLE: "; $db_list = mysql_list_dbs($dbcnx); print "

1. "; while ($row = mysql_fetch_object($db_list)) { print ""; echo $row->Database; if (($row->Database)==$databasename) { print " (EE USES THIS DATABASE) "; } } print "

"; } else { $v = "1.0"; $test2 = mysql_query( " SELECT ee_version FROM ee_settings " ); if ($test2) { while ($row = mysql_fetch_array($test2)) { $v = $row['ee_version']; } } print "

Can you suggest a fix? mySQL appears to work and I am configured as root user on my Linux box. I am running PHP 4.2.2 and mySQL 4.0.2 under Apache.

Thanks,

Cecil

cthornhill
5th of April 2003 (Sat), 10:14
Well, I guess you noticed the missing 't' ...:-)

Pekka
5th of April 2003 (Sat), 13:27
The error message above is not an error message but PHP source code dump which should not happen on any occasion, - this suggests that above is PHP installation (interpreter) problem.

Try http://photography-on-the.net/ee/files/ee_test_db.zip (open zip and copy the file in EE root folder and run it) - do you get any errors?

cthornhill
6th of April 2003 (Sun), 23:18
NO erros, but no data on the screen either (perhaps the messages are being thrown elsewhere...?). I will run my old dB test php, but it was working...

CT