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

Home » FUDforum Development » Bug Reports » Issue with consist.php (You have an error in your SQL syntax)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Issue with consist.php [message #166596 is a reply to message #166594] Fri, 27 January 2012 08:50 Go to previous messageGo to previous message
DaveQB is currently offline  DaveQB   Australia
Messages: 109
Registered: January 2006
Location: Sydney
Karma:
Senior Member

Just reading here:
http://fudforum.org/forum/index.php?t=msg&th=120110&goto=165762& ;#msg_165762

db_version is not defined in the upgrade.php script but from reading this I think naudefi is saying that it should be in sql/mysql/db.inc

So I had a look and I see in the upgrade script it includes db.inc

$dbinc = $GLOBALS['DATA_DIR'] .'sql/'. $GLOBALS['DBHOST_DBTYPE'] .'/db.inc';

But that function is missing.

I am tempted to hard code it into the upgrade script but I am concerned I will find other errors with the script and get myself caught in a real bad situation.

[wspirates@shared forums.wspirates.com]$ ls FUDforumwsp/sql/mysql/db.inc
FUDforumwsp/sql/mysql/db.inc
[wspirates@shared forums.wspirates.com]$ grep db_version FUDforumwsp/sql/mysql/db.inc
[wspirates@shared forums.wspirates.com]$


[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When I post...
Next Topic: Disabled forum message saving in GLOBALS.php with \r\n
Goto Forum:
  

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

Current Time: Fri Nov 22 13:40:06 GMT 2024

Total time taken to generate the page: 0.08238 seconds