Forum

Thread tagged as: Error, Installation, Runway

Login issue on Perch Runway 2.8.26 Upgrade

Hope this explanation isn't too confusing.

I downloaded and copied the update core folder to my localhost and tried to login with Primary Admin account. I was left on the login page. Here was the debug message.

0.0157  0   [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='f5692dff1ab519cd45c0badc775dc526' LIMIT 1
0.0172  0.0015  [88] SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=0
0.0232  0.006   Queries: 2
0.0232  0.0001  Memory: 1.7885

I then tried to login with another couple of test user roles and saw the error message below, and no longer can see the login screen even after closing and opening browser. I saw no session errors.


Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php:39) in /Users/scottgruber/git/ioes-site/perch/core/lib/PerchUtil.class.php on line 196

I then ran /perch/core/update/ and now only see the error message above on my screen. Even after rolling back to 2.8.25 I still couldn't login.

I deployed the update to another server but this time started from

/perch/core/update/

and the update ran successfully and I could login with all the 3 accounts.

So I went back to my localhost installed a backup database and could login on 2.8.25. I then ran the upgrade through /perch/core/update and could login with my primary admin, but when I logged in as other user role. I got the same message and can no longer login with primary admin


Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php:39) in /Users/scottgruber/git/ioes-site/perch/core/lib/PerchUtil.class.php on line 194

The staging server is ok and I can login with all three users. Diagnostics on that server is

SUMMARY INFORMATION

Perch Runway: 2.8.26, PHP: 5.5.32, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), collection_8 (2.8.26), collection_7 (2.8.26), collection_4 (2.8.26), perch_events (1.9.2), collection_11 (2.8.26), perch_kraken (1.0), collection_1 (2.8.26), collection_6 (2.8.26), collection_5 (2.8.26), perch_podcasts (1.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_events', 'perch_podcasts', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/domains/staging/html/perch
PERCH_CORE: /var/www/domains/staging/html/perch/core
PERCH_RESFILEPATH: /var/www/domains/staging/html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 250M, Max POST 250M, Memory: 256M, Total max file upload: 250M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: staging.environment.ucla.edu
DOCUMENT_ROOT: /var/www/domains/staging/html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

I reinstalled the backup database, rolled back to 2.8.25 and have these diagnostic report from my localhost which is now working ok. I'm using MAMP Pro ver 3.5. I haven't tried the upgrade again.

SUMMARY INFORMATION

Perch Runway: 2.8.25, PHP: 5.5.26, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.25), assets (2.8.25), categories (2.8.25), collection_8 (2.8.25), collection_7 (2.8.25), collection_4 (2.8.25), perch_events (1.9.2), collection_11 (2.8.25), perch_kraken (1.0), collection_1 (2.8.25), collection_6 (2.8.25), collection_5 (2.8.25), perch_podcasts (1.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_events', 'perch_podcasts', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/scottgruber/git/ioes-site/perch
PERCH_CORE: /Users/scottgruber/git/ioes-site/perch/core
PERCH_RESFILEPATH: /Users/scottgruber/git/ioes-site/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 256M, Total max file upload: 32M
F1: dc1fef2ad0fcd9f943c02ebb43d85dbc
Resource folder writeable: Yes
HTTP_HOST: dev.environment.ucla.edu:8888
DOCUMENT_ROOT: /Users/scottgruber/git/ioes-site
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Scott Gruber

Scott Gruber 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What's the difference between the staging server and the server you say you can't log in to?

Essentially, the same. However, I did the /core/update first on the staging server rather than after like I did on localhost. That was the most significant difference.

At a quick glance PHP version PHP: 5.5.32 on the staging server and PHP: 5.5.26 on MAMP.

I've look quickly with phpinfo and there are differences. curl version are different. json is different (localhost: 1.2.1) staging (1.3.9). I'm on OSX El Capitan iMac, and CentOS release 6.7 (Final) on the server.

I've got to go out to record a live streaming event. And will revisit tomorrow.

Definitely a reason for me to try Virtual Box and Vagrant on my local dev to have a mirror copy. Have to learn about that.

I'll try installing through MAMP on my laptop tomorrow or a different Perch installation on my iMac and report back.

I ran further tests today switching between production and staging which are on the same server. The only difference is the version of Perch. As stated yesterday, I ran the update on the staging with /perch/core/update first when I ran into the problems on my localhost. Below is quite a bit of info, but I tried to log results of various actions and document them carefully. What was very strange was being unable to save a change in user role on the staging server. Hope it helps. I wonder where the ghost in the machine is.

On Staging Server when debug is turned on. I can log in with various user roles. If its not the admin role. I get this debug message

Time    Δ   Debug Message
0.0138  0   [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=2 AND u.userHash='6fae5b7cdb56df8da1e541852c991d64' LIMIT 1
0.0143  0.0005  UPDATE perch2_users SET userHash='fd3b9c9bfba13628fded6c00af68b3ab' WHERE userID='2'
0.0145  0.0002  [7] SELECT p.privKey FROM perch2_users u, perch2_user_role_privileges rp, perch2_user_privileges p WHERE u.roleID=rp.roleID AND rp.privID=p.privID AND u.userID=2
0.016   0.0015  [90] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
0.0226  0.0065  [7] SELECT collectionID, collectionKey, collectionEditRoles FROM perch2_collections WHERE collectionInAppMenu=1 ORDER BY collectionOrder ASC
0.0301  0.0075  [nil] SELECT *, REPLACE(pagePath, '/index.php', '') as sortPath FROM perch2_pages WHERE pageNew=1 ORDER BY LENGTH(sortPath)-LENGTH(REPLACE(sortPath, '/', '')) ASC
0.0305  0.0004  [11] SELECT p.*, (SELECT COUNT(*) FROM perch2_pages WHERE pageParentID=p.pageID) AS subpages FROM perch2_pages p WHERE p.pageParentID IN (0) ORDER BY p.pageTreePosition ASC
0.0311  0.0006  [338] SELECT * FROM perch2_content_regions ORDER BY regionOrder ASC
0.0366  0.0055  [18] SELECT * FROM perch2_content_regions WHERE regionPage='*'
0.0396  0.003   [70] SELECT DISTINCT regionTemplate FROM perch2_content_regions ORDER BY regionTemplate ASC
0.0437  0.0041  [nil] SELECT * FROM perch2_content_regions WHERE pageID=348 AND regionPage!='*' ORDER BY regionOrder ASC
0.0449  0.0012  [nil] SELECT * FROM perch2_content_regions WHERE pageID=271 AND regionPage!='*' ORDER BY regionOrder ASC
0.0458  0.0008  [nil] SELECT * FROM perch2_content_regions WHERE pageID=611 AND regionPage!='*' ORDER BY regionOrder ASC
0.0464  0.0007  [nil] SELECT * FROM perch2_content_regions WHERE pageID=470 AND regionPage!='*' ORDER BY regionOrder ASC
0.0501  0.0037  Queries: 15
0.0502  0   Memory: 5.1757
0.0502  0
Array
(
    [type] => 8
    [message] => Undefined variable: roleID
    [file] => /var/www/domains/staging/html/perch/core/runway/lib/PerchRunway.class.php
    [line] => 39
)

When I logout as that user I get the following debug message

Time    Δ   Debug Message
0.0237  0   [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=2 AND u.userHash='873219f1ce03f04a880dc801e111e940' LIMIT 1
0.0244  0.0008  UPDATE perch2_users SET userHash='55c17164dfcf3029686f35adf02a7d08' WHERE userID='2'
0.0248  0.0004  [7] SELECT p.privKey FROM perch2_users u, perch2_user_role_privileges rp, perch2_user_privileges p WHERE u.roleID=rp.roleID AND rp.privID=p.privID AND u.userID=2
0.027   0.0022  [90] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
0.0369  0.0099  [7] SELECT collectionID, collectionKey, collectionEditRoles FROM perch2_collections WHERE collectionInAppMenu=1 ORDER BY collectionOrder ASC
0.0392  0.0023  Queries: 6
0.0392  0   Memory: 1.8427
0.0393  0
Array
(
    [type] => 8
    [message] => Undefined variable: roleID
    [file] => /var/www/domains/staging/html/perch/core/runway/lib/PerchRunway.class.php
    [line] => 39
)

On the staging server which is running Perch Runway 2.8.26, if I try to change a user's role with the select menu, the users's role change is not saved and remains the same. In this case a switch from Academics Editor to Admin, I get the following debug message on the page where I make the change.

Time    Δ   Debug Message
0.0206  0   [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='0ca5130a7c709b7056cc0976e5a46b8b' LIMIT 1
0.0213  0.0007  UPDATE perch2_users SET userHash='695902042c9279b76c21a973fcef2a0c' WHERE userID='1'
0.0217  0.0004  [53] SELECT p.privKey FROM perch2_user_privileges p
0.0236  0.0019  [89] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
0.034   0.0104  [7] SELECT collectionID, collectionKey, collectionEditRoles FROM perch2_collections WHERE collectionInAppMenu=1 ORDER BY collectionOrder ASC
0.0352  0.0012  [1] SELECT * FROM perch2_users WHERE userID=2 LIMIT 1
0.0366  0.0014  [9] SELECT * FROM perch2_user_roles ORDER BY roleTitle ASC
0.0407  0.0041  [1] SELECT COUNT(*) FROM perch2_users WHERE userUsername='guyniche' AND userID!=2
0.0416  0.0008  [1] SELECT COUNT(*) FROM perch2_users WHERE userEmail='scott@pixelfix.com' AND userID!=2
0.0457  0.0042  Queries: 10
0.0458  0   Memory: 2.1972

And when I go back to view Listing all user accounts page, the get this debug message, which doesn't include 2 other roles: Editor and Admin.


Time Δ Debug Message 0.0216 0 [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='a591e0b0acd82b0e17a18a1e1d76f281' LIMIT 1 0.0224 0.0007 UPDATE perch2_users SET userHash='e233ec1ee4cef9db1d0fe9c340784a95' WHERE userID='1' 0.0227 0.0004 [53] SELECT p.privKey FROM perch2_user_privileges p 0.0247 0.0019 [89] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID 0.0349 0.0103 [7] SELECT collectionID, collectionKey, collectionEditRoles FROM perch2_collections WHERE collectionInAppMenu=1 ORDER BY collectionOrder ASC 0.0358 0.0009 [13] SELECT u.*, ur.* FROM perch2_users u, perch2_user_roles ur WHERE u.roleID=ur.roleID ORDER BY roleMasterAdmin DESC, userMasterAdmin DESC, roleTitle, userFamilyName ASC, userGivenName ASC 0.0405 0.0047 adding: Academics Editor 0.0407 0.0001 adding: Academics Editor 0.0408 0.0001 adding: Academics Editor 0.0409 0.0001 adding: Climate Center Editor 0.041 0.0001 adding: Climate Center Editor 0.0412 0.0001 adding: Comms Director 0.0413 0.0001 adding: CTR Editor 0.0414 0.0001 adding: CTR Editor 0.0416 0.0002 adding: Event editor 0.0417 0.0001 adding: La Kretz Center Editor 0.0461 0.0044 Queries: 7 0.0461 0 Memory: 2.1526

In Perch Runway 2.8.25 I can change a user's role and it is saved.

Although when I turn debug to true and login as that user's role I get a message Undefined variable: roleID. This message only displays on user's who are not in the admin role.

Time    Δ   Debug Message
0.0195  0   [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=2 AND u.userHash='3c643cd2580f1d30ae1214edfa0df5ed' LIMIT 1
0.0202  0.0007  UPDATE perch2_users SET userHash='8048045e3d50e7d167308bfd6e8dd990' WHERE userID='2'
0.0205  0.0004  [10] SELECT p.privKey FROM perch2_users u, perch2_user_role_privileges rp, perch2_user_privileges p WHERE u.roleID=rp.roleID AND rp.privID=p.privID AND u.userID=2
0.0224  0.0019  [89] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
0.0322  0.0098  [7] SELECT collectionID, collectionKey, collectionEditRoles FROM perch2_collections WHERE collectionInAppMenu=1 ORDER BY collectionOrder ASC
0.0434  0.0112  [nil] SELECT *, REPLACE(pagePath, '/index.php', '') as sortPath FROM perch2_pages WHERE pageNew=1 ORDER BY LENGTH(sortPath)-LENGTH(REPLACE(sortPath, '/', '')) ASC
0.0441  0.0007  [11] SELECT p.*, (SELECT COUNT(*) FROM perch2_pages WHERE pageParentID=p.pageID) AS subpages FROM perch2_pages p WHERE p.pageParentID IN (0) ORDER BY p.pageTreePosition ASC
0.045   0.0009  [338] SELECT * FROM perch2_content_regions ORDER BY regionOrder ASC
0.054   0.009   [18] SELECT * FROM perch2_content_regions WHERE regionPage='*'
0.0583  0.0043  [70] SELECT DISTINCT regionTemplate FROM perch2_content_regions ORDER BY regionTemplate ASC
0.0648  0.0065  [nil] SELECT * FROM perch2_content_regions WHERE pageID=348 AND regionPage!='*' ORDER BY regionOrder ASC
0.0672  0.0024  [nil] SELECT * FROM perch2_content_regions WHERE pageID=271 AND regionPage!='*' ORDER BY regionOrder ASC
0.0688  0.0016  [nil] SELECT * FROM perch2_content_regions WHERE pageID=611 AND regionPage!='*' ORDER BY regionOrder ASC
0.0703  0.0015  [nil] SELECT * FROM perch2_content_regions WHERE pageID=470 AND regionPage!='*' ORDER BY regionOrder ASC
0.076   0.0057  Queries: 15
0.0761  0   Memory: 5.1417
0.0761  0
Array
(
    [type] => 8
    [message] => Undefined variable: roleID
    [file] => /var/www/domains/ioes/html/perch/core/runway/lib/PerchRunway.class.php
    [line] => 39
)

I also installed the update on a development server. Followed the notes, I ran the /perch/core/update only after I couldn't login. On this server, I can login with other user accounts, but do get an error message on any user roles besides admin at the top of the page like I did yesterday on localhost. The users can login however even with the error in tiny type at the top of the page above the admin menu.

Notice: Undefined variable: roleID in /var/www/domains/ioes/html/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /var/www/domains/ioes/html/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /var/www/domains/ioes/html/perch/core/runway/lib/PerchRunway.class.php on line 39

The message above appears whether debug is turned to true or to false.

On my local host, they can't login at all and only view this message


Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php:39) in /Users/scottgruber/git/ioes-site/perch/core/lib/PerchUtil.class.php on line 194

Finally here are my diagnostics for staging and production which are on the same VM. And the development server which is on another VM.

Staging Server

SUMMARY INFORMATION

Perch Runway: 2.8.26, PHP: 5.5.32, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), collection_8 (2.8.26), collection_7 (2.8.26), collection_4 (2.8.26), perch_events (1.9.2), collection_11 (2.8.26), perch_kraken (1.0), collection_1 (2.8.26), collection_6 (2.8.26), collection_5 (2.8.26), perch_podcasts (1.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_events', 'perch_podcasts', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/domains/staging/html/perch
PERCH_CORE: /var/www/domains/staging/html/perch/core
PERCH_RESFILEPATH: /var/www/domains/staging/html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 250M, Max POST 250M, Memory: 256M, Total max file upload: 250M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: staging.environment.ucla.edu
DOCUMENT_ROOT: /var/www/domains/staging/html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Production server

SUMMARY INFORMATION

Perch Runway: 2.8.25, PHP: 5.5.32, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.25), assets (2.8.25), categories (2.8.25), collection_8 (2.8.25), collection_7 (2.8.25), collection_4 (2.8.25), perch_events (1.9.2), collection_11 (2.8.25), perch_kraken (1.0), collection_1 (2.8.25), collection_6 (2.8.25), collection_5 (2.8.25), perch_podcasts (1.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_events', 'perch_podcasts', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/domains/ioes/html/perch
PERCH_CORE: /var/www/domains/ioes/html/perch/core
PERCH_RESFILEPATH: /var/www/domains/ioes/html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 250M, Max POST 250M, Memory: 256M, Total max file upload: 250M
F1: dc1fef2ad0fcd9f943c02ebb43d85dbc
Resource folder writeable: Yes
HTTP_HOST: www.environment.ucla.edu
DOCUMENT_ROOT: /var/www/domains/ioes/html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Development server

SUMMARY INFORMATION

Perch Runway: 2.8.26, PHP: 5.5.32, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), collection_8 (2.8.26), collection_7 (2.8.26), collection_4 (2.8.26), perch_events (1.9.2), collection_11 (2.8.26), perch_kraken (1.0), collection_1 (2.8.26), collection_6 (2.8.26), collection_5 (2.8.26), perch_podcasts (1.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_events', 'perch_podcasts', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/domains/ioes/html/perch
PERCH_CORE: /var/www/domains/ioes/html/perch/core
PERCH_RESFILEPATH: /var/www/domains/ioes/html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 250M, Max POST 250M, Memory: 256M, Total max file upload: 250M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: dev.environment.ucla.edu
DOCUMENT_ROOT: /var/www/domains/ioes/html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Was looking into this issue again.

Two things to report (sorry for all that code pasted above). 1. On 2.8.26 I can't save a change in a user role.

I can save a user role change on 2.8.25 when I login as the admin role.

However, when I login again 2.8.25 in a different user role, I get an error message (pasted below) on a white screen, and even if I close, clear everything, and reopen browsers I get the message. Until I reimport from a backup database, then I can login but only as admin user role. Other roles cause the error to repeat as then I reimport the database.

Have you been able to recreate the behavior on your end? Or any suggestions where I should look next? Here is the message on see in the browser against a white screen and in the php_error.log


Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Notice: Undefined variable: roleID in /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /Users/scottgruber/git/ioes-site/perch/core/runway/lib/PerchRunway.class.php:39) in /Users/scottgruber/git/ioes-site/perch/core/lib/PerchUtil.class.php on line 196
Drew McLellan

Drew McLellan 2638 points
Perch Support

That looks like a completely unrelated bug, but I've fixed it.

Thanks!