Database error message

When trying to access the website I started getting this morning the database error messages that point to line 228 and line 251 in inc/db.inc.php

The lines are:

228

echo '<div><b>Mysql error:</b><br />'.mysql_error($GLOBALS['MySQL']->link).'</div>';

251

$sMailBody .= "Mysql error:\n" . mysql_error($GLOBALS['MySQL']->link) . "\n\n";

Help!

Quote · 20 Jan 2010

Hello Day!


And what exactly MySQL error did u get? Messages about them were sent to ur bug report email.


Regards

Quote · 21 Jan 2010

Same as in this post.

Here's the full error message:

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home1/zzzzzzzz/public_html/aaaaaa/inc/db.inc.php on line 228
Mysql error:
Debug backtrace:

Array
(
[1] => Array
(
[file] => /home1/zzzzzzzz/public_html/aaaaaa/inc/modules.inc.php
[line] => 22
[args] => Array
(
[0] => /home1/zzzzzzzz/public_html/aaaaaa/inc/db.inc.php
)

[function] => require_once
)

[2] => Array
(
[file] => /home1/zzzzzzzz/public_html/aaaaaa/inc/admin.inc.php
[line] => 23
[args] => Array
(
[0] => /home1/zzzzzzzz/public_html/aaaaaa/inc/modules.inc.php
)

[function] => require_once
)

[3] => Array
(
[file] => /home1/zzzzzzzz/public_html/aaaaaa/inc/design.inc.php
[line] => 22
[args] => Array
(
[0] => /home1/zzzzzzzz/public_html/aaaaaa/inc/admin.inc.php
)

[function] => require_once
)

[4] => Array
(
[file] => /home1/zzzzzzzz/public_html/aaaaaa/index.php
[line] => 39
[args] => Array
(
[0] => /home1/zzzzzzzz/public_html/aaaaaa/inc/design.inc.php
)

[function] => require_once
)

)

Called script: /aaaaaa/index.php
Request parameters:

Array
(
)

Quote · 24 Jan 2010

First of all clean via phpMyAdmin tool table `Modules` - seems u installed there something - it hasn't sense for D6.1.6.

Inform me about results.

Quote · 25 Jan 2010

I never installed a module, the only thing I did was to tweak a little the template and add more fields to the profiles.

the Modules has no records in the db and this is the table:

database

Quote · 26 Jan 2010

Provide me then via Unity mail FTP and CPanel details of ur site, i'll check it there.

Quote · 27 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.