Installation problems

Installing and configuring Tera-WURFL on your server.

Installation problems

Postby frha » Sun May 30, 2010 1:47 pm

Hello, A total newbee here. Can someone please help me explain these errors and maybe give a hint on possible soloutions. The first I get. Apparently my server doesn't allow set_time_limit. I can probably live with that.
But the errors conserning simplexml_load_file I don't understand.

I have $OVERRIDE_MEMORY_LIMIT=true and $MEMORY_LIMIT = "512M" but have also tried with different settings before.

Thanks in advance,
/frha

------------------------------------------------------------------------------------------------------------------------
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit due to system policy in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/admin/updatedb.php on line 31

Warning: simplexml_load_file() [function.simplexml-load-file]: (null)(null)/customers/estory.se/estory.se/httpd.www/Tera-WURFL/data/wurfl.xml:135652: parser error : out of memory error in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 37

Warning: simplexml_load_file() [function.simplexml-load-file]: <device id="hdml_mcc6_ver1_sub31026" user_agent="UP.Browser/3.1.02-MCC6" fall_ in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 37

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 37

Warning: simplexml_load_file() [function.simplexml-load-file]: (null)/customers/estory.se/estory.se/httpd.www/Tera-WURFL/data/wurfl.xml:135652: parser error : out of memory error in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 37

Warning: simplexml_load_file() [function.simplexml-load-file]: <device id="hdml_mcc6_ver1_sub31026" user_agent="UP.Browser/3.1.02-MCC6" fall_ in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 37

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 37

Notice: Trying to get property of non-object in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 76

Notice: Trying to get property of non-object in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 76

Warning: Invalid argument supplied for foreach() in /customers/estory.se/estory.se/httpd.www/Tera-WURFL/TeraWurflXMLParsers/TeraWurflXMLParser_SimpleXML.php on line 76
Database Update OK
--------------------------------------------------------------------------------
Total Time: 0.578943967819
Parse Time: 0.249924898148 (TeraWurflXMLParser_SimpleXML)
Validate Time: 2.88486480713E-5
Sort Time: 0.0284230709076
Patch Time: 0.0536150932312
Database Time: 0.236931085587
Cache Rebuild Time: 0.0100209712982
Number of Queries: 129
PHP Memory Usage: 1.15 MB
--------------------------------
WURFL Version: ()
WURFL Devices: 0
PATCH New Devices: 40
PATCH Merged Devices: 0

--------------------------------------------------------------------------------
Return to administration tool.

--------------------------------------------------------------------------------------------------------------
frha
 
Posts: 2
Joined: Sun May 30, 2010 1:43 pm

Re: Installation problems

Postby kamermans » Sun May 30, 2010 2:01 pm

The memory problem is because even though you've told PHP that you need more memory, your hosting provider still limits the available memory per-process. There's a more in-depth explanation here. I would recommend using a smaller WURFL file, you can download the WURFL Customizer which lets you strip the capabilities that you're not going to use out of the WURFL - check out this YouTube video to see how it works.
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: Installation problems

Postby frha » Sun May 30, 2010 3:01 pm

Thanks Steve.

That sounds great as I basically only want to to know whether or not it is a wiresless, or handheld, device.

Regards
/Fredrik
frha
 
Posts: 2
Joined: Sun May 30, 2010 1:43 pm


Return to Installation / Configuration

Who is online

Users browsing this forum: No registered users and 2 guests