Announcement

Collapse
No announcement yet.

includes/functions.php & includes/class_core.php

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

  • [Forum] includes/functions.php & includes/class_core.php

    Hello,

    I have this error im my forum


    Unable to add cookies, header already sent.
    File: /home4/wahatfou/public_html/vb/includes/class_core.php
    Line: 4551

    Also

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: last10_thread in [path]/includes/functions.php on line 3984

    Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: forumhome_stats_poster in [path]/includes/functions.php on line 3984


    and i can't login my admincp

    Best Regards,
    Lazorde

  • #2
    To troubleshoot this, first 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. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    Next, disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.

    Do you have the same problem?
    Vote for:

    - *Admin Settable Paid Subscription Reminder Timeframe*
    -
    *PM - Add ability to reply to originator only*
    - Add Admin ability to auto-subscribe users to specific channel(s)
    - "Quick Route" Interface...

    Comment


    • #3
      Originally posted by lazorde View Post
      Hello,

      I have this error im my forum


      Unable to add cookies, header already sent.
      File: /home4/wahatfou/public_html/vb/includes/class_core.php
      Line: 4551

      Also

      Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: last10_thread in [path]/includes/functions.php on line 3984

      Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: forumhome_stats_poster in [path]/includes/functions.php on line 3984


      and i can't login my admincp

      Best Regards,
      Lazorde
      You are trying to use a vb3.x plugin on vb4.

      Comment

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