Announcement

Collapse
No announcement yet.

Problem after global.php is included

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NYKCity
    replied
    Ok, I will. Thanks.

    Leave a comment:


  • Steve Machol
    replied
    Since this involves custom coding, try asking for help with this over at www.vbulletin.org.

    Leave a comment:


  • NYKCity
    replied
    Nobody has a clue? :/

    Leave a comment:


  • NYKCity
    started a topic Problem after global.php is included

    Problem after global.php is included

    Hello,

    I have a website that I am testing in a different subdirectory (dev/) than my forums (forums/). Getting global.php to include on the page is no problem...

    PHP Code:
    <?php 
    chdir
    ("/home/nykcity/public_html/forums/"); 
    require_once(
    './global.php'); 
    chdir("/home/nykcity/public_html/dev/"); 
    ?>




    However, if I go to my dev/index.php (where the ONLY reference to my vBulletin board is that one line up top)... I am taken to what looks like my FORUM'S index.php. When I remove that line, no problem, my site displays as normal. Any ideas?

    Thanks,
    -Phil

Related Topics

Collapse

Working...
X