View Full Version : Setup Problems ( Newbie here )
messy
8th of July 2002 (Mon), 13:49
Hi all
I have a problem to run the setup.php on mywebserver. The connect.php has the correct servername, databasename, user and password and i allways get this message.
I'm running on aLinux Server (Apache) what so ever on it.
Any suggestions what i did wrong ?
Alex
DATABASE INSTALLER 1.22
SCROLL DOWN THE PAGE UNTIL YOU SEE A CONFIRMATION BOX
Dumping 1.22 SQL data
Fatal error: Call to undefined function: mysql_get_client_info() in /home/me109/public_html/gallery/setup.php on line 281
Pekka
8th of July 2002 (Mon), 15:58
messy wrote:
Fatal error: Call to undefined function: mysql_get_client_info() in /home/me109/public_html/gallery/setup.php on line 281
Hi,
This tells me that function "mysql_get_client_info" is not available, which in turn tells that your PHP version is lower than 4.0.5.
You can remove line 281 from setup and try again, I can't remember by heart if there are any other functions there which are not available in pre 4.0.5 versions, but let me know if you still have problems.
If you don't have line numbers: line 281 is
print "MySQL version:" . mysql_get_client_info() . "";
Best option is to update PHP to 4.0.6 or newer, that will make it work without modifications. I really can not guarantee that EE will function correctly in pre 4.0.6 PHP.
messy
9th of July 2002 (Tue), 18:23
well .. have to try a earlier version of EE then .. if available. the line 281 thing diodnt work.
thanks a lot
alex
Pekka
10th of July 2002 (Wed), 06:02
messy wrote:
well .. have to try a earlier version of EE then .. if available. the line 281 thing diodnt work.
thanks a lot
alex
Well it has nothing to do with EE version but PHP version (also possible MYSQL version).
Please unpack and run this script:
http://photography-on-the.net/ee/files/ee_test_db.zip
Do you have any errors with that?
To see your PHP version and all system setup info run "phpinfo.php" in EE 1.22 package.
messy
10th of July 2002 (Wed), 15:40
Hi
I've tried the tool on the link you've posted. Sorry to say, but the result was negative.
My webserver is runing definately on PHP version 4.0.4 pl1 what means that i can't run EE.
Is there maybe a older verion of EE available which runs on PHP version 4.0.4 ? .. which i can update when my provider upgrades the PHP version ?
Whatever ... i appreciate the help you give to me, really.
Thanks
Alex
Pekka
10th of July 2002 (Wed), 16:20
EE was designed from bottom up to PHP 4.0.6 or newer. There are some functions in those newer versions which are needed. Converting EE to older versions of PHP would mean seeking out all functions that are NOT available for that older version, and replacing them in fetchsettings.php or to some new include file with home made alternative functions. That is currently beyond my capabilities, and I am too pressed with several projects that I can not find time to do it. I'm sorry about that. But if you get that PHP updated don't hesitate to ask any assistance in getting EE running.
Contact your provider and ask them to update their software up to date - if you pay them I'm sure you are entitled to some support. Also, in newer versions of MySQL and PHP are security fixes and it is essential to patch those in order to achieve good server security.
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.