Problem with default theme

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ludd
    New Member
    • Jun 2004
    • 19
    • 3.0.4

    Problem with default theme

    Hello,

    I have a problem displaying the default theme on the forum:

    Warning: strpos(): Empty delimiter. in /includes/functions.php on line 1873

    Whichever page of the forum I try to access (home, thread, control panel,calendar) I've got this error.

    I run VBulletin 3.05 (the original one with no hacks nor modifications) and I found where it happens.

    I use the following option:
    admincp > VBulletin Options > General parameters> Add template names to HTML

    If I have "no" => no problems and with "yes" the error displays.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Here's line 1893:

    if ($doctypepos = strpos($vartext, $stylevar['htmldoctype']))

    Did you make changes to the HTML Doctype in that style?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • ludd
      New Member
      • Jun 2004
      • 19
      • 3.0.4

      #3
      Originally posted by Steve Machol
      Here's line 1893:

      if ($doctypepos = strpos($vartext, $stylevar['htmldoctype']))

      Did you make changes to the HTML Doctype in that style?

      No changes were made to the default theme which comes with vb. I did not modify that value.

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        Then you have made some other change that is causing this. This wouldn't happen with the original templates and files.

        The first thing I recommend is that you reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

        Then create a new style and choose no parent style. This will force it to use the default templates. Then change to this style and view your forums with it. Do you have the same problem?
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎