Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002824Piwigomobilepublic2013.01.20 13:422014.07.03 11:55
Reporterthimo 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSSymbianOS VersionBelle
Product Version2.4.6 
Target VersionFixed in Version 
Summary0002824: Failed to detect smartphone on Symbian with Opera Mobile
DescriptionWith Opera-Mobile on Symbian (Nokia Belle) you don't get the smartpocket theme. Symbian is not detected by the function DetectSymbianOS in mdetect.php.

User-Agent is:
Opera/9.80 (S60; SymbOS; Opera Mobi/SYB-1204232256; U; de) Presto/2.10.254 Version/12.00

The problem can be fixed by modifying the file /include/mdetect.php:

   var $deviceSymbian = 'symbian';
+ var $deviceSymbOS = 'symbos';
   var $deviceS60 = 'series60';
   var $deviceS70 = 'series70';
   var $deviceS80 = 'series80';
   var $deviceS90 = 'series90';

...

   function DetectSymbianOS()
   {
       if (stripos($this->useragent, $this->deviceSymbian) > -1 ||
+ stripos($this->useragent, $this->deviceSymbOS) > -1 ||
           stripos($this->useragent, $this->deviceS60) > -1 ||
           stripos($this->useragent, $this->deviceS70) > -1 ||
           stripos($this->useragent, $this->deviceS80) > -1 ||
           stripos($this->useragent, $this->deviceS90) > -1)
         return $this->true;
      else
         return $this->false;
   }
TagsNo tags attached.
browserOpera
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0006811)
thimo (reporter)
2013.01.20 17:42

Should by fixed by the author of MobileESP in the next version.

- Issue History
Date Modified Username Field Change
2013.01.20 13:42 thimo New Issue
2013.01.20 13:42 thimo browser => Opera
2013.01.20 13:42 thimo Web server => Apache 1.3.x
2013.01.20 17:42 thimo Note Added: 0006811
2014.07.03 11:53 plg Category template => mobile


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker