Title: RumGallery Problem
Last modified: August 18, 2016

---

# RumGallery Problem

 *  [maxwellsmart](https://wordpress.org/support/users/maxwellsmart/)
 * (@maxwellsmart)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/)
 * Hi I’ve just installed RumGallery on WP 1.5 and am getting the following error:
   `
   Warning: Cannot set time limit in safe mode in ...html/wp-content/plugins/RumGallery/
   gallery.php on line 2`
 * I am not running php in safe mode. Any suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [rummanddan](https://wordpress.org/support/users/rummanddan/)
 * (@rummanddan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177183)
 * Maxwell, ohh havent tried the gallery at all at php safe mode…
 * You have to remove the line saying set_time_limit(…. at line 2…
 * Try that 🙂
 *  Thread Starter [maxwellsmart](https://wordpress.org/support/users/maxwellsmart/)
 * (@maxwellsmart)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177213)
 * Thanks – that worked but now I keep getting
 * `Warning: SAFE MODE Restriction in effect. The script whose uid is 516 is not
   allowed to access wp-content/gallery owned by uid 48 in wp-content/plugins/gallery.
   php on line 205
    Couldnt create directory, check file rights in directory wp-
   content/gallery)
 * when as far as I can tell PHP is not running in safe mode. At least the ini file
   indicates that it is off….
 * also i have set chmod to 777 on wp-content/gallery
 *  [rummanddan](https://wordpress.org/support/users/rummanddan/)
 * (@rummanddan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177349)
 * It is for sure running in safe mode, hehe, if you have changed the inifile, you
   need to get the apache server restarted before the change is taken in action…
 * Ill have to look into this error, Ill set my own server to run in safe mode tonight…
 *  Thread Starter [maxwellsmart](https://wordpress.org/support/users/maxwellsmart/)
 * (@maxwellsmart)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177499)
 * Hi RummandDan,
 * Thanks, I have restarted the server numerous times and the default for the ini
   was always set to not run in safemode.
 * Could it be because I am using an older version of php?
 * I’ve also got this silly Ensim thing running on my server so not sure if that
   is completely ignoring the ini. Possibily as it ignores a lot of the other standard
   configs.
 *  [rummanddan](https://wordpress.org/support/users/rummanddan/)
 * (@rummanddan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177512)
 * Maxwell, i dont know about that “ensim” thing you mention, but make a page with
   the content <?php phpinfo(); ?>, in there you can see where the php.ini is located
   the php runtime is looking for…
 * Search for:
    Configuration File (php.ini) Path
 *  Thread Starter [maxwellsmart](https://wordpress.org/support/users/maxwellsmart/)
 * (@maxwellsmart)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177514)
 * Ok this is interesting, and sorry for getting off topic…
 * If I `VI` the php.ini it indicates `safe_mode = Off` but when I run phpinfo under
   the heading “Configure Command” it says `'--enable-safe-mode'`.
 * Does that mean my php.ini is being bypassed and safe mode is running?
 *  [crashx](https://wordpress.org/support/users/crashx/)
 * (@crashx)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177520)
 * Seach the output of phpinfo() for “safe_mode”. You’re looking for the instance
   under the “PHP Core” heading. This will tell you if safe_mode is On or Off.
 *  [rummanddan](https://wordpress.org/support/users/rummanddan/)
 * (@rummanddan)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177533)
 * Maxwell you have to recompile php then… to disable it…
 *  Thread Starter [maxwellsmart](https://wordpress.org/support/users/maxwellsmart/)
 * (@maxwellsmart)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177588)
 * I rebuilt the server as it was an old version of php, linux etc – everything 
   is fine now. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘RumGallery Problem’ is closed to new replies.

 * 9 replies
 * 3 participants
 * Last reply from: [maxwellsmart](https://wordpress.org/support/users/maxwellsmart/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/rumgallery-problem/#post-177588)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
