The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
FAQ Page is missing due to plugin?
The folks on the VB forum suggested that my error is due to an add-on I am using. I have been through all their suggestions 2 times and still have this error. The trouble is I can't see where it is telling me the error is.........anyone here seen this type of thing before?
These are the errors I get when I try to access http://thescubaforum.com/faq.php Warning: Unknown( ): failed to open stream: No such file or directory in /faq.php(306) : eval()'d code on line 3 Warning: Unknown( ): failed to open stream: No such file or directory in /faq.php(306) : eval()'d code on line 3 Warning: (null)() [function.include]: Failed opening ' ' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /faq.php(306) : eval()'d code on line 3 =1 |
#2
|
||||
|
||||
What is on line 306 of your faq.php file? (Mine evals the template 'FAQ', but right above it is a hook for 'faq_complete' which may be what is causing your problems.)
|
#3
|
||||
|
||||
Disable all your plugins and then try to reload your FAQ page. If you are able to load it you have narrowed down your errors to a plugin.
The next step would be to turn your plugins back on, and disable any plugins (manually) that are on faq_complete for there hook. After that, reload the page. If it loads you know that for sure one of those are to blame. Now manually turn each faq_complete hook plugins back on one by one until the page stops working again. You want to refresh and reload the page after each turn on. Once you have found the plugin that causes your FAQ page to give you that error message, you will be able to correct the bad include. If you need help with that you can post the plugin code within this thread. |
#4
|
|||
|
|||
Quote:
eval('print_output("' . fetch_template('FAQ') . '");'); |
#5
|
||||
|
||||
This pretty much confirms that it is a plugin that is causing this. Please follow the steps in my last post to figure out which plugin it is. This is the only way to help you remove this problem.
|
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
Can you post a screenshot? And this does indeed make a very odd case.
|
#8
|
|||
|
|||
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? Regards Jason |
#9
|
|||
|
|||
Quote:
--------------- Added [DATE]1206052910[/DATE] at [TIME]1206052910[/TIME] --------------- What exactly would be the most helpful screen? |
#10
|
|||
|
|||
What's the database like?
If you remove all hacks, and disable the plugin/hook system, then I cannot see how you can receive this error. When did this start happening? After you installed an hack? If so, what was the latest hack you installed? Regards Jason |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|