Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter WURFL API Wrapper Library
#2

[eluser]holly123[/eluser]
first at all:

hi to all in this forum. i'm new here because i really exited about codeigniter...

now i wanted to build a webpage for mobile phones and tried to use the wurfl-database but it won't work. if i trie to read the device-capabilities there is alway a buffer-overflow..

i copied the wurfl-library in the /applications/libraries - folder
then i copied the wurfl.xml, web_browser_patch.xml and wurfl-config.xml in the /applications/config - folder
and created a folder /applications/config/cache

so, now alway when i try to get the device-capabilities with:
Code:
$this->load->library('wurfl');
$this->wurfl->load($_SERVER['HTTP_USER_AGENT']);
        
$data['jpg_supported'] = $this->wurfl->getCapability('jpg') ? true : false;


i'll get the following error:
Code:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 524377 bytes) in D:\xampp\htdocs\philipp\CodeIgniter_1.7.1\system\application\libraries\WURFL\FileManager.php on line 84


edit: i forgot to post the error-description from codeigniter:
Code:
A PHP Error was encountered

Severity: Notice

Message: Indirect modification of overloaded property WURFL_Xml_ParsingResult::$devicesMap has no effect

Filename: Xml/XMLResourceManager.php

Line Number: 112



my wurfl-config.xml is:

Code:
<wurfl-config>
    <wurfl>
        <main-file>wurfl.xml</main-file>
    </wurfl>
    <persistance>
      <provider>file</provider>
      <params>dir=cache</params>
    </persistance>
    <cache>
      <provider>null</provider>
    </cache>
</wurfl-config>



please help me! - thank you!

best,
holly


Messages In This Thread
CodeIgniter WURFL API Wrapper Library - by El Forum - 12-24-2008, 05:57 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-01-2009, 06:55 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-01-2009, 08:12 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-01-2009, 09:00 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-09-2009, 10:54 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-10-2009, 01:10 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-10-2009, 09:51 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 04-12-2009, 01:29 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 04-13-2009, 07:38 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 04-15-2009, 04:18 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 09-22-2009, 06:04 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 10-30-2009, 08:53 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 11-01-2009, 07:17 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 11-01-2009, 08:41 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 01-03-2010, 09:20 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 01-16-2010, 01:06 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 08-10-2010, 06:26 PM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-01-2012, 11:24 AM
CodeIgniter WURFL API Wrapper Library - by El Forum - 03-01-2012, 11:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB