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 FUDAPI calls [message #29585 is a reply to message #29584] Sun, 01 January 2006 21:09 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
Looks like this function (fud_sql_error_handler) was moved from db.inc to core.inc in later releases.

I thought the solution would be simple, include core.inc in forum_login.php:

        if (!$GLOBALS['PATH_TO_FUD_FORUM_CORE_INC']) {
                require_once $GLOBALS['INCLUDE'] . 'core.inc';
        } else {
                require_once $GLOBALS['PATH_TO_FUD_FORUM_CORE_INC'];
        }


However, now it abends with -

Warning: error_log(sql_errors): failed to open stream: Permission denied in
...data/include/core.inc on line 182
UNABLE TO WRITE TO SQL LOG FILE
[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 Nov 22 16:05:19 GMT 2024

Total time taken to generate the page: 0.04358 seconds