blank screen at install on another server

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
tuatara
Posts: 4
Joined: Tue Apr 10, 2007 11:02 pm
Contact:

blank screen at install on another server

Post by tuatara »

I've seen posts like this before, bu couldn't find the solution.

Every page i visit www.xxx.yy/phpmyfaq
or www.xxx.yy/phpmyfaq/admin

are all blank.

This is what i have done:
Activate debug in init.php
checked the config.php files.
There where no errors in the apache log
Chmod -R 777 phpmyfaq
etc.
installer.php went fine.
Tried the beta, worked, but i could not restore my data from the old server.
The old server is still up and running btw.
The new server is running MySQL 5.0 Plesk 8.1 fedora core 4
php4 and php5 (per domain)

Any idea
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

please enable the debug mode in inc/init.php.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
tuatara
Posts: 4
Joined: Tue Apr 10, 2007 11:02 pm
Contact:

Post by tuatara »

Thanks for your help, but ..
This is what i have done:
Activate debug in init.php
checked the config.php files.
There where no errors in the apache log
Chmod -R 777 phpmyfaq
I assume this is oke :
define('DEBUG', true);
if (DEBUG) {
error_reporting(E_ALL);
if (defined('E_STRICT')) {
error_reporting(E_ALL & ~E_STRICT);
}
}
I did set this value, and it did not help, or give me more info :cry:

Please help me, i can't use phpMyFAQ now
tuatara
Posts: 4
Joined: Tue Apr 10, 2007 11:02 pm
Contact:

Sorry ...

Post by tuatara »

There were 2 error_logs and i was looking in the wrong one ..
[client xxx.xx.xxx.xxx] PHP Warning: main() [<a href='function.main'>function.main</a>]: open_basedir
restriction in effect. File(/constants.php) is not within the allowed path(s):
(/var/www/vhosts/host5.info/httpdocs:/tmp) in /var/www/vhosts/host5.info/httpdocs/phpmyfaq/inc/init.php on line 6
6

[client xxx.xx.xxx.xxx] PHP Warning: main(constants.php) [<a href='function.main'>function.main</a>]:
failed to open stream: Operation not permitted in /var/www/vhosts/host5.info/httpdocs/phpmyfaq/i
nc/init.php on line 66

[client xxx.xx.xxx.xxx] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Fai
led opening required 'constants.php' (include_path='.:') in /var/www/vhosts/host5.info/httpdocs/
phpmyfaq/inc/init.php on line 66

[client xxx.xx.xxx.xxx] PHP Warning: main() [<a href='function.main'>function.main</a>]: open_basedir
restriction in effect. File(/constants.php) is not within the allowed path(s):
(/var/www/vhosts/host5.info/httpdocs:/tmp) in /var/www/vhosts/nod32support.info/httpdocs/phpmyfaq/inc/init.php on line 6
6

[client xxx.xx.xxx.xxx] PHP Warning: main(constants.php) [<a href='function.main'>function.main</a>]:
failed to open stream: Operation not permitted in /var/www/vhosts/host5.info/httpdocs/phpmyfaq/i
nc/init.php on line 66

[client xxx.xx.xxx.xxx] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Fai
led opening required 'constants.php' (include_path='.:') in /var/www/vhosts/host5.info/httpdocs/
phpmyfaq/inc/init.php on line 66
But constants.php is in the same directory as init.php and has chmod 777 on it.
tuatara
Posts: 4
Joined: Tue Apr 10, 2007 11:02 pm
Contact:

Post by tuatara »

It works now ...

I've changed the path of constants.php to the absolute path of it.

Strange that this did not work? Both files are in the same directory.?

I don't understand it, but it works for me ..

:)
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

we fixed that in 2.0.0-beta2 and we'll fix it in 1.6.12, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply