Recent Topics

1 minute it was fine.... now this mess!!!

Started by on Mar 07, 2005 – Contents updated: Mar 07, 2005

Mar 07, 2005 21:07    

Hope someone can help me out here.... my blogs were set up easily (thanks!) and have run without fault until tonight. I've made no changes to the setup at all and am now getting LOADS of errors 8|

Check out the mess here: http://www.waringstowntr7s.co.uk/blogs/index.php

All errors are along this theme:

Warning: main(/tmp/sql/include.inc): failed to open stream: Permission denied in /home/www/egewebde/blogs/skins/_bloglist.php on line 81

I'm hoping that its an ISP problem that will fix itself..... but life is never that easy. Can anyone tell me what they think is wrong?

Thanks,

John

Mar 07, 2005 21:24

Looking at the bottom of your page, I see this:

MySQL error!

Table 'egewebde.evo_settings' doesn't exist(Errno=1146)

Your query:
SELECT * FROM evo_settings

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.

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

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

Mar 13, 2005 18:07

There is no /sql/include.inc file with b2evo, so this must be from somewhere else..

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;

}
?>


Form is loading...

CMS software – This forum is powered by b2evolution CMS, a complete engine for your website.