Trouble with IIS Install
Posted: Wed Aug 15, 2012 4:40 pm
Hi -- I'm a web developer that works in a windows based CGI scripting language. I need my web application to be more mobile-device aware and I found WURFL while searching the web.
PHP is not my primary development language but I should be able to stumble through it. The web server, being windows based, is running IIS6.
When I attempt to run the examples/demo I get the following error:
Fatal error: Uncaught exception 'Exception' with message 'There is no device with ID [generic] in the loaded WURFL Data' in C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php:105 Stack trace: #0 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php(70): WURFL_CustomDeviceRepository->getDevice('generic') #1 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php(63): WURFL_CustomDeviceRepository->init() #2 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\DeviceRepositoryBuilder.php(93): WURFL_CustomDeviceRepository->__construct(Object(WURFL_Storage_File), Array) #3 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\WURFLManagerFactory.php(150): WURFL_DeviceRepositoryBuilder->build('C:\Websites\XXX...', NULL) #4 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\WURFLManagerFactory.php(134): WURFL_WURFLManagerFactory->deviceRepository(Object(WURFL_Storage_File), Object(WURFL_UserAgentHandlerChain)) #5 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\WURFLManagerFactory.php(77): WURF in C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php on line 105
Seems like it is not accessing the primary WURFL XML reference file... I have created write permissions to the WURFL folder and all its subfolders . I noted entries going into the cache folder when I attempt the demo.
Any idea what could be wrong? Thanks much for any assistance.
PHP is not my primary development language but I should be able to stumble through it. The web server, being windows based, is running IIS6.
When I attempt to run the examples/demo I get the following error:
Fatal error: Uncaught exception 'Exception' with message 'There is no device with ID [generic] in the loaded WURFL Data' in C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php:105 Stack trace: #0 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php(70): WURFL_CustomDeviceRepository->getDevice('generic') #1 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php(63): WURFL_CustomDeviceRepository->init() #2 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\DeviceRepositoryBuilder.php(93): WURFL_CustomDeviceRepository->__construct(Object(WURFL_Storage_File), Array) #3 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\WURFLManagerFactory.php(150): WURFL_DeviceRepositoryBuilder->build('C:\Websites\XXX...', NULL) #4 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\WURFLManagerFactory.php(134): WURFL_WURFLManagerFactory->deviceRepository(Object(WURFL_Storage_File), Object(WURFL_UserAgentHandlerChain)) #5 C:\Websites\XXXXXXXXX\WURFL-API\WURFL\WURFLManagerFactory.php(77): WURF in C:\Websites\XXXXXXXXX\WURFL-API\WURFL\CustomDeviceRepository.php on line 105
Seems like it is not accessing the primary WURFL XML reference file... I have created write permissions to the WURFL folder and all its subfolders . I noted entries going into the cache folder when I attempt the demo.
Any idea what could be wrong? Thanks much for any assistance.