phpBB Forum

It is currently Wed 23. May 2012, 17:57

All times are UTC + 1 hour

Forum rules


Hello dearest user and welcome to our EQDKP-Plus support forum.

Please read the following rules and terms before posting anything! Failure in doing so will result in being ignored or being banned. Posting in our boards means you have read, understood and accepted those rules.

English Board Rules – Click here



Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
Offline
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 16:16 

Joined: Wed 13. Jan 2010, 18:16
Posts: 9
Well, to be honest I'm not a PHP programmer either, but sometimes you don't have a choice but to learn. ^^
There could be a better fix if only the first check on the PHPBB database was case sensitive. I'm looking into it right now.



Top
 Profile  
 
Offline
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 16:32 

Joined: Wed 13. Jan 2010, 18:16
Posts: 9
Well... You might try to change line 219 in phpbb3.bridge.php
from
$user = $db->escape($a_username);
to
$user = $db->mysql_real_escape_string($a_username);

No guarantee, and save both your database before doing that. I don't have EQDKP installed anymore so this is the full extent of how I can help you. If it does not work (which is the most plausible outcome) maybe a programmer from the EQDKP project could help you furthermore.

Good luck!

Adraste.

P.S. : In order to check if it works, don't forget to reverse the initial "dirty" fix before.



Top
 Profile  
 
Online
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 16:37 
Core-Developer
User avatar

Joined: Fri 15. May 2009, 19:32
Posts: 3459
Sorry, but this won't work and will create an fatal error, your Installation will not work with this fix.


Greetings, GodMod
---
Schreibt mir nie unaufgefordert PNs! - Never write me unrequested PMs!

Support my work:Image



Top
 Profile  
 
Offline
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 16:43 

Joined: Wed 13. Jan 2010, 18:16
Posts: 9
My trap worked! I got one!

Image

Quick, catch him and enslave him into fixing your problem!

Adraste used Poké Ball.



Top
 Profile  
 
Online
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 17:05 
Core-Developer
User avatar

Joined: Fri 15. May 2009, 19:32
Posts: 3459
This problem has been fixed in 0.7, where the whole bridge-system was rewritten, so I wouldn't make sense fixing it for 0.6 right now.


Greetings, GodMod
---
Schreibt mir nie unaufgefordert PNs! - Never write me unrequested PMs!

Support my work:Image



Top
 Profile  
 
Offline
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 17:41 

Joined: Mon 19. Sep 2011, 10:09
Posts: 59
Sorry but doing this change this is the error:

Fatal error: Call to undefined method dbal_mysql::mysql_real_escape_string() in /web/htdocs/www.custodigea.it/home/guild/pluskernel/bridge/phpbb3.bridge.php on line 220


Visit our EQDKPlus Guild Site: Custodi di Gea



Top
 Profile  
 
Offline
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 17:48 

Joined: Wed 13. Jan 2010, 18:16
Posts: 9
Well, as GodMod mentioned (with a lot of humor!), this problem does not exist in the latest version of EQDKP, so...upgrade!



Top
 Profile  
 
Online
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 17:49 
Core-Developer
User avatar

Joined: Fri 15. May 2009, 19:32
Posts: 3459
Sorry, but EQdkp Plus 0.7 is still in closed alpha, so there's no possibility of upgrading.


Greetings, GodMod
---
Schreibt mir nie unaufgefordert PNs! - Never write me unrequested PMs!

Support my work:Image



Top
 Profile  
 
Online
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 17:51 
Core-Developer
User avatar

Joined: Fri 15. May 2009, 19:32
Posts: 3459
Dimuz wrote:
Sorry but doing this change this is the error:

Fatal error: Call to undefined method dbal_mysql::mysql_real_escape_string() in /web/htdocs/www.custodigea.it/home/guild/pluskernel/bridge/phpbb3.bridge.php on line 220


As I've predicted... you haven't read my post, have you?


Greetings, GodMod
---
Schreibt mir nie unaufgefordert PNs! - Never write me unrequested PMs!

Support my work:Image



Top
 Profile  
 
Offline
 Post subject: Re: PHPBB3 bridge case-sensitive fix
PostPosted: Wed 16. Nov 2011, 18:48 

Joined: Mon 19. Sep 2011, 10:09
Posts: 59
Now I restore.
But how Adraste can do it?


Visit our EQDKPlus Guild Site: Custodi di Gea



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

(C) The EQdkp-Plus Developer Team
EQdkp Plus Template by Ramon Kaes