DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • February 20, 2019, 01:14:38 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Got error 12  (Read 3244 times)
0 Members and 1 Guest are viewing this topic.
Dannic
Guest
« on: September 30, 2005, 05:52:22 PM »

I just started getting this error.

Code:
SELECT module_event_hooks.* FROM module_event_hooks INNER JOIN modules ON modules.modulename = module_event_hooks.modulename WHERE  event_type='village' ORDER BY RAND(73943721)

Got error 12 from table handler
Call Stack:
1: db_query("SELECT module_event_hooks...") called from /logd/lib/dbwrapper.php on line 64
2: db_query_cached("SELECT module_event_hooks...", "event-village") called from /logd/lib/modules.php on line 989
3: module_collect_events("village", true) called from /logd/lib/modules.php on line 1108
4: module_display_events("village", "village.php") called from /logd/village.php on line 277

It seems to only happen to my account at the moment.  My test account and all other users currently logged on do not have this problem.

I have cleared the navs from the database manually along with the output in the database.  This gets me to the badnav page but as soon as I try to return to romar I get the above.

Any ideas here?

I seem to be able to access all other pages available in the grotto at least.
« Last Edit: September 30, 2005, 08:54:54 PM by Dannic » Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: September 30, 2005, 05:58:29 PM »

Quote
12 is an ENOMEM error from the operating system. Either you are short of physical memory or there is indeed a memory leak.
« Last Edit: September 30, 2005, 05:58:55 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #2 on: September 30, 2005, 06:00:32 PM »

hrm..  

Interesting.  I'll have to check out the phpinfo and see what it says then.

Commenting out

Code:
//module_display_events("village", "village.php");

Provides a temporary solution.
Logged
Dannic
Guest
« Reply #3 on: September 30, 2005, 08:54:18 PM »

Looks like the server I am using was having an unexpected high load on the cpu.  Once it dropped back down to normal levels the error went away.

If you get this error you may want to consider disabling the game developer superuser flag for the user having the problem.
Logged
Dannic
Guest
« Reply #4 on: October 16, 2005, 07:27:44 PM »

SELECT * FROM creatures WHERE creaturelevel = 14 AND forest=1 ORDER BY rand(1464199615) LIMIT 1

Got error 12 from table handler
Call Stack:
1: db_query("SELECT * FROM creatures W...") called from logd/forest.php on line 105

It also appears in the cities modules during travel.

SELECT * FROM creatures WHERE creaturelevel = '12' ORDER BY rand(354648154) LIMIT 1
Got error 12 from table handler
Call Stack:
1: db_query("SELECT * FROM creatures W...") called from logd/modules/cities.php on line 346
2: cities_run() called from logd/runmodule.php on line 28

Before it was appearing with the forest events along with any creature encounters.  It doesn't seem to affect anything else.  Legend of the green dragon seems to be the only application affected.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
26 Guests, 1 User
aeanos
Home Forums News Downloads Login Register Advanced Search