I am sure I have the set-up wrong somewhere, but effectively installed the directories as in WURFL zipfile so I could test the demo on the sever. WHen I run I am getting the following error Fatal Error: Uncaught Exception with message 'no capability name[brand_name] - see full message from screen capture on mobile. Does the same on all platforms, but cant track down where it is going wrong.
Any help appreciated as I sure it is something stupid.
It is running on a unix box with PHP Version 5.4.20.
Demo not working: no capability name[brand_name]
Demo not working: no capability name[brand_name]
- Attachments
-
- Screenshot_2013-10-07-11-27-17.png (139.74 KiB) Viewed 45493 times
Re: Demo not working: no capability name[brand_name]
Sorry for the trouble. This error is caused by the default configuration - we will fix it an re-release it ASAP, but in the meantime, here's what you can do.
Open the file and find this section:
Now, either remove that block entirely. It is loading only a handful of capabilities, but the demo/index.php page is using some that have not been specified.
Next, delete these folders:
Now, when you go back to the demo page, everything will work properly.
Open the file
Code: Select all
examples/demo/inc/wurfl_config_standard.php
Code: Select all
// Optionally specify which capabilities should be loaded
$wurflConfig->capabilityFilter(array(
'is_wireless_device',
'preferred_markup',
'xhtml_support_level',
'xhtmlmp_preferred_mime_type',
'device_os',
'device_os_version',
'is_tablet',
'mobile_browser_version',
'pointing_method',
'mobile_browser',
'resolution_width',
));
Next, delete these folders:
Code: Select all
examples/resources/storage/cache
examples/resources/storage/persistence
Thanks,
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: Demo not working: no capability name[brand_name]
1.5.0.1 has just been released. Thank you
Re: Demo not working: no capability name[brand_name]
Thank you so much for a prompt reply - that fixed it and the demo is now working.
Just for education - does the capability filter help towards performance if used?
Kind regards, Chris.
Just for education - does the capability filter help towards performance if used?
Kind regards, Chris.
Re: Demo not working: no capability name[brand_name]
Glad to hear you're up and running! Yes, the performance will be increased if capability filtering is used, but it's typically only noticeable on high-traffic sites. It also decreases the size of the persistence folder and the cache (whether on disk or otherwise).
Thanks,
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Re: Demo not working: no capability name[brand_name]
Thank you - helpful!
Chris.
Chris.
Who is online
Users browsing this forum: No registered users and 3 guests