Fatal error: main() [function.main]: Security alert: Include filename is an URL in Unknown on line 0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • joe10001@hotmail.com

    #1

    Fatal error: main() [function.main]: Security alert: Include filename is an URL in Unknown on line 0

    Hi all,

    I just installed CRELoaded (oscommerce fork) on my server and all work
    fine except that I have a little message at the bottom of the main page
    :

    Fatal error: main() [function.main]: Security alert: Include filename
    is an URL in Unknown on line 0

    I made some research and all I have found is to be sure those value are
    put in the php.ini file

    safe_mode = Off
    allow_url_fopen = On

    I'm running on:

    Apache2

    php -ver
    PHP 4.4.0-4 (cli) (built: Oct 20 2005 16:42:12)

    How may I correct this bug

    tyvm

  • Colin McKinnon

    #2
    Re: Fatal error: main() [function.main]: Security alert: Include filename is an URL in Unknown on line 0

    joe10001@hotmai l.com wrote:
    Hi all,
    >
    I just installed CRELoaded (oscommerce fork) on my server and all work
    fine except that I have a little message at the bottom of the main page
    :
    >
    Fatal error: main() [function.main]: Security alert: Include filename
    is an URL in Unknown on line 0
    >
    I made some research and all I have found is to be sure those value are
    put in the php.ini file
    >
    safe_mode = Off
    allow_url_fopen = On
    >
    Not a good idea.
    I'm running on:
    >
    Apache2
    >
    php -ver
    PHP 4.4.0-4 (cli) (built: Oct 20 2005 16:42:12)
    >
    How may I correct this bug
    >
    Don't. I can't think of any good reason why the software should do this
    (actually I can - but its highly improbable). You could download the file
    locally adn rewrite the include, but if I were in your shoes, I wouldn't
    trust a single line of code in the package - regardless of where it was.

    HTH

    C.

    Comment

    Working...