Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • joelmachado2002 Friend
    #123496

    i’m getting this error on my front page after the news load on the second rotation
    how can i fix this??? http://www.gravitazion.com/index.php

    Warning: main(globals.php) [function.main]: failed to open stream: No such file or directory in /hermes/web09/b1168/pow.vividgravity/htdocs/gravitazion/modules/ja_news/headlineloader.php on line 25

    Warning: main(globals.php) [function.main]: failed to open stream: No such file or directory in /hermes/web09/b1168/pow.vividgravity/htdocs/gravitazion/modules/ja_news/headlineloader.php on line 25

    Fatal error: main() [function.require]: Failed opening required ‘globals.php’ (include_path=’.;c:phpincludes’) in /hermes/web09/b1168/pow.vividgravity/htdocs/gravitazion/modules/ja_news/headlineloader.php on line 25

    Khanh Le Moderator
    #231783

    It seems that your PHP configuration safe_mode is enabled and the owner of folder ja_news and modules are not the same. You could make a try to change the owner of folder ja_news to the same owner of /hermes/web09/b1168/pow.vividgravity/htdocs/gravitazion.

    Or you can download the attachment, and replace file headlineloader.php in folder modules/ja_news.


    1. headlineloader.zip
    joelmachado2002 Friend
    #231786

    oh, thanks, that work great, but now i’m puzzle, can u tell me what u did to that file?,, ,, ja news flash is doing the same, and i have the feeling that all my modules are suferring from this,,

    Khanh Le Moderator
    #231791

    In the old file, we use chdir before including global.php and configuration.php files. However, the chdir command does not work with your server, therefore I have to change the way to include above files. You could use a comparation tool to view the deference in both files.

    joelmachado2002 Friend
    #231856

    thank you very much, it workt for me

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  joelmachado2002 17 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum