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

Home » FUDforum » FUDforum Installation Issues » Step 2 installation error PLEASE HELP!!!  () 1 Vote
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Step 2 installation error PLEASE HELP!!! [message #160792 is a reply to message #160791] Sat, 24 October 2009 08:02 Go to previous messageGo to previous message
DimOK is currently offline  DimOK
Messages: 6
Registered: October 2009
Karma:
Junior Member
lolm funny thing is that Ripley tried in on the same host... so it is probably problem of my own server - it doesn't creat tables containing 'h' letter...

Digging deeper...

request to db_query subroutine... comes already broken, so it is your's problem, haha Smile

in line 940 install.php if (!dbquery($q)) { - it is broken...

ok, it is get broken here:

if (($q = make_into_query(trim($q)))) {

Before this line request is ok, after - letters 'h' are changed to spaces...

tadam...

return trim(str_replace('{SQL_TABLE_PREFIX}', $_POST['DBHOST_TBL_PREFIX'], preg_replace('!\h+!', ' ', preg_replace('!\#.*$!s', '', $data))));


Go learning regexp's, guys Smile

Afaik, there is no '\h' metasymbol, but i am not that good with regexp, to fix this line myself...

Well, this variant worked well...
return trim(str_replace('{SQL_TABLE_PREFIX}', $_POST['DBHOST_TBL_PREFIX'], preg_replace('!\h+!', 'h', preg_replace('!\#.*$!s', '', $data))));

I don't know why do you need this regexp, please take a closer look.

[Updated on: Sat, 24 October 2009 09:54]

Report message to a moderator

[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
Previous Topic: FUDForum 3.0 SQL errors with SQLite
Next Topic: Siteground - For new FUDkers
Goto Forum:
  

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

Current Time: Wed Nov 27 06:47:13 GMT 2024

Total time taken to generate the page: 0.04609 seconds