• Resolved Ruzgar Dogu

    (@ruzgar-dogu)


    I installed NextGen gallery but i had problems with uploading, which i could not find a solution. Than i deleted the plugin. And installed 5 or 6 other plugins respectively. But i also deleted them all.

    So i went back to NextGen again. But there was only one navigation to go. “Manage tags” And nothing more.

    Nowhere to create galleries, or no green icon on the MCE Toolbar, which i used to have on my first install.

    For the record. After i deleted NextGen, No other gallery plugins also had an icon on the MCE toolbar.

    I use WP 4.0. And i don’t believe i have any conflicting plugins.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Ruzgar Dogu

    (@ruzgar-dogu)

    I guess i was wrong. Because, when i logged in to phpMyAdmin, i saw that, there are some tables related to the plugins i deleted.

    The tables remained, as i did not delete the galleries before i uninstalled the plugin itself.

    So although that very problem, i mentioned before, passed away, there is another problem.

    I installed the latest NGG. But it seems, i do not have permissions to access any NGG pages. Which reminds me that, when i had the earlier problem i still did have that permission issue.

    When i saw that there was no gallery tab before, i tried to enter NGG page manually, by direct link. But was not able to get in, because of the same problem which told me that
    “you do not have sufficient permissions to access this page”

    So i still can’t create galleries, because WP does not allow me to.

    Plugin Contributor photocrati

    (@photocrati)

    @ruzgar Dogu – You may need our external Reset Tool plugin. Please send us a Bug Report (https://www.nextgen-gallery.com/report-bug/ … please reference this topic) so we can get that file out to you.

    Thanks!

    – Cais.

    Thread Starter Ruzgar Dogu

    (@ruzgar-dogu)

    Thank you very much @photocrati, Cais.

    I didn’t do anything at all, but the problem has somehow gone, bringing a new problem where your green icon on post editor page is missing.

    But i already opened a new thread related to that issue which you replied. I think we can go on from there.

    Thanks again.

    – Ruzgar

    Plugin Contributor photocrati

    (@photocrati)

    @ruzgar Dogu – Thanks! I just responded to the other topic.

    – Cais.

    Faced with the same problem after removing the module and update WordPress.
    Roles for administrator i write bellow.
    I don’t know how it happened, but I just had added the roles of.

    So, this how i solved(may be useful to someone):
    [backticks]
    $str = SELECT option_value FROM wp_options WHERE option_name = ‘wp_user_roles’
    $str = unserialize($str);
    $str[‘administrator’][‘capabilities’][‘NextGEN Gallery overview’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Use TinyMCE’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Upload images’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Manage gallery’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Manage tags’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Manage others gallery’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Edit album’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Change style’] = 1;
    $str[‘administrator’][‘capabilities’][‘NextGEN Change options’] = 1;
    $str = serialize($str);
    UPDATE wp_options SET option_value = $str WHERE option_name = ‘wp_user_roles’
    [/backticks]
    Roles:
    [administrator] => Array
    (
    [name] => Administrator
    [capabilities] => Array
    (
    [switch_themes] => 1
    [edit_themes] => 1
    [activate_plugins] => 1
    [edit_plugins] => 1
    [edit_users] => 1
    [edit_files] => 1
    [manage_options] => 1
    [moderate_comments] => 1
    [manage_categories] => 1
    [manage_links] => 1
    [upload_files] => 1
    [import] => 1
    [unfiltered_html] => 1
    [edit_posts] => 1
    [edit_others_posts] => 1
    [edit_published_posts] => 1
    [publish_posts] => 1
    [edit_pages] => 1
    [read] => 1
    [level_10] => 1
    [level_9] => 1
    [level_8] => 1
    [level_7] => 1
    [level_6] => 1
    [level_5] => 1
    [level_4] => 1
    [level_3] => 1
    [level_2] => 1
    [level_1] => 1
    [level_0] => 1
    [edit_others_pages] => 1
    [edit_published_pages] => 1
    [publish_pages] => 1
    [delete_pages] => 1
    [delete_others_pages] => 1
    [delete_published_pages] => 1
    [delete_posts] => 1
    [delete_others_posts] => 1
    [delete_published_posts] => 1
    [delete_private_posts] => 1
    [edit_private_posts] => 1
    [read_private_posts] => 1
    [delete_private_pages] => 1
    [edit_private_pages] => 1
    [read_private_pages] => 1
    [delete_users] => 1
    [create_users] => 1
    [unfiltered_upload] => 1
    [edit_dashboard] => 1
    [update_plugins] => 1
    [delete_plugins] => 1
    [install_plugins] => 1
    [update_themes] => 1
    [install_themes] => 1
    [update_core] => 1
    [list_users] => 1
    [remove_users] => 1
    [add_users] => 1
    [promote_users] => 1
    [edit_theme_options] => 1
    [delete_themes] => 1
    [export] => 1
    [NextGEN Manage tags] => 1
    [NextGEN Manage others gallery] => 1
    [exec_php] => 1
    [edit_others_php] => 1
    [NextGEN Attach Interface] => 1
    )

    Plugin Contributor photocrati

    (@photocrati)

    @dases – It would be best for you to start your own topic as per the forum rules here: https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

    – Cais.

    @photocrati – I don’t need help, I wrote a solution to the problem.
    Sorry that did not get into the rules, but it was done intentionally, as this thread first in the search in Google. Hope this helps those who get this problem and they will not have long to search.

    Plugin Contributor photocrati

    (@photocrati)

    @dases – My apologies, I didn’t realize that is what you were trying to do … and at a glance, it would be much easier for people experiencing similar issues to try the Reset Option under Gallery > Other Options (if available) or contact us to get the external Reset Tool plugin (which does the same thing).

    Thanks for sharing the above.

    – Cais.

    Hi
    after a rollback from a perfectly working backup the gallery admin is not showing up except Tags Roles and Reset/Uninstall
    on the pages my galleries are showing but i am unable to add new pictures
    so i think @dases solution might work i just did not understand where you added all that administrator roles, please explane a bit more, which file should i edit? where exactly to add all that? I tried Reset and it erased my galleries from database i had to import again the backup database, i dont have Other options
    Or where can i get the external Reset Tool plugin?
    I must use an old version of wordpress with everithing as it was working together with all my plugins also the next gen gallery is an older version, so i just want them to work together as in the backup.
    Please help
    Thanks

    @katzka , all permissions saved in DB table wp_options where field option_name = ‘wp_user_roles’
    It is stored as а serialized string, you need select this string, unserialize it. After you unserialize string, you get array.
    Add to that array this field:

    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Gallery overview'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Use TinyMCE'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Upload images'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Manage gallery'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Manage tags'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Manage others gallery'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Edit album'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Change style'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Change options'] = 1;

    Then you need to update field value in DB table wp_options where field option_name = ‘wp_user_roles’. Serialize you new array and put gatted string in table wp_options where field option_name = ‘wp_user_roles’.

    P.S. realy, you do not need modify any files on wordpress, use online php code writer, like this: https://writecodeonline.com/php/

    $array_from_unserialize_string = unserialize('STRING FROM DB');
    //
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Gallery overview'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Use TinyMCE'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Upload images'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Manage gallery'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Manage tags'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Manage others gallery'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Edit album'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Change style'] = 1;
    $array_from_unserialize_string['administrator']['capabilities']['NextGEN Change options'] = 1;
    //
    $new_string_to_db_table = serialize($array_from_unserialize_string);
    print $new_string_to_db_table;
    Plugin Contributor photocrati

    (@photocrati)

    @katzka – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

    – Cais.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Gallery tab missing, only manage tags’ is closed to new replies.