2007-02-27 16:27:56 UTC
I am having real trouble getting this to work. It seems to go in pretty straight forward. I tried both the method using the install.php and the manual method.
running the install.php ==>
Parse error: parse error, unexpected '{' in /var/www/html/m3b/admin/install.php on line 33
running the m3b/index.php ==>
Parse error: parse error, unexpected '{' in /var/www/html/m3b/index.php on line 8
database and the m3 application on the same system. Linux ES-4 running mysql 4.1.7
12 other applications are using mysql just fine.
[root@ccs-linux m3b]# ls -Rl .
.:
total 56
drwxrwxrwx 3 root root 4096 Feb 27 05:17 admin
drwxrwxrwx 3 root root 4096 Feb 27 08:36 cls
-rwxrw-rw- 1 root root 1213 Jan 5 19:19 comment.php
-rwxrw-rw- 1 root root 436 Jan 4 19:46 file.php
-rwxrw-rw- 1 root root 1359 Jan 12 12:04 image.php
drwxrwxrwx 3 root root 4096 Jan 7 06:10 img
drwxrwxrwx 3 root root 4096 Feb 27 06:22 inc
-rwxrw-rw- 1 root root 13599 Jan 7 08:36 index.php
-rwxrw-rw- 1 root root 329 Jan 6 17:38 README
-rwxrw-rw- 1 root root 4601 Jan 7 08:32 setup.php
./admin:
total 28
-rwxrw-rw- 1 root root 5006 Jan 7 08:36 admin.php
-rwxrw-rw- 1 root root 744 Jan 6 09:59 delete.php
-rwxrw-rw- 1 root root 6355 Jan 6 17:24 install.php
-rwxrw-rw- 1 root root 2618 Jan 7 14:21 login.php
-rwxrw-rw- 1 root root 4025 Jan 21 04:55 m3b.sql
./cls:
total 16
-rwxrw-rw- 1 root root 7817 Jan 6 13:45 Mail.php
-rwxrw-rw- 1 root root 2296 Jan 6 16:19 MySQLDB.php
-rwxrw-rw- 1 root root 357 Jan 5 20:10 Security.php
./img:
total 128
-rwxrw-rw- 1 root root 1000 Dec 30 18:22 archive.png
-rwxrw-rw- 1 root root 1004 Dec 30 18:20 blogs.png
-rwxrw-rw- 1 root root 3218 Dec 30 18:33 comments.png
-rwxrw-rw- 1 root root 822 Aug 19 2003 delete.bmp
-rwxrw-rw- 1 root root 780 Dec 30 18:13 delete.png
-rwxrw-rw- 1 root root 100 Dec 29 08:42 download.gif
-rwxrw-rw- 1 root root 1406 Jan 7 09:19 favicon.ico
-rwxrw-rw- 1 root root 49843 Apr 26 2006 header.gif
-rwxrw-rw- 1 root root 879 Dec 13 2004 mail.png
-rwxrw-rw- 1 root root 4038 Dec 29 06:26 mplayer.jpg
-rwxrw-rw- 1 root root 3348 Dec 29 08:42 mplayer.png
-rwxrw-rw- 1 root root 614 Dec 30 2004 phone_old.png
-rwxrw-rw- 1 root root 691 Aug 23 2002 phone.png
-rwxrw-rw- 1 root root 938 Dec 20 2004 posts.png
-rwxrw-rw- 1 root root 18735 Dec 29 08:42 quicktime.jpg
./inc:
total 16
-rwxrw-rw- 1 root root 3153 Jan 6 15:43 mmmb.css
-rwxrw-rw- 1 root root 6760 Jan 7 08:40 mmmb.js
-rwxrw-rw- 1 root root 235 Feb 27 04:55 settings.inc
[root@ccs-linux m3b]#
[root@ccs-linux inc]# more sett*
<?php
define("CLIENT", "localhost");
define("DB_HOST", "localhost");
define("DB_USER", "root");
define("DB_PASS", "*******"); (actual password omitted)
define("DB_SCHEMA", "m3b");
define("IMAGE_MAX_WIDTH", 500);
define("ONLINE", "H4xx0R");
?>
any suggestions?