Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Page Manager error

edited April 2007 in Vanilla 1.0 Help
I just added a new page and it's killed my forum, all i get on any page now is ...

Parse error: parse error, expecting `')'' in /Library/WebServer/Documents/forum/extensions/PageMng/CustomPages.php on line 31

Comments

  • Options
    I worked it out

    The plugin writes the text of the pages to CustomPages.php. When is does that it escapes and single quote characters so that the text string still works.

    I had already escaped the single quote in my string so custom pages doubled it up making it a literal again (and breaking it).

    to fix it i went into the CustomPages.php and removed the offending backslash

    it all works fine now.
  • Options
    Glad you sorted that out Neil, so I hope you don't mind if I hijack this discussion to save starting a new one?

    Since I activated Friendly URLs, my PageManager tabs don't have the correct link on them so they result in a 404 error.

    The links used to look like this...
    ...../forum/?Page=help

    Now, since Friendly URLs, they look like this...
    ..../forum/page/help

    It's no big deal since all my tabs are Hidden from navigation, but I'm curious, is there a trick to it?

    Posted: Thursday, 19 April 2007 at 7:34AM

  • Options
    did you edit .htaccess as described on the addon page?
  • Options
    Ahhhh, I see said the blind man!

    Actually I installed Page Manager a while back (before that note was there) and only just installed Friendly URLs.

    Thanks for the pointer, the tab links now work but all the image links are broken, that's easily fixed though.

    Thanks again.

    Posted: Friday, 20 April 2007 at 8:04AM

This discussion has been closed.