Sitemap: Warning: require_once(./global.php): failed to open stream

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heredia21
    Senior Member
    • Oct 2012
    • 208
    • 5.0.X

    Sitemap: Warning: require_once(./global.php): failed to open stream

    When I build my sitemap I get this error:
    Warning: require_once(./global.php): failed to open stream: No such file or directory in /home/.../public_html/forum/xmlsitemap.php on line 42

    Fatal error: require_once(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/../public_html/forum/xmlsitemap.php on line 42

    From what I can tell, this file exists:

    ./global.php
    ./modcp/global.php
    ./admincp/global.php

    Any idea?
    BlackBerry Empire #1 BlackBerry news site and BlackBerry forum.
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    There is no xmlsitemap.php file in the root in vb5. Are you mixing your vb5 and vb4 files? If so, that will cause all sorts of problems.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    Related Topics

    Collapse

    Working...