Install say successful, yet my FAQ page is blank

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
lexpresso
Posts: 9
Joined: Tue May 01, 2007 7:48 pm

Install say successful, yet my FAQ page is blank

Post by lexpresso »

www.livingtreeoflife.com/faq

Why is it totally blank? my websited is hosted by a virtual dedicated server, which is the only difference as far as I can tell, from other installations.

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

Post by Thorsten »

Hi,

can you please enable the DEBUG mode in inc/init.php?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lexpresso
Posts: 9
Joined: Tue May 01, 2007 7:48 pm

debug mode enabled

Post by lexpresso »

Thorsten, I've enabled debug mode by changing:

define('DEBUG',true);
.....

Now what? Thanks.

PS. Where do I make a donation?
Thorsten
Posts: 15731
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you see any differences? Do you get any error messages?

bye
Thorsten

P.S.: You can donate here: http://www.phpmyfaq.de/donations.php
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lexpresso
Posts: 9
Joined: Tue May 01, 2007 7:48 pm

Post by lexpresso »

No. No changes. Should I check my server's error log?
Thorsten
Posts: 15731
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

yes please.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lexpresso
Posts: 9
Joined: Tue May 01, 2007 7:48 pm

error log (thanks)

Post by lexpresso »

[client 59.176.124.174] PHP Warning: main(constants.php) [<a href='function.main'>function.main</a>]: failed to open stream: Operation not permitted in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66, referer: viewtopic.php?t=4589
[client 59.176.124.174] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'constants.php' (include_path='.:') in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66, referer: viewtopic.php?t=4589
[client 67.41.27.206] 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/livingtreeoflife.com/httpdocs:/tmp) in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66
[client 67.41.27.206] PHP Warning: main(constants.php) [<a href='function.main'>function.main</a>]: failed to open stream: Operation not permitted in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66
[client 67.41.27.206] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'constants.php' (include_path='.:') in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: error log (thanks)

Post by matteo »

Hi,
lexpresso wrote:PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'constants.php' (include_path='.:') in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66, referer: viewtopic.php?t=4589
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/livingtreeoflife.com/httpdocs:/tmp) in /var/www/vhosts/livingtreeoflife.com/httpdocs/faq/inc/init.php on line 66
your open_basedir setting is preventing you to run happily PMF. Just open your PMF 1.6.x inc/init.php file and move the lines below from:

Code: Select all

...
// Needed for PMF_Init::isASupportedLanguage()
require_once('constants.php');
...
to:

Code: Select all

...
// Needed for PMF_Init::isASupportedLanguage()
define('PMF_INCLUDE_DIR', dirname(__FILE__));
require_once(PMF_INCLUDE_DIR.'/constants.php');
...
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
lexpresso
Posts: 9
Joined: Tue May 01, 2007 7:48 pm

Post by lexpresso »

thanks. that worked.
Thorsten
Posts: 15731
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this fix is also included in the next 1.6.13 release...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
lexpresso wrote:thanks. that worked.
you welcome!
Please, update your PMF ASAP to 1.6.12: 1.6.10- contain some vulnerabilities.

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply