Re: Question About PHP Includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 3, 2008 at 11:22 AM, jwynacht <jon@xxxxxxxxxxxxxxxxxxx> wrote:
>
>  Hi,
>
>  I help maintain a Movable Type install for a non-profit organization. Things
>  have worked well with the site but the other day the home page went blank
>  and the rest of the pages lost all of their formatting. I've done some
>  debugging and it seems that some include statements are no longer working.
>  Here is the code:
>
>  <?php
>  ini_set("open_basedir",ini_get("include_path").":/some/absolute/path/to/httpdocs");
>  ini_set("include_path",ini_get("include_path").":/some/absolute/path/to/httpdocs/Includes");
>  $title = 'Some Non-Profit';
>  @include('header.inc');
[snip!]

    Have you tried removing error buffering on the include()
statement?  Just remove the @ and see if there's any errors output on
the screen or to the log.

-- 
</Daniel P. Brown>
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Just ask!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux