Perhaps this is the problem:
PHP version: 4.2.2
Apache version: 2.0.40
Anyway, since our last posts, I have learned a lot more PHP and have added debug comments to see the flow of the scripts and how they relate to eachother. I may have found a potential problem. But first I'll answer the last post's questions:
The blank page after running the install.php script made me doubt it's usefulness. So I checked
# mysql
> show databases
which resulted in
mysql
test
and nothing more. As I suspected, the script failed somewhere. So I created the database myself, then checked it:
# mysql
mysql> create database phpdig;
mysql> quit
# mysql phpdig < /home/becker/www/phpdig-1.8.3/sql/init_db.sql
mysql> show tables;
+------------------+
| Tables_in_phpdig |
+------------------+
| clicks |
| engine |
| excludes |
| includes |
| keywords |
| logs |
| site_page |
| sites |
| sites_days_upd |
| spider |
| tempspider |
+------------------+
11 rows in set (0.00 sec)
Good. I moved on to rename _connect.php to connect.php and modified the 5 'defines' to '', 'localhost', 'root', 'mypassword', 'phpdig' and saved it.
I then opened
http://adambecker.homelinux.com:888/....8.3/index.php and ... Object not found. index.php turned out to be in the admin directory. So I tried
http://adambecker.homelinux.com:888/...dmin/index.php and ... blank white page. So I moved index.php from the admin dir to the base dir and once again ran the first URL and got a bunch of errors like, "Warning: Failed opening '../includes/config.php' for inclusion." index.php defenitely belongs in the admin dir.
According to the directions, the search page should be visible from the index.php page. Now it's on to unexplored territory!
http://blahblah.com:888/search.php also resulted in a blank white page.
-------------------------------------------------
Stuck there. So I started over again and tried to figure out why the install.php script wouldn't work. I added a bunch of debugging 'echo' statements as I traced the scripts. I found that connect.php was never accessed because the no_connect variable was set to zero at the beginning of the install.php script. After tracing code for another hour, I finally went back and changed the no_connect to 1. It finally accessed the connect.php script, but gave an error, "no such command: mysql_connect" or something like that. I can connect to mysql via 'mysql --host='localhost' --usr='root' --password='mypass'' so I know that's possible.
Now I'm done and ready to give up. Maybe one more try after I upgrade php and apache... whew, this is a lot of work!