Jump to content

Recommended Posts

Posted

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?


Posted

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"

Posted
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.

:)

Posted

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

Posted

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?

Posted

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;

Posted
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

  • 3 weeks later...
Posted

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???

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...