Forum

Thread tagged as: Problem

Can't define users after upgrade

Upgrade was successful from 2.4.8 to 2.6.6 but clicking Users now dumps me out of admin back to the website homepage. Two defined users profiles remain active but I can't define new ones.

Issue I was trying to solve when I discovered this is that uploaded images via ckedit, though they appear in perch/resources, and show in the editor, and the html code is ok, they don't display on the website (only the alt code is displayed, meaning I suppose that the resource folder is not found).

Health check ok: PHP 5.4.32 is up to date. All folders permissions=755

Jerry White

Jerry White 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we please see your Diagnostics Report?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are there any errors logged in your server's PHP error log?

yes, mnay lines identical to the following:

PHP Warning: include(): Failed opening '/home6/astorib1/public_html/perch/addons/apps/categories/runtime.php' for inclusion (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home6/astorib1/public_html/perch/config/apps.php on line 3

<?php
    include(PERCH_PATH.'/core/apps/content/runtime.php');
    include(PERCH_PATH.'/addons/apps/categories/runtime.php');
    ?>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, well there's something to fix:

include(PERCH_PATH.'/core/apps/categories/runtime.php');

I wouldn't expect that to affect this, but you never know.

Yes, you're right; It did not affect the users.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, so is there anything else in the log now that's dealt with?

I found it. A redirect in .htaccess on user(.*) Arrgh! Thanks for your help. Now it's back to researching why images aren't displaying from perch/resources. Is defining a bucket required?

Drew McLellan

Drew McLellan 2638 points
Perch Support

No, that's not required.