Problem installing version 2.2.1 beta

K

Kokako

Guest
I'm trying to install v. 2.2.1 beta (released Nov 9, 2002) - I have Apache 1.3.27/PHP4.2.3/mySQL3.23.53.

I get this error message when running install.php:
----------------
Parse error: parse error, unexpected T_STRING in c:\program files\apache group\apache\htdocs\dadabik\include\config.php on line 62
Please specify host, username and database name in config.php
---------------

Line 62 is:
$allowed_file_exts_ar[0] = "jpg";

Host/username/database are all correctly entered in config.php.

Anyone got any idea what this error may be referring to?
 
M

Mark

Guest
sounds like a missing semicolon. I've installed 2.2.1 in a Unix, Apache, MySQL, PHP.
 
K

Kokako

Guest
Thanks, Mark - but I checked all files carefully and there's no semicolon missing.
Could it have something to do with me running Apache/PHP/mySQL on Windows XP ?

In trying to track down the error message further, I got as far as the include/common.php file, where the code checks for the mysql server version.
 
O

O.wit

Guest
Fatal error: Call to undefined function: mysql_get_server_info() in /usr/local/httpd/htdocs/test1/include/common.php on line 36

I have the same problem, but under suse 7.2. under suse 8.1
ist works super, but under 7.2 i can install the version 2.2.1

All variables set like the system that works.

Whats wrong
 
E

Eugenio

Guest
O.wit wrote:
>
> Fatal error: Call to undefined function:
> mysql_get_server_info() in
> /usr/local/httpd/htdocs/test1/include/common.php on line 36
>
> I have the same problem, but under suse 7.2. under suse 8.1
> ist works super, but under 7.2 i can install the version 2.2.1
>
> All variables set like the system that works.

mysql_get_server_info() is available from php 4.0.5, probably you have an earlier version.

You can comment in the file common.php the part from:

$mysql_server_version = mysql_get_server_info($conn);

to:

if ($mysql_server_version > 32306){
$quote = "`";
} // end if
else{
$quote = "";
} // end else

(included).

Bye,

Eugenio

(Latest version of DaDaBIK when this message was posted: 2.2.1b beta)
 
E

Eugenio

Guest
Kokako wrote:
>
> Thanks, Mark - but I checked all files carefully and there's
> no semicolon missing.
> Could it have something to do with me running
> Apache/PHP/mySQL on Windows XP ?
>
> In trying to track down the error message further, I got as
> far as the include/common.php file, where the code checks for
> the mysql server version.

Do you still have the problem.
It sounds strange that you haven't a missed semicoloumn if you get a parse error.

Eugenio.

(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
K

Kokako

Guest
Eugenio, I haven't used/tried Dadabik since then.
I'll install the final 2.2.1 version and see how that goes.
I'll let you know.
 
Top