August 24, 200224 yr 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?
August 24, 200224 yr 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"
August 24, 200224 yr 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.
August 24, 200224 yr 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.
August 24, 200224 yr 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
August 25, 200224 yr Author in httpd.conf it just says: (for php)LoadModule php4_module libexec/libphp4.so
August 25, 200224 yr Author I tried changing the permissions...that got rid of the error. But now its just a blank page. any more ideas?
August 30, 200224 yr 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?
September 1, 200224 yr 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;
September 1, 200224 yr 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
September 18, 200223 yr 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???
September 18, 200223 yr 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;}
Create an account or sign in to comment