Gallery 2 Problem

Hey everyone. I’ve been using gallery for quite some time and haven’t had any problems. Today, I got the following message:


  • in modules/core/classes/GalleryTemplate.class at line 270 (GalleryStatus::error)
  • in modules/core/classes/GalleryTemplate.class at line 222 (GalleryTemplate::_initCompiledTemplateDir)
  • in main.php at line 318 (GalleryTemplate::display)
  • in main.php at line 87
  • in main.php at line 80.

Long story short, this error is caused by the gallery data directory not being writeable. This is where it gets interesting. I have tried chmod’ing the directory to 744 and 774, which should be adequate, given that PHP runs as myself. I’ve never had this problem before, nor have I ever 777’ed this directory. There’s no reason I should have to 777 it. Anyone having a similar experience?

So it appears that for whatever reason, PHP scripts started to run as user dhapache rather than as me, even though my panel says otherwise. I’m currently in touch with support regarding this issue.