Fatal error: Uncaught exception 'Exception' with message 'Th
Posted: Fri Nov 02, 2012 6:22 am
Hello,
the WURFL API works fine in my local server (xampp), but on my web it appears:
Fatal error: Uncaught exception 'Exception' with message 'There is no device with ID [generic] in the loaded WURFL Data' in /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php:104 Stack trace: #0 /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php(70): WURFL_CustomDeviceRepository->getDevice('generic') #1 /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php(63): WURFL_CustomDeviceRepository->init() #2 /hosting/www/rewindthecity.es/public/wurfl/WURFL/DeviceRepositoryBuilder.php(91): WURFL_CustomDeviceRepository->__construct(Object(WURFL_Storage_File), Array) #3 /hosting/www/rewindthecity.es/public/wurfl/WURFL/WURFLManagerFactory.php(150): WURFL_DeviceRepositoryBuilder->build('/hosting/www/re...', NULL) #4 /hosting/www/rewindthecity.es/public/wurfl/WURFL/WURFLManagerFactory.php(134): WURFL_WURFLManagerFactory->deviceRepository(Object(WURFL_Storage_File), Object(WURFL_UserAgentHandlerChain)) #5 /hosting/www/rewindthecity.es/public/wurfl/WURFL/WURFLManager in /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php on line 104
After reading another post below, I changed the chmod and made the folder writable, but the error message hasn't gone.
What can the problem be?
Thanks a lot and sorry about my english
the WURFL API works fine in my local server (xampp), but on my web it appears:
Fatal error: Uncaught exception 'Exception' with message 'There is no device with ID [generic] in the loaded WURFL Data' in /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php:104 Stack trace: #0 /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php(70): WURFL_CustomDeviceRepository->getDevice('generic') #1 /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php(63): WURFL_CustomDeviceRepository->init() #2 /hosting/www/rewindthecity.es/public/wurfl/WURFL/DeviceRepositoryBuilder.php(91): WURFL_CustomDeviceRepository->__construct(Object(WURFL_Storage_File), Array) #3 /hosting/www/rewindthecity.es/public/wurfl/WURFL/WURFLManagerFactory.php(150): WURFL_DeviceRepositoryBuilder->build('/hosting/www/re...', NULL) #4 /hosting/www/rewindthecity.es/public/wurfl/WURFL/WURFLManagerFactory.php(134): WURFL_WURFLManagerFactory->deviceRepository(Object(WURFL_Storage_File), Object(WURFL_UserAgentHandlerChain)) #5 /hosting/www/rewindthecity.es/public/wurfl/WURFL/WURFLManager in /hosting/www/rewindthecity.es/public/wurfl/WURFL/CustomDeviceRepository.php on line 104
After reading another post below, I changed the chmod and made the folder writable, but the error message hasn't gone.
What can the problem be?
Thanks a lot and sorry about my english