aKaFrEE
Aug 24 2002, 04:30 PM
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 0
i have no idea how to fix this, does anyone else?
xper
Aug 24 2002, 04:50 PM
wrong path to php in httpd.conf?
where is your php?
/wwwroot/php or /urs/local/lib/php, /usr/lib/php
If 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-quotes
include_path = ".:/usr/local/lib/php"
zivan56
Aug 24 2002, 05:03 PM
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
Aug 24 2002, 05:06 PM
QUOTE
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
Aug 24 2002, 05:09 PM
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 htdocs
chgrp -R users htdocs
aKaFrEE
Aug 24 2002, 06:11 PM
in httpd.conf it just says: (for php)
LoadModule php4_module libexec/libphp4.so
aKaFrEE
Aug 25 2002, 04:11 PM
I tried changing the permissions...that got rid of the error. But now its just a blank page. any more ideas?
zivan56
Aug 29 2002, 07:38 PM
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?
xper
Aug 30 2002, 12:07 AM
zivan56
Aug 31 2002, 10:56 PM
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.php
and set
$use_gzip = 1;
to
$use_gzip = 0;
xper
Sep 1 2002, 03:19 AM
QUOTE
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.php
Log in.
Board Settings - Basic Config
and set:
Print HTTP headers?
(Some NT installs require this off) to NO
Gelantious
Sep 18 2002, 03:23 PM
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
Sep 18 2002, 04:37 PM
you edit skins/s1/skins_portal.php and move the code around.
Gelantious
Sep 18 2002, 05:35 PM
Could u show an example, because i tried but it didnt work.
Is it this that you ment that should be moved???
CODE
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;
}
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.