Menu

#14 Error: DB Error: no such table

open
nobody
None
5
2004-09-30
2004-09-30
kwig
No

Thought I had found something really good here. Hope
it's true.

PFA installed fine, Admin worked great and I got the
tables and fields set up properly to mirror the table I
created in the DB on mysql. But when a user logs in and
selects the table, the search bar appears and beneath
it: Error:DB Error: no such table.

I found this on the forum:

"By: Martijn - rheenen
RE: Error: DB Error: no such table
2004-07-07 03:58

In your main_classes/User.php try to find this SQL
statement:

$sql = "SELECT * FROM " . $currenttable-
>dbtablename . " WHERE " . $currenttable->findid() . "
= '" . $primarykey . "'";

and change the single code line below that into this:

$regdb = $currenttable->database->constring();
$result = $regdb->query($sql);

Your problems will be solved!"

I followed the instructions.
My problems have not been solved.

Please help. I am working against a deadline here.

Thanks, Kwig

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.