Problem with template_cache.php after site migration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WayneH
    New Member
    • Feb 2008
    • 29
    • 3.5.x

    Problem with template_cache.php after site migration

    Hi there,

    I am currently in the process of trying to migrate our site. Since the migration I have a few problems which still need resolving. One of the problems is that I get the following warning message at the top of the index page.

    Warning: fopen(/home/braindg/public_html/forum/templates/90875cee225d1539447122f258dd4fa7.php) [function.fopen]: failed to open stream: No such file or directory in /template_cache.php on line 75

    I suspect the problem is that the path /home/braindg is no longer valid since the migration but I don't know how to fix this. The template_cache.php appears to pull the path from somewhere else.

    Anyone have any ideas?
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    That os from a modification you made. There is no file or directory named
    templates/90875cee225d1539447122f258dd4fa7.php in vB.

    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.
    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

    • WayneH
      New Member
      • Feb 2008
      • 29
      • 3.5.x

      #3
      Thanks Steve ... in doing this will I lose all of the add ons that have been installed on the site?

      This site was originally designed and created by one our club members. However, he is no longer an active member and I am trying to pick up where he left off. However, it is hard work as I have little web design experience.

      Comment

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

        #4
        Yes, that means any add-ons will be disabled.
        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...