Unable to log in

  • Hi,

    We are taking control of a site built using Perch and although we have updated the Licence Key to a new one purchased in V3 and the site has been updated we are unable to log in.

    When logging in we get an error that the key isn't valid despite setting up the test environment within the Perch settings (Screenshots attached).

    I am currently using the staging domain, we do get the same error when using the Developmental domain.

    I'm currently running the site locally using a Docker environment.

    Anyone know if there is another setting that may be blocking this?


  • drewm

    Approved the thread.
  • Thanks for your response.

    The original website was built by another company, when we put it on our servers we had the same login issue.

    I saw people advising that it can be an issue with V2 on newer versions of PHP so a new V3 license was purchased by our client.

    Is there a way i can check that the correct version as been purchased with the Perch License details?

  • Which version of perch are you using presently ? Go to your perch login page, inspect the page and check the version that is appended to the styles.css link:

    Also V2 -> V3 was a free upgrade, so a V2 license works for V3.

    So just to be sure, the license key is for a V2 or 3 and the installation of perch is V3 ?

  • We are currently doing this on the staging name, I set up the var_dump on a page and the hostname didnt match so we set this up however we saw no change on this.

    Below is a copy of the results:

    array(52) {
    string(77) "--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi"
    string(44) "mcinnescommunications.echodigitalmedia.co.uk"
    string(18) "/usr/local/etc/php"
    string(8) "/var/www"
    string(34) "-Wl,-O1 -Wl,--hash-style=both -pie"
    string(40) "-fstack-protector-strong -fpic -fpie -O2"
    string(0) ""
    string(6) "7.1.29"
    string(122) "A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172"
    string(40) "-fstack-protector-strong -fpic -fpie -O2"
    string(62) "https://www.php.net/get/php-7.1.29.tar.xz.asc/from/this/mirror"
    string(58) "https://www.php.net/get/php-7.1.29.tar.xz/from/this/mirror"
    string(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    string(76) "autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c"
    string(8) "/var/www"
    string(64) "b9a9b094687edc2d9c9553d5531e38e249b569127cf3b32fe1c84280509746fb"
    string(8) "www-data"
    string(252) "_ga=GA1.3.34154550.1530264162; __zlcmid=nLhTwpHrgKxObV; adiV=31089; _fbp=fb.2.1549271580934.776839055; lc_sso7630051=1558093889143; PHPSESSID=03d30354b225c80d81272e76ea2ec1aa; _hjid=2428cd48-67e5-43ca-b5fa-e982332bea67; _gid=GA1.3.1440309875.1570352666"
    string(14) "en-US,en;q=0.9"
    string(13) "gzip, deflate"
    string(118) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3"
    string(120) "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"
    string(1) "1"
    string(8) "no-cache"
    string(8) "no-cache"
    string(10) "keep-alive"
    string(44) "mcinnescommunications.echodigitalmedia.co.uk"
    string(3) "200"
    string(0) ""
    string(2) "80"
    string(10) ""
    string(5) "40308"
    string(10) ""
    string(13) "nginx/1.15.12"
    string(7) "CGI/1.1"
    string(4) "http"
    string(8) "HTTP/1.1"
    string(8) "/var/www"
    string(8) "/php.php"
    string(8) "/php.php"
    string(8) "/php.php"
    string(0) ""
    string(0) ""
    string(3) "GET"
    string(0) ""
    string(16) "/var/www/php.php"
    string(9) "RESPONDER"
    string(8) "/php.php"
    array(0) {
  • I have a local setup that allows us to use a domain in place of a port by pointing our localhost to

    Is Perch not compatible with this type of setup?, if not I will amend our docker system for this site to use a port number?