Welcome, Guest
Username Password: Remember me

Security flaw
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Security flaw

Re: Security flaw 12 years, 10 months ago #7085

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
You should apply the patch to plugins/mobile/terawurfl/terawurfl.php

Re: Security flaw 12 years, 10 months ago #7086

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Anyway, reported bug means that TeraWurfl cannot connect to database using mysqli library, so the patch allows you to hide warnings in this case, and not to solve the reason of connection problem.

I'd recommend you to patch TeraWurflDatabase_MySQL5.php to log errors:
 
if(mysqli_connect_errno()){
$this->errors[]=mysqli_connect_error();
$this->connected = mysqli_connect_errno();
/* new */   error_log('TeraWurfl error #'.mysqli_connect_errno().': '.mysqli_connect_error());
return false;
}
 

And then watch for new messages in error_log.

Re: Security flaw 12 years, 10 months ago #7087

  • psychmartianmuntopia
  • OFFLINE
  • Fresh Boarder
  • Think Perfection, Think Skilled Soft Solutions
  • Posts: 9
  • Karma: 0
sorry for my newbie ways in this : the terawurfl.php file i have on my server is nothing close to the one you have patched there, and when i do replace the code in terawurfl i get a totally different error the mobile site doesn't even load.... i also can't find the function

 
function onDeviceDetection(&$MobileJoomla_Settings, &$MobileJoomla_Device)
 

Re: Security flaw 12 years, 10 months ago #7088

  • psychmartianmuntopia
  • OFFLINE
  • Fresh Boarder
  • Think Perfection, Think Skilled Soft Solutions
  • Posts: 9
  • Karma: 0
Thanks let me try this
  • Page:
  • 1
  • 2
Time to create page: 0.28 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.