1 johnny_e Mar 07, 2005 21:07
3 johnny_e Mar 07, 2005 21:37
Yes.... looks that way. Thanks for the fast reply. I'm in a live help session with them now.
Thanks,
John
4 johnny_e Mar 13, 2005 17:35
Just an update on this... and a question.
My errors (which appeared out if the blue) were like this...
Warning: main(/tmp/sql/include.inc): failed to open stream: No such file or directory in /home/www/egewebde/blogs/plugins/toolbar.class.php on line 33
Warning: main(): Failed opening '/tmp/sql/include.inc' for inclusion (include_path='.:/php/includes') in /home/www/egewebde/blogs/plugins/toolbar.class.php on line 33
My ISP got me to go into each php file that was giving an error and delete/comment out the following code:
<? include_once("/tmp/sql/include.inc"); ?>
As soon as I did this, it all started working again. At the end of the day, it works, but are there any implications from this line being removed? (apart from when b2 upgrades come out and I have to remember to remove this from the new files).
I'm sure my ISP did something to their SQL setup - what do you reckon?
John
5 blueyed Mar 13, 2005 18:07
There is no /sql/include.inc file with b2evo, so this must be from somewhere else..
6 johnny_e Mar 13, 2005 20:16
OK... take the 1st error
Warning: main(/tmp/sql/include.inc): failed to open stream: No such file or directory in /home/www/egewebde/blogs/plugins/toolbar.class.php on line 33
This error is in the toolbar.class.php file. I had to edit it as follows, commenting out line "require_once dirname(__FILE__).'/plugin.class.php';"
Once I did this, the errors stopped for that page. Strange.
<?php
/**
* This file implements the RendererPlugin class (EXPERIMENTAL)
*
* This is the base class from which you should derive all toolbar plugins.
*
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
* @copyright (c)2003-2004 by Francois PLANQUE - {@link http://fplanque.net/}
*
* @package plugins
*/
if( !defined('DB_USER') ) die( 'Please, do not access this page directly.' );
/**
* Includes:
*/
//require_once dirname(__FILE__).'/plugin.class.php';
/**
* ToolbarPlugin Class
*
* @package plugins
*/
class ToolbarPlugin extends Plugin
{
/**
* Should be toolbar be displayed?
*/
var $display = true;
}
?>
Looking at the bottom of your page, I see this:
This suggests that your host is having problems with their mysql server. I'd email them and ask them if they're having any problems with it.