PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Script Installation

Reply
 
Thread Tools
Old 02-26-2004, 03:42 PM   #1
webUser
Green Mole
 
Join Date: Feb 2004
Posts: 5
Unhappy missing index.php after install

hi,

I want to use phpdig, took the following steps:

1. Downloaded the latest version of the search engine software - phpdig-1.8.0.zip
2. Unzipped the file to /usr/local/phpdig/.
3. Added a directory entry to Apache's httpd.conf.
4. Created a "phpdig" database in MySQL.
5. Used the init_db.sql file to populate the database with the required tabled. Verified that the tables are created. The tables are empty to start with... is that OK?
6. Copied _connect.php to connect.php and made the necessary changes to "dbprefix", "host", "username" and "password" settings in connect.php.
7. Tried to access http://<server>/phpdig/index.php, and "FILE NOT FOUND" error shows up. Looked at /usr/local/phpdig/ and there IS NO index.php file. There is a index.php file in [PHPDIG]/admin/. Trying to access that just shows up an empty browser window... nothing renders on the screen.

WHAT AM I MISSING...???

Somebody help, please!
webUser is offline   Reply With Quote
Old 02-26-2004, 03:52 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Try accessing http://www.domain.com/phpdig/search.php for the search page. You can change search.php to index.php by setting SEARCH_PAGE in the config file and making sure that the PHP search file matches the same name. As for accessing the admin/index.php page, do you get a popup box asking for a username and password?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 02-26-2004, 04:07 PM   #3
webUser
Green Mole
 
Join Date: Feb 2004
Posts: 5
Thanks for getting back so quickly. I tried to access http://<server>/phpdig/search.php... and a blank browser screen is all I get. Same as with http://<server>/admin/index.php...

I put in a test.php file with phpinfo(); in /usr/local/phpdig/ and accessed the file through the browser/server. The PHP information is rendered in the browser as expected. So I am not sure what is wrong.

Also, I do not get any authentication dialog box when I access the http://<server>/admin/index.php (or install.php) page.

webUser is offline   Reply With Quote
Old 02-26-2004, 04:12 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Try calling connect.php directly from the browser. Does it say anything? Did you change the directory structure that came with PhpDig?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 02-27-2004, 02:42 AM   #5
webUser
Green Mole
 
Join Date: Feb 2004
Posts: 5
I accessed http://<server>/includes/connect.php directly, and the blank browser screen appears again. I tried in Netscape and Opera as well, just to make sure this was not an IE quirk, and the same behavior persists.

I did not change the directory structure internal to phpdig. I only uncompressed phpdig-1.8.0.zip to /usr/local/phpdig.

Thanks for your continued and quick support...
webUser is offline   Reply With Quote
Old 02-27-2004, 02:51 AM   #6
webUser
Green Mole
 
Join Date: Feb 2004
Posts: 5
I had another related question... on the download page for phpdig-1.8.0.zip, there is an archive content section that lists all the files as part of this install archive. The first entry is "/index.php".

But, when I uncompress the .zip file, there IS NO index.php in the root path of the archive; although there is such a file at [PHPDIR]/admin/index.php.

I copied /usr/local/phpdir/admin/index.php to /usr/local/phpdir/index.php... there are additional errors related to files being referenced relative to the path /usr/local/phpdir/admin/ and not /usr/local/phpdir/.
webUser is offline   Reply With Quote
Old 02-27-2004, 09:15 AM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
>> ...archive content section that lists ... there IS NO index.php in the root path of the archive...

Hi. The index.php file was replaced with the search.php file, and the archive content section updated. However, this is not the problem.

I'm not sure about steps two and three that were performed. PhpDig should go in a web accessible area like so:

/usr/local/apache/htdocs/phpdig/

What OS/setup are you running?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 02-27-2004, 10:42 AM   #8
webUser
Green Mole
 
Join Date: Feb 2004
Posts: 5
Hi,

I am using Enterprise Redhat Linux 2.1 with Apache Web Server.

By extracting phpdig-1.8.0.zip to /usr/local/phpdig/, I had to create a Directory entry in Apache's httpd.conf file, anaologous to creating a virtual directory entry in IIS.

To anyway ensure that was not the problem, I removed the directory entry and moved the phpdig/ folder under the default Apache DocumentRoot at /var/www/html/.

The behaviour is still the same...
webUser is offline   Reply With Quote
Old 02-27-2004, 11:28 AM   #9
tomas
Orange Mole
 
Join Date: Feb 2004
Posts: 47
hi,

try this:

- craete a new folder named phpdig
- unzip phpdig-1.8.0.zip into this folder
- upload this folder via ftp to /var/www/html
- set folder temp (/var/www/html/phpdig/admin/temp) to 777
- set folder includes (/var/www/html/phpdig/includes) to 777
- set folder text_content (/var/www/html/phpdig/text_content) to 777
- set config.php (/var/www/html/phpdig/includes/config.php)
define('PHPDIG_ADM_AUTH','1'); to define('PHPDIG_ADM_AUTH','0');
- call http://your_server_ip(eg. 192.168.1.1)/phpdig/admin/install.php

what happens?

tomas
tomas is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty index.php screen after install BebopBogo Troubleshooting 6 08-17-2004 10:14 PM
PHP Install? ergobob How-to Forum 3 07-09-2004 06:43 PM
Index problem: missing files gvelden Troubleshooting 2 04-21-2004 05:54 AM
Install.php 'warning' errors Willywoo Script Installation 1 03-15-2004 12:32 PM


All times are GMT -8. The time now is 08:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.