We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Error

Upgrade to 2.8.26 preventing login

I ugraded a site yesterday to 2.8.26 and was unable to log in afterwards. When I entered my password it took me to: http://example.com/perch/?r=%2Fcms%2Fcore%2Fapps%2Fcontent%2F but I remained on the login page. The password reset didn't send an email (didn't get from the website to Postmark, the service I've got dealing with emails).

With that site I just deleted it all and reinstalled perch as it was an old site with only 1 editable field (a news ticker on the homepage). Put it down to something I must've done wrong.

It has happened again this morning when I replaced /core/ on a different project. Unfortunately this is a fully perch-driven site so I've rolled back the database and the 2.8.26 code (back to 2.8.21).

Do you know what might be going wrong?

Thanks,

Martin.

Martin Underhill

Martin Underhill 5 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Did you run the update?

I couldn't log in for it to run :(

Actually, I didn't need to install the starting db as it didn't run the update! Just reset my head to the previous commit and I can log in ok.

so it's the code in /core/ somewhere between 2.8.21 and 2.8.26

Actually, I updated a site earlier in the week and it works. These are the diagnostics:

Perch: 2.8.26, PHP: 5.5.9-1ubuntu4.14, MySQL: 5.5.47, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), perch_blog (5.0), perch_forms (1.8.3), perch_members (1.2), perch_backup (1.2)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', 'perch_members', 'perch_blog', ); ?>
PERCH_LOGINPATH: /cms
PERCH_PATH: /srv/www/gustoresearch.com/web/cms
PERCH_CORE: /srv/www/gustoresearch.com/web/cms/core
PERCH_RESFILEPATH: /srv/www/gustoresearch.com/web/cms/resources
Image manipulation: GD Imagick
PHP limits: Max upload 2048M, Max POST 2048M, Memory: 512M, Total max file upload: 512M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: www.gustoresearch.com
DOCUMENT_ROOT: /srv/www/gustoresearch.com/web
REQUEST_URI: /cms/core/settings/diagnostics/
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
Drew McLellan

Drew McLellan 2638 points
Perch Support

In the update notes, it gives instructions as to what to do if you can't log in. Did you follow those?

Oh, I didn't see update notes… Most recent ones on https://grabaperch.com/news/ is 2.8.25… Could you point me in the right direction – can't find them :P

Its here https://grabaperch.com/update/v2-8-26

Note: if you can’t log in after updating, go to /perch/core/update in your browser so the updater can run. Then you’ll be able to log in.

Scott, you're a life saver! Thank you :)