Forum

Thread tagged as: Problem, Error, Blog

Editor role using Blog app

Have latest version of perch and Blog app. Have added blog permissions to Editor role. Admin role has access to Blog admin without issues but when logged in as Editor getting this error when clicking on Blog admin link

Fatal error: Class 'PerchCategories_Categories' not found in /home/youandsea/public_html/perch/addons/apps/perch_blog/modes/list.pre.php on line 36

Works fine on my laptop locally using same Perch/Blog/PHP version

Please advise Thanks

Perch: 2.8.15, PHP: 5.3.29, MySQL: 5.5.45, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.15), assets (2.8.15), categories (2.8.15), perch_blog (5.0), perch_backup (1.2)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/youandsea/public_html/perch
PERCH_CORE: /home/youandsea/public_html/perch/core
PERCH_RESFILEPATH: /home/youandsea/public_html/perch/resources
Image manipulation: GD
PHP limits: Max upload 100M, Max POST 100M, Memory: 128M, Total max file upload: 100M
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/youandsea/public_html
HTTP_HOST: youandsea.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Keith Winter

Keith Winter 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you saying you get the error in one environment and not another?

Yes although I have same PHP version running on my laptop as online. When logged in as Admin everything works fine, only get the blank page and PHP error when loggedin as perch Editor. Can you suggest anything I can check with server guys that might affect the blog only? Editor role can happily edit pages, upload assets etc just not access the Blog admin. Thanks

Drew McLellan

Drew McLellan 2638 points
Perch Support

No suggestions currently - I'll look into it.

Hi Drew Any idea yet on where to look for a solution to this? Would you suggest replacing core and blog folders with fresh copies in case a file got damaged during upload etc? Thanks Keith

Drew McLellan

Drew McLellan 2638 points
Perch Support

I think it's something we'll need to address in the next update.

Ah ok thanks. I'll make the editor an admin then to get round it online. Interested to know why it works on my local MAMP install though? cheers Keith