Question about error

cajuntechie wrote on Tuesday, May 10, 2005:

Hello Everyone,

I’ve setup OpenEMR on a number of servers but have never encountered the error quoted below before. I’m assuming that it has something to do with writing permissions but the error appears even after I’ve given the directory and its contents world write permissions. Anyone willing to clue me in?

The error is:

Warning: Smarty error: problem creating directory "/%%164/%%1643473877" in /usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/pnincludes/Smarty/Smarty.class.php on line 589

Thanks!
Anthony

drbowen wrote on Tuesday, May 10, 2005:

try changing the owner to the user:group of your webserver. In my case as root

chown nobody:nobody ~/pnincludes -R

(Put in your true path of course)

lobach_sf wrote on Wednesday, June 22, 2005:

I had to do something different… I had to create the directory

/var/www/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

drbowen wrote on Wednesday, June 22, 2005:

/usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/compiled
/usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/cache

both have to be in existence before you

chown  nobody:nobody /usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/compiled

chown  nobody:nobody /usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/cache

you will need to substitute the correct user and group for your Apache web server.

some users have to also:

chmod 777 /usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/compiled

chmod 777 /usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/cache

to get things to work correctly.

drbowen wrote on Wednesday, June 22, 2005:

I’m sorry, I was typing a little to fast, the correct paths are:

/usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/pntemplates/compiled

/usr/local/apache/htdocs/interface/main/calendar/modules/PostCalendar/pntemplates/cache