Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Bug & fix - undefined variable DBHOST in Undefined variable (For SQLite admin page)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Bug & fix - undefined variable DBHOST in Undefined variable [message #184966] Thu, 20 February 2014 02:04 Go to previous message
peter.kehl is currently offline  peter.kehl
Messages: 5
Registered: February 2014
Junior Member
add to buddy list
ignore all messages by this user
If you install FUDforum_3.0.6RC2 with SQLite and then you visit localhost/fudforum/adm/admsql.php?&SQ=<sessionID>, then at the bottom of the page you get (with XDebug):

Notice: Undefined variable: DBHOST in /var/www/fudforum-data/include/dbadmin.inc on line 435
Call Stack
# Time Memory Function Location
1 0.0006 348296 {main}( ) ../admsql.php:0
2 0.0309 1054688 get_sql_disk_usage( ) ../admsql.php:173

Same code exists in current Trunk, so I assume the same error.

Patch attached.
  • Attachment: DBHOST.diff
    (Size: 0.51KB, Downloaded 536 times)
[Message index]
Read Message
Read Message
Previous Topic: Proposed fix to ckeditor.plugin
Next Topic: Simplesamlphp plugin for fudforum
Goto Forum:

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

Current Time: Mon Mar 30 14:47:46 EDT 2020

Total time taken to generate the page: 0.00664 seconds