aKaFrEE Posted August 24, 2002 Posted August 24, 2002 I installed the IBF portal on my webserver (Redhat 7.2, apache, php) and i get the following error:Warning: Failed opening '/wwwroot/htdocs/betas/index.php' for inclusion (include_path='.:/wwwroot/php/lib/php') in Unknown on line 0i have no idea how to fix this, does anyone else?
xper Posted August 24, 2002 Posted August 24, 2002 wrong path to php in httpd.conf?where is your php?/wwwroot/php or /urs/local/lib/php, /usr/lib/phpIf you use php as module it looks like this in httpd.conf:<IfModule mod_php4.c> php_value include_path ".:/usr/local/lib/php" php_admin_flag safe_mode on</IfModule><IfModule mod_php3.c> php3_include_path ".:/usr/local/lib/php" php3_safe_mode on</IfModule>and in php.ini like this:; you can enclose strings in double-quotesinclude_path = ".:/usr/local/lib/php"
zivan56 Posted August 24, 2002 Posted August 24, 2002 Try to chmod the file being included or read to be readable by all, that fixed most of the error on line 0 for me.
xper Posted August 24, 2002 Posted August 24, 2002 Try to chmod the file being included or read to be readable by all, that fixed most of the error on line 0 for me.Right, i forgot that. Try CHMOD, but i think permission is not problem.
zivan56 Posted August 24, 2002 Posted August 24, 2002 I also forgot to add, if you store all your files on a server which nobody has access to (so they cant read it), just open a terminal as root where htdocs folder is and do:chown -R nobody htdocschgrp -R users htdocs
aKaFrEE Posted August 25, 2002 Author Posted August 25, 2002 in httpd.conf it just says: (for php)LoadModule php4_module libexec/libphp4.so
aKaFrEE Posted August 25, 2002 Author Posted August 25, 2002 I tried changing the permissions...that got rid of the error. But now its just a blank page. any more ideas?
zivan56 Posted August 30, 2002 Posted August 30, 2002 The only thing that could work (if it is permission settings), is to make sure the folder containing the file, and the file readable and executable by all and writable by owner. Btw, what is the link to download the portal?
zivan56 Posted September 1, 2002 Posted September 1, 2002 I have read on the ib forum somwhere that disabling gzip fixes the blank page problems, do it by doing the following:Crack open your admin.phpand set$use_gzip = 1;to $use_gzip = 0;
xper Posted September 1, 2002 Posted September 1, 2002 I tried changing the permissions...that got rid of the error. But now its just a blank page. any more ideas?Try this.Go to your url/admin.phpLog in.Board Settings - Basic Configand set: Print HTTP headers?(Some NT installs require this off) to NO
Gelantious Posted September 18, 2002 Posted September 18, 2002 One MSFN Frontpage, how did they/you make so the News goes all the way to the right????And how did you move the "Latest Thread/Latest Forum Discussions" to the left side???
Aaron Posted September 18, 2002 Posted September 18, 2002 you edit skins/s1/skins_portal.php and move the code around.
Gelantious Posted September 18, 2002 Posted September 18, 2002 Could u show an example, because i tried but it didnt work.Is it this that you ment that should be moved???function latest_posts($data) {global $ibforums;return <<<EOF <table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='{$ibforums->skin['tbl_border']}' align='center'> <tr> <td> <table cellpadding='4' cellspacing='1' border='0' width='100%'> <tr> <td colspan='2' id='titlemedium' background="{$ibforums->vars['img_url']}/tile_sub.gif"><b>{$ibforums->lang['latest_posts']}</b></td> </tr> <tr> <td id='forum2' colspan='2'> {$data} </td> </tr> </table> </td> </tr> </table><br>EOF;}
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now