FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » fud_sql_error_handler() not defined for FUDAPI calls
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: fud_sql_error_handler() not defined for forum_login.php calls [message #29606 is a reply to message #29601] Tue, 03 January 2006 05:38 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Thank you very much.

In addition to your patch, can you please also commit the following (db.inc also needs DBHOST_TBL_PREFIX):

--- forum_login.php.old 2006-01-02 23:34:48.000000000 -0600
+++ forum_login.php     2006-01-02 23:35:13.000000000 -0600
@@ -56,7 +56,7 @@
        eval(str_replace('<?php', '', substr_replace($data, '', strpos($data, 'require'))));

        /* db.inc needs certain vars inside the global scope to work, so we export them */
-       foreach (array('COOKIE_DOMAIN','COOKIE_NAME','COOKIE_TIMEOUT','COOKIE_PATH','FUD_OPT_1', 'FUD_OPT_3', 'FUD_OPT_2', 'DBHOST', 'DBHOST_USER', 'DBHOST_PASSWORD', 'DBHOST_DBNAME','DATA_DIR','INCLUDE') as $v) {
+       foreach (array('COOKIE_DOMAIN','COOKIE_NAME','COOKIE_TIMEOUT','COOKIE_PATH','FUD_OPT_1','FUD_OPT_3','FUD_OPT_2','DBHOST','DBHOST_USER','DBHOST_PASSWORD','DBHOST_DBNAME','DBHOST_TBL_PREFIX','DATA_DIR','INCLUDE') as $v) {
                $GLOBALS[$v] = $$v;
        }
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enable forum always back to "No"
Next Topic: Slow to start a new thread, replies are fast
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 10:41:49 GMT 2024

Total time taken to generate the page: 0.04140 seconds