Forum
Paypal shop app not accessible from Editor's Apps menu
When logged in to Perch as an editor, the shop app is not accessible from the Apps menu, even though under Users -> Roles 'Access Shop' is checked (under 'System').
Other than granting the user full admin access, how can I allow an editor to edit the Paypal shop content? i.e. product details.
Can you post your Diagnostics Report?
Have they logged back in since the permissions were changed?
Yes. I just applied the 2.8.18 update today, logged in and out both as admin and editor, still no Shop in the Apps menu when logged in as editor.
I also tried changing a few other editor privileges under System (Change settings / Manage users / View update notices), disabled Access Shop, re-enabled it, etc, all to no avail.
I can't find a reason for this. What version was the Shop when you originally installed it?
Hi Drew, I suspect it started at 1.1.2 (March 2014), upgraded to 1.2 (April 2014), then to 1.2.3 (Sept 2015). Thanks!
Oh heck, just spotted the site is now returning a 500 error - could this be the markitup bug? The site was on 2.8.15 when you announced the bug so I assumed it was OK, unless I forgot to update the markitup editor on the previous update?
It was working fine after the update to 2.8.18; I've just restored the core folder and replace the markitup editor folder with the one from 2.8.18 and it's all working again.
Looks like PerchUtil.class.php disappeared - here's the error log:
I'd recommend putting your
perch/core
folder back.Thanks Drew, I did that and the site is working again so panic over! Though I've no idea why essential core files started disappearing. Hopefully if it was the markitup vulnerability, the update has secured it; would you recommend changing all passwords (FTP, control panel, perch logins, mysql users etc)?
Back to the missing shop link from the editor's Apps menu...
Paypal shop versions went from 1.1.2 (March 2014), upgraded to 1.2 (April 2014), then to 1.2.3 (Sept 2015).
If there's no apparent reason for this, is there some way to hack the link into the Apps menu or anywhere else for that matter?
I enabled the dashboard but the Paypal shop doesn't feature there either for editors or admins. Any suggestions welcome! Thanks again.
In the
perch_shop_paypal/admin.php
file the app is registered. It has a privilege check wrapped around it.This is the contents of perch_shop_paypal/admin.php - anything amiss here?
No, that's what it's supposed to look like.
So 'Shop' should appear in the editors' Apps menu once 'Access Shop' is checked in editor's roles?
The editor can access the shop page in perch via a direct link, i.e. https://domain.com/perch/addons/apps/perch_shop_paypal/ when they're logged in - is there a way to just manually add this to the admin interface somehow?
You could try changing this:
to
Thanks Drew, that did the trick!