• Resolved FoxBJK

    (@foxbjk)


    First, I should mention that I and the host for the site, so let me know if I need to inspect anything in the command line. Anyways, since updating, the plugin always tells me

    Directory wp-content/gallery/ is not writeable !

    When I try to create a gallery. I see no PHP errors in the error_log, debug logging is enabled for WordPress, but I’m not getting anything. I have no problems creating this directory via SSH or FTP, so I have no clue why I’m getting a permissions error. The directory (and parent dir) have permissions set to 775; owned by this user.

    What the heck is going on!?

    https://www.ads-software.com/extend/plugins/nextgen-gallery/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I’ve the same problem on my local hosted wordpress blog on Fedora 17.
    Wordpress version: 3.4.2
    NextGEN Gallery version: 1.9.10
    PHP version: 5.4.9
    Apache version: 2.2.22-4.fc17

    The httpd is running with the apache user

    I’ve made the following changes to /usr/share/wordpress and all files and subfolders in order to resolve the problem:

    chown -R apache: *
    chmod -R 777 *

    but the problem remains: I can’t be able to add new galleries.

    Any help is appreciated.
    Thanks.

    Massimo

    I have a different but similar problem, can you please enlighten how this problem has been resolved?

    Mine is a fail 99 ‘Insufficient permissions. Method requires read privileges; none granted problem, at drop down menu in new post.

    Thread Starter FoxBJK

    (@foxbjk)

    In my case, it really did boil down to a permissions issue. I have a custom group set so that I can give read and write permissions en masse. However, somehow the Apache and FTP users were removed. So, I readded them, restarted Apache, and problem solved!

    If you switch over to the Apache user in the command line, can you create files and directories?

    Hi FoxBJK,

    I logged in using apache user and I’m able to create files and folder into /usr/share/wordpress/wp-content/gallery/ (my wordpress installation is located in /usr/share/wordpress)

    Hi,

    I checked into /var/log/httpd/error_log and when I try to create the gallery I got the following error logs:

    [Wed Jan 09 00:00:12 2013] [error] [client 192.168.1.3] PHP Notice:  register_uninstall_hook was called <strong>incorrectly</strong>. Only a static class method or function can be used in an uninstall hook. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.) in /usr/share/wordpress/wp-includes/functions.php on line 2758, referer: https://192.168.1.11/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    [Wed Jan 09 00:00:12 2013] [error] [client 192.168.1.3] PHP Notice:  Undefined index: type in /usr/share/wordpress/wp-content/plugins/oqey-gallery/gallcore.php on line 252, referer: https://192.168.1.11/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    [Wed Jan 09 00:00:12 2013] [error] [client 192.168.1.3] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /usr/share/wordpress/wp-includes/functions.php on line 2722, referer: https://192.168.1.11/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    [Wed Jan 09 00:00:12 2013] [error] [client 192.168.1.3] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /usr/share/wordpress/wp-includes/functions.php on line 2722, referer: https://192.168.1.11/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    [Wed Jan 09 00:00:12 2013] [error] [client 192.168.1.3] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /usr/share/wordpress/wp-includes/functions.php on line 2722, referer: https://192.168.1.11/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    [Wed Jan 09 00:00:12 2013] [error] [client 192.168.1.3] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /usr/share/wordpress/wp-includes/functions.php on line 2722, referer: https://192.168.1.11/wordpress/wp-admin/admin.php?page=nggallery-add-gallery
    Thread Starter FoxBJK

    (@foxbjk)

    Ok….. those are some pretty strange errors to get when you’re trying to create a gallery. At this point I’m purely guessing, but out of curiosity what happens when you run a config check on your httpd.conf file?

    service httpd configtest
    service httpd fullstatus may help too, but like I said, I have no clue what your issue is

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Permissions Error since WP and Plugin Upgrade’ is closed to new replies.