Announcement

Collapse
No announcement yet.

index.php error

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

  • index.php error

    Error in "http://localhost/vblite/index.php".

    Does someone know why I get the following text instaed of the forum page?

    Thanks for any help.

    page display - vblite 1.0.1
    =============
    query("SELECT forumid,title,description,displayorder,lastpost,replycount,threadcount,allowposting FROM forum WHERE active=1 AND displayorder<>0 ORDER BY displayorder"); while ($forum=$DB_site->fetch_array($forums)) { // do light bulb if ($lastvisitdate=="Never") { $onoff="on"; } else { if ($bblastvisit<$forum[lastpost]) { $onoff="on"; } else { $onoff="off"; } } if ($forum[allowposting]==0) { $onoff.="lock"; } // prepare template vars $forumid=$forum[forumid]; $forumtitle=htmlspecialchars($forum[title]); if ($showforumdescriptions==1) { $forumdescription=$forum[description]; } // post and thread counts $numberposts=$forum[replycount]; $numberthreads=$forum[threadcount]; // dates if ($forum[lastpost]>0) { $lastpostdate=date($dateformat,$forum[lastpost]+($timeoffset*3600)); $lastposttime=date($timeformat,$forum[lastpost]+($timeoffset*3600)); } else { $lastpostdate="Never"; $lastposttime=""; } eval("\$forumbits .= \"".gettemplate("forumhomebit")."\";"); } // while forums eval("echo dovars(\"".gettemplate("forumhome")."\");"); } ?>

  • #2
    switching "short_open_tag = Off" to "On" in PHP.INI will help :p

    Comment


    • #3
      I Have Exactly the Same Error

      Can someone tell me where the PHP.INI file is?

      Any additional information on this problem would be helpful.

      Thanks,
      John

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X