Jump to content
MakeWebGames

Bbcode


KyleH112

Recommended Posts

So I downloaded jBBCode, uploaded everything to my server. And I added require_once "jBBCode/Parser.php"; to the top of my inventory.php file to test it out and im getting this error.

[h=1]Game Name - Critical Error[/h] A critical error has occurred, and this page cannot be displayed. Please try again later.

 

when I remove require_once "jBBCode/Parser.php"; the page loads fine.

Link to comment
Share on other sites

The folder extracts as JBBCode (capital J). Either update your require path, or rename the directory

 

$parser->parse(nl2br($r['example']));
echo $parser->getAsHTML();

 

Thanks, that was the problem the directory was named JBBCode NOT jBBCode

Link to comment
Share on other sites

  • 2 years later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...