List Info

Thread: Setting Icon problems




Setting Icon problems
user name
2006-05-29 13:54:52
Hello,

I just upgraded from version 1.0.0 to 1.0.1 and I moved the
MySQL 
database from an other machine to localhost.
I changed all scripts accordingly and everything seems to
work fine. 
Mails are filtered, and correctly delivered to the users.

However, when logged in the maia interface, when I click on
the Settings 
Icon for me or another user or domain, I get a blank page
and the 
following line is logged in my apache error_log:
PHP Fatal error:  Call to undefined method
DB_Error::fetchrow() in 
/var/www/html/settings.php on line 635,

As the rest seems to work properly, it's not too bad, but
quite annoying.
Any suggestion would be welcome

Christian Gloor
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Setting Icon problems
user name
2006-06-12 07:49:05
Christian Gloor wrote:

> I just upgraded from version 1.0.0 to 1.0.1 and I moved
the MySQL 
> database from an other machine to localhost.
> I changed all scripts accordingly and everything seems
to work fine. 
> Mails are filtered, and correctly delivered to the
users.
> 
> However, when logged in the maia interface, when I
click on the Settings 
> Icon for me or another user or domain, I get a blank
page and the 
> following line is logged in my apache error_log:
> PHP Fatal error:  Call to undefined method
DB_Error::fetchrow() in 
> /var/www/html/settings.php on line 635,

Take a look at the contents of your maia_themes table, to
make sure you
have the proper data in there.  Try:

SELECT * FROM maia_themes;

In particular, you should have themes called "Ocean
Surf" and "Desert
Sand", with paths set to "ocean_surf" and
"desert_sand" respectively.

The error you're encountering suggests there was a problem
with the
query "SELECT id, name FROM maia_themes", so
either your maia_themes
table was never properly created or it was not properly
stocked with the
default themes.

If it turns out the table was never created, you can do so
manually with:

CREATE TABLE maia_themes (
  id        int(10) unsigned NOT NULL auto_increment,
  name      varchar(30) NOT NULL,
  path      varchar(30) NOT NULL,
  PRIMARY KEY (id)
) TYPE=InnoDB;

If you're missing the default themes, you can add those
manually as well:

INSERT INTO maia_themes VALUES (1, 'Ocean Surf',
'ocean_surf');
INSERT INTO maia_themes VALUES (2, 'Desert Sand',
'desert_sand');

-- 
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )