Photospace Gallery
Can't access options page (4 posts)

  1. Steve
    Posted 3 years ago #


    Love the plugin.

    Don't seem to be able to access the options page any more on a couple of installs using Photospace, and therefore can only change default size settings directly in database.

    The options page is not appearing in admin menu and trying to access it directly (.../wp-admin/options-general.php?page=photospace/photospace.php) while logged in brings up a 'You do not have sufficient permissions to access this page' message.

    Help appreciated.


  2. wp_kc
    Posted 2 years ago #

    I had this same problem and finally tracked it down to a conflict with the Better WP Security plug-in. If you use that plug-in, you need to disable the "Turn off file editor in WordPress Back-end" in the Tweaks tab.

    If you aren't using that plug-in, search your wp-config.php file for something like this...

    define( 'DISALLOW_FILE_EDIT', true );

    If you find anything like that, you need to comment it out.

    If you are concerned about security, you can turn file editing on long enough to set the Photospace Options, then turn it back off again.

    I have no idea why Photospace breaks when this security feature is turned on.

  3. Badlywired
    Posted 2 years ago #

    Yes, and therefore doesn't work in sites where the admin can't 'edit theme' php / css files.

    it is caused by this line

    add_menu_page('Photospace options', 'Photospace Gallery Options', 'edit_themes', basename(__FILE__), array('photospace_plugin_options', 'display'));

    which should be better served by a different capability e.g. edit_theme_options which refers to things like background, rather than edit_theme which refers to the capability to edit the actual theme php / css files

    add_menu_page('Photospace options', 'Photospace Gallery Options', 'edit_theme_options', basename(__FILE__), array('photospace_plugin_options', 'display'));

    I would propose the developer makes this small change.

  4. THRIVE - Web Design Gold Coast
    Plugin Author

    Posted 2 years ago #

    Thanks, I'll look at this for the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Photospace Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.