|
04-17-2005, 09:08 AM | #1 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
Blank screen with install.php
UNzipped, scp'd, chmodded, but a blank screen after running the install script.
system is; Linux/kernel 2.4.21-27 Apache 2.0.46 MySQL 3.23.58 php 4.3.2 Uncommented the error reporting, but there's still a blank screen - and no error in the system error log either. One wrinkle may be that the MySQL server is separate - and I'll have to amend any scripts to point to the non-localhost server. Any clues as to how to get some response from phpdigs install.php script? Russ |
04-17-2005, 09:10 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
What version of PhpDig are you using? Do you allow cookies? BTW, you can set PHPDIG_DB_HOST to wherever.domain.com instead of say localhost in the connect.php file.
__________________
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. |
04-17-2005, 09:15 AM | #3 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
Version 1.8.7 which looks to be the current stable release - but I could re-install an older version if needed?
Cookies are permitted.. Russ |
04-17-2005, 09:19 AM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Version 1.8.7 is okay. Did you change the directory structure when you did the FTP?
__________________
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. |
04-17-2005, 09:26 AM | #5 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
ftp'd everything across unchanged...
installed into a local folder called 'spider', added the full path to the config.php file; /home/www.domainname.co.uk/www/html/spider Must admit I transferred the files across with 'auto-detect' for the binary/ascii detection. Perhaps that's screwed up. Will delete & manually transfer the files. |
04-17-2005, 09:27 AM | #6 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
After you re-FTP, if the problem persists, in install.php find:
Code:
include $relative_script_path.'/includes/config.php'; include $relative_script_path.'/libs/auth.php'; Code:
echo "A"; include $relative_script_path.'/includes/config.php'; echo "B"; include $relative_script_path.'/libs/auth.php'; echo "C";
__________________
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. |
04-17-2005, 02:33 PM | #7 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
Hi, I only receive an 'A'
|
04-17-2005, 02:38 PM | #8 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
(slaps forehead)
...I realised after looking through the install.php, you need to set the relative_script_path in the install.php script as well as in the config.php Okay - that one's fixed... now to see if the rest of it all runs smoothly :-) |
04-17-2005, 02:55 PM | #9 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
I've seen (emperically) I need to amend the relative path variable in each php file for the package to work - it this truely the case?
|
04-17-2005, 04:04 PM | #10 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
> ...need to amend the relative path variable in each php file...
The only one that needs to be set is the one in the config file. The others are relative paths (one dot - stay in same direcotry, two dots - go back one directory). There is a long thead here that might give a hint as to why relative paths are not working on your machine.
__________________
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. |
05-07-2005, 01:36 PM | #11 |
Green Mole
Join Date: Apr 2005
Location: UK / Worcestershire
Posts: 7
|
Okay, gone right back to square one for this. What is the absolute minimum that needs to be amended in the configuration during a clean install of php dig in order for it to work? The installation instructions indicate that i shoudl eb able to install an untouched instance of phpdig and it'll work ... 'out of the box'
|
05-10-2005, 10:33 AM | #12 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
There are no changes required in the files to have PhpDig run right after a fresh default install. The problem in this thread was that for some reason, the OS/setup was not understanding relative paths. If after a fresh install, you still only receive 'A' onscreen, try uncommenting the following line in the config file.
Code:
// echo "\n\nPath $relative_script_path not recognized!\n\n";
__________________
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
blank page after install | odyssee | Script Installation | 1 | 05-04-2006 05:50 AM |
Empty index.php screen after install | BebopBogo | Troubleshooting | 6 | 08-17-2004 09:14 PM |
PHP Install? | ergobob | How-to Forum | 3 | 07-09-2004 05:43 PM |
search.php and blank screen | gymsmoke | Script Installation | 1 | 04-04-2004 06:10 AM |
missing index.php after install | webUser | Script Installation | 8 | 02-27-2004 10:28 AM |