Thread tagged as: Problem, Error, Runway

can't log into Perch Admin

When I try and log in to perch admin I am getting nothing. I added debug and it is showing this:

Δ   Debug Message - Perch Runway 3.1.1
0.0125  0   [38] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
0.015   0.0025  Queries: 1
0.015   0   Memory: 1.4113
0.015   0   
    [type] => 2
    [message] => Unknown: POST Content-Length of 41 bytes exceeds the limit of 10 bytes
    [file] => Unknown
    [line] => 0

Site is still working but I can not log into to make changes.

Greg Riley

Greg Riley 1 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

This looks like a server configuration issue. Something has set the max post size to 10 bytes, which is ludicrously low.

Thanks Drew, Probably just me being stupid but I increased max post from 8M to 10M in cPanel PHP config and I even saw it reported as that in Perch Diagnostics before I got locked out. Anyway changed it again back to 8M and it let me in. Have subsequently increased it to 16 and still working fine.