![]() |
Quote:
Code:
<link rel="stylesheet" href="clientscript/nivo-slider.css" type="text/css" media="screen" /> |
I tested to make sure - using a non-existent template should just result in a (more or less) empty string.
If you haven't already, maybe try this code: PHP Code:
I'm not really an expert on these kinds of thing, but based on what I've seen before I'm kind of getting a feeling like it's a problem other than what you're doing, like maybe a php configuration issue or something wrong with the vb installation. Is this a new install of vb? Did you try running "Suspect File Versions" under Maintenance in the adminCP? |
Quote:
I changed the plugin code and that stopped the Internal Server Error. Not sure why Code:
$templater->render() But the images in the slider won't load. Not sure what's up with that, but that's a different problem entirely. |
Well, in retrospect I guess that didn't help much since you already knew it was the call to render causing the problem. But taking it out isn't really a fix since you should be able to reder a template there if you want.
|
Quote:
Also, should it be Code:
$template->render() Code:
$templater->render() |
$templater->render() is correct since that is what he defined.
Try this for preregistering: Code:
vB_Template::preRegister('header', array('templatevalues' => $templatevalues)); |
Also, is it *any* template you render via a plugin on that site that causes issues, or just this one? If it is any template, then I would suspect something like mod_security or suhosin to be the problem. Have you run diagnostics > problematic webserver modules?
|
Quote:
Quote:
Problematic Webserver pops up with No to "Module Loaded" and "AJAX Unicode Issue". --------------- Added [DATE]1311209342[/DATE] at [TIME]1311209342[/TIME] --------------- Just a minor update. When I add your code: Code:
vB_Template::preRegister('header', array('templatevalues' => $templatevalues)); Fatal error: Call to a member function render() on a non-object in /home/fpaul46/public_html/forum/includes/class_core.php(4257) : eval()'d code on line 2 |
No other ideas?
|
Ah, yeah, I can't believe I didn't think of this before, but did you try a different hook location, like maybe parse_templates? The one you're using is actually in the vB_Template code and is called when a variable is registered, so that could be causing strange things to happen.
|
All times are GMT. The time now is 02:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|