Install say successful, yet my FAQ page is blank
Moderator: Thorsten
Install say successful, yet my FAQ page is blank
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
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
Hi,
can you please enable the DEBUG mode in inc/init.php?
bye
Thorsten
can you please enable the DEBUG mode in inc/init.php?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
debug mode enabled
Thorsten, I've enabled debug mode by changing:
define('DEBUG',true);
.....
Now what? Thanks.
PS. Where do I make a donation?
define('DEBUG',true);
.....
Now what? Thanks.
PS. Where do I make a donation?
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
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
amazon.de Wishlist
error log (thanks)
[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
[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
Re: error log (thanks)
Hi,
to:
Ciao,
Matteo
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: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
Code: Select all
...
// Needed for PMF_Init::isASupportedLanguage()
require_once('constants.php');
...
Code: Select all
...
// Needed for PMF_Init::isASupportedLanguage()
define('PMF_INCLUDE_DIR', dirname(__FILE__));
require_once(PMF_INCLUDE_DIR.'/constants.php');
...
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Hi,
this fix is also included in the next 1.6.13 release...
bye
Thorsten
this fix is also included in the next 1.6.13 release...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
Please, update your PMF ASAP to 1.6.12: 1.6.10- contain some vulnerabilities.
Ciao,
Matteo
you welcome!lexpresso wrote:thanks. that worked.
Please, update your PMF ASAP to 1.6.12: 1.6.10- contain some vulnerabilities.
Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist