[CLOSED] Fatal error: Uncaught exception

bavarian - December 20, 2008 - 18:43
Project:PHPIDS
Version:6.x-1.7
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

After installation I have been trying to test if PHPIDS s start logging ...

But i ended up with the following (just from entering the base URL) www.mydomain.com

Fatal error: Uncaught exception 'Exception' with message 'Cache file couldn't be created' in
/home/xxx/public_html/mydomain/sites/all/modules/phpids/IDS/Caching/File.php:138 Stack trace: #0
/home/xxx/public_html/mydomain/sites/all/modules/phpids/IDS/Filter/Storage.php(264): IDS_Caching_File->setCache(Array) #1
/home/xxx/public_html/mydomain/sites/all/modules/phpids/IDS/Filter/Storage.php(107): IDS_Filter_Storage->getFilterFromXML() #2
/home/xxx/public_html/mydomain/sites/all/modules/phpids/IDS/Monitor.php(185): IDS_Filter_Storage->__construct(Object(IDS_Init)) #3
/home/xxx/public_html/mydomain/sites/all/modules/phpids/phpids.module(81): IDS_Monitor->__construct(Array, Object(IDS_Init)) #4
/home/xxx/public_html/mydomain/includes/module.inc(471): phpids_init() #5
/home/xxx/public_html/mydomain/includes/common.inc(2563): module_invoke_all() #6
/home/xxx/public_html/mydomain/includes/bootstrap.inc(1050): _drupal_bootstrap_full() #7
/home/xxx/public_html/mydomain/includes/bootstrap. in
/home/xxx/public_html/mydomain/sites/all/modules/phpids/IDS/Caching/File.php on line 138

the directory IDS/tmp in /home/xxx/public_html/mydomain/sites/all/modules/phpids/IDS/tmp does show permissons 666 (which i assume is correct). so i have not the slightest idea what could be the reason for this error ...

please help !

#1

bavarian - December 20, 2008 - 19:55

when changing permissions of the directory IDS/tmp from 666 to 777 everything seems to work now. but wondering if 777 would be ok to keep for this directory ?

#2

Gos77 - December 25, 2008 - 09:26

please try out 770 permissions. I think this could be enough to write the caching files if the user/group combinations on your webserver are correct.

#3

bavarian - February 20, 2009 - 18:40

yes, even with permissions set to 770 for this folder IDS/tmp everything seems to work fine.

thank you!

#4

Gos77 - February 23, 2009 - 08:33
Title:Fatal error: Uncaught exception» [CLOSED] Fatal error: Uncaught exception
Status:active» closed

closed

 
 

Drupal is a registered trademark of Dries Buytaert.