check your php.ini and server configurarion ... I think you cannot require_once an URL ....
|
Ive set allow_url_include=1 in php.ini now that gets rid of the first error, still the other two errors:
Code:
Warning: require_once(http://al-hussain.co.uk/wp- content/themes/Karma/header.php) [function.require-once]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in [path]/includes/class_bootstrap.php(106) : eval()'d code on line 3 Any ideas guys? |
Sorry, i have no idea... but i think it has to do with the streams or paths ...
|
You can't do a require_once on an http:// URL... you can only require (or include) on a local file on your server and it has to be by a local path.
|
Quote:
Code:
ob_start(); |
I noticed in the error message above and in the one you posted on vbulletin.com that there's a space between wp- and content. It should be all one word, so maybe try taking out whatever character that is (so it reads require_once('/home/alhussai/public_html/wp-content/themes/Karma/header.php', all on one line).
|
Thanks for the reply the error seem to have gone and now its giving just this:
Code:
Fatal error: Call to undefined function language_attributes() in /home/alhussai/public_html/wp-content/themes/Karma/header.php on line 2 Removed language_attributes() from header.php now just a blank page now errors :/ |
I think the header.php is depending on some Wordpress functions that you aren't including.
|
Hello,
am a new Owner of vb4.2 and would like to add an echo Script. Unfortunately, this does not in the Templates, the Output will always appear at the top left. What can I do? I use the Standart Style! Please help me.. I have add a Plugin: PHP Code:
HTML Code:
{vb:raw back} The same Script tested in the Customer Sidebar, thats Works fine ;) |
Try this:
Code:
ob_start(); (you may not need the ob_get_contents(), but I'm not sure if the echo script creates any output other than the $back value). |
All times are GMT. The time now is 10:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|