Support Forum

Missing Plugin/Theme options on Admin Panel

JB John Belkewitch
John Belkewitch
Member

Just upgraded to 5.0.4

However, Themes and Plugins options/menus are missing from the forum admin panel.  I do have the folders listed under  the sp-resources folder, and have also uploaded several plugins (via FTP), yet no options are available.

I am getting these errors in the log:

file: /simple-press/sp-api/sp-api-plugins.php
line: 80
function: Unavailable
Warning | closedir(): supplied argument is not a valid Directory resource

 

file: /simple-press/admin/library/spa-support.php
line: 201
function: Unavailable
Warning | opendir(/wp-content/plugins/simple-forum/styles/icons/default/custom//) [function.opendir]: failed to open dir: No such file or directory

 

file: /simple-press/admin/library/spa-support.php
line: 201
function: Unavailable
Warning | opendir(/wp-content/plugins/simple-forum/styles/icons/default/custom//) [function.opendir]: failed to open dir: No such file or directory

Not sure where to change the custom icon directory to.  Also, not sure how to address the first error.

Any help would be greatly appreciated.

16 Answers

New Answer

MP Mr Papa
Mr Papa
Member

upgraded from which version?  pre 5.0?

do you have ssh access to your server?  please check the permissions and ownership of the wp-content/sp-resources directory…  on some server setups, it is not created correctly though 5.0.3 had an attempt a fix for those odd setups…

would be good to compare the permissions and owners to the wp-content folder itself…

JB John Belkewitch
John Belkewitch
Member

Upgrade from 4.4.5

I checked the permissions and ownership, and sp-resources matches that of wp-content.

MP Mr Papa
Mr Papa
Member

so what is the ownership?  namely looking for the uid and gid…  from your first message, appears not accessible by web user…

JB John Belkewitch
John Belkewitch
Member

so what is the ownership?

Apologies, thought I pasted it to previous reply:

Owner & Group are set with the same ID: dailyper

Permissions (octal): 755, so r/wr/x for the user and r/x for group and world.

MP Mr Papa
Mr Papa
Member

btw, for those last two notices, I would suggest going to forum – integration – storage locations and correcting the custom icons to sp-resources/forum-custom-icons…  its the one location we could not automatically update…

on that same panel, do the forum plugins and forum themes show valid?

when you ftp’ed the plugins up, you did upload the directory and all the files, right? not the zip… so under forum-plugins you would have private-messaging dir, a admin-bar dir, etc for whatever plugins you had…

the ownership looks good which is odd because the first notice is saying the directory is not accessible…

YS Yellow Swordfish
Yellow Swordfish
Member

What about ownership on the sub-folders inside of sp-resources – the forum-plugins and forum-themes folders?

JB John Belkewitch
John Belkewitch
Member

I did upload the directory and all the files – not the zip.

It appears sp-resources/forum-custom-icons does not exist on my server.

Plugins and Themes show valid.  So, yes, I do have valid directories for the plugins I’ve uploaded to sp-resources/forum-plugins.  I also have a sp-resources/forum-language directory with empty simple-press, sp-plugins and sp-themes sub-dirs.

JB John Belkewitch
John Belkewitch
Member

YS, their permissions all check equal to their parent directories as mentioned above.

MP Mr Papa
Mr Papa
Member

if you are not using custom icons, really doesnt matter…  or just create one and set the storage so you dont get the invalid notice…

wait…  do you actually see the plugins and themes admin panel?  and its just empty?  or do you not see the panels in the menu?

JB John Belkewitch
John Belkewitch
Member

Panels don’t show up at all in the menu at all.

When I go to admins-manage admins, I see that I’m set as the admin (both wp and sp) and that all of the capabilities are colored green (including plugins and themes).

MP Mr Papa
Mr Papa
Member

doh! sorry, was misunderstanding you and thought no plugins or themes were showing on them…

so, this means you did not do the upgrade, but another admin, right?  only the admin who did the upgrade gets those permissions…

go to forum – admins – manage admins and add the capabilities for your user to manage themes and plugins…

MP Mr Papa
Mr Papa
Member

wait for your user?

can you go to your db, for this user, and pull out from the wp usermeta table, the wp_capabilities entry?  yours might not be wp_

JB John Belkewitch
John Belkewitch
Member

I was the one that did the upgrade. 

Here are my wp_capabilities from the usermeta table:

a:15:{s:13:”administrator”;s:1:”1″;s:18:”SPF Manage Options”;s:1:”1″;s:17:”SPF Manage Forums”;s:1:”1″;s:22:”SPF Manage User Groups”;s:1:”1″;s:22:”SPF Manage Permissions”;s:1:”1″;s:15:”SPF Manage Tags”;s:1:”1″;s:21:”SPF Manage Components”;s:1:”1″;s:17:”SPF Manage Admins”;s:1:”1″;s:16:”SPF Manage Users”;s:1:”1″;s:19:”SPF Manage Profiles”;s:1:”1″;s:18:”SPF Manage Toolbox”;s:1:”1″;s:24:”SPF Manage Configuration”;s:1:”1″;s:11:”super_admin”;s:1:”1″;s:17:”SPF Manage Themes”;s:1:”1″;s:18:”SPF Manage Plugins”;s:1:”1″;}

MP Mr Papa
Mr Papa
Member

super admin???  lol… wonder what this from…  even wp multisite doesnt use that… odd the two that dont seem to work come after that one…

a bit mystified here…  so you do not see plugins or themes in the far left wp admin menu… or in the accordion menu on another sp admin panenl?  those capability checks are the only ones done – well, logged in too…

are you the only wp and sp admin?