![]() |
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 |
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.
|
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 |
Version 1.8.7 is okay. Did you change the directory structure when you did the FTP?
|
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. |
After you re-FTP, if the problem persists, in install.php find:
Code:
include $relative_script_path.'/includes/config.php'; Code:
echo "A"; |
Hi, I only receive an 'A'
|
(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 :-) |
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?
|
> ...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. |
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'
|
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"; |
All times are GMT -8. The time now is 01:51 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.