Files blueprint issue

Yes, done both 1. and 2. and same error encountered.
:frowning:

@distantnative pointed me to this issue: https://github.com/getkirby/kirby/issues/1861

thank you @texnixe I’ve been reading a lot of treads you wrote and now I’m quite excited to meet you in person! :smiley:
I read the whole tread but I don’t understand the solution… Can you help me? Thanks!
L

The main point is this post where @ahmetbora compared the headers of a normal request in the Panel vs. those from the installation where the error happened (an error that sounds a lot like what you are experiencing).

He found that instead of the HTTP_COOKIE header, one called HTTP_STORED_COOKIE was sent back. And that’s why authentication with Kirby failed.

In the end it was a wrong setting on the side of the server host.

So great start would be, if you could get the request headers in the Panel from your installation - the request that fails (from which you see the error message you posted at the beginning of this thread). :slight_smile:

thanks @distantnative. How can I get request headers? It sounds like It’s easier to change hosting! Anyway I agree, it’s a hosting problem.

You can see them in the network tab of your browser (in dev tools)

Thanks, I’m not sure it’s exactly what you asked — I’m not that PRO — find here first the normal page headers and then the headers after the error message.

Without error

After the error

Almost! If you now click on the system entry in that list, you will see the data of the actual request in a sidebar on the right

{“code”:200,“data”:{“ascii”:{"/\u00b0|\u2080/":“0”,"/\u00b9|\u2081/":“1”,"/\u00b2|\u2082/":“2”,"/\u00b3|\u2083/":“3”,"/\u2074|\u2084/":“4”,"/\u2075|\u2085/":“5”,"/\u2076|\u2086/":“6”,"/\u2077|\u2087/":“7”,"/\u2078|\u2088/":“8”,"/\u2079|\u2089/":“9”,"/\u00c0|\u00c1|\u00c2|\u00c3|\u00c5|\u01fa|\u0100|\u0102|\u0104|\u01cd|\u00c4|A/":“A”,"/\u00e0|\u00e1|\u00e2|\u00e3|\u00e5|\u01fb|\u0101|\u0103|\u0105|\u01ce|\u00aa|\u00e6|\u01fd|\u00e4|a|\u0430/":“a”,"/\u0411/":“B”,"/\u0431/":“b”,"/\u00c7|\u0106|\u0108|\u010a|\u010c|\u0426/":“C”,"/\u00e7|\u0107|\u0109|\u010b|\u010d|\u0446/":“c”,"/\u00d0|\u010e|\u0110/":“Dj”,"/\u00f0|\u010f|\u0111/":“dj”,"/\u0414/":“D”,"/\u0434/":“d”,"/\u00c8|\u00c9|\u00ca|\u00cb|\u0112|\u0114|\u0116|\u0118|\u011a|\u0415|\u0401|\u042d/":“E”,"/\u00e8|\u00e9|\u00ea|\u00eb|\u0113|\u0115|\u0117|\u0119|\u011b|\u0435|\u0451|\u044d/":“e”,"/\u0424/":“F”,"/\u0192|\u0444/":“f”,"/\u011c|\u011e|\u0120|\u0122|\u0413/":“G”,"/\u011d|\u011f|\u0121|\u0123|\u0433/":“g”,"/\u0124|\u0126|\u0425/":“H”,"/\u0125|\u0127|\u0445/":“h”,"/\u00cc|\u00cd|\u00ce|\u00cf|\u0128|\u012a|\u012c|\u01cf|\u012e|\u0130|\u0418/":“I”,"/\u00ec|\u00ed|\u00ee|\u00ef|\u0129|\u012b|\u012d|\u01d0|\u012f|\u0131|\u0438|i\u0307/":“i”,"/\u0134|\u0419/":“J”,"/\u0135|\u0439/":“j”,"/\u0136|\u041a/":“K”,"/\u0137|\u043a/":“k”,"/\u0139|\u013b|\u013d|\u013f|\u0141|\u041b/":“L”,"/\u013a|\u013c|\u013e|\u0140|\u0142|\u043b/":“l”,"/\u041c/":“M”,"/\u043c/":“m”,"/\u00d1|\u0143|\u0145|\u0147|\u041d/":“N”,"/\u00f1|\u0144|\u0146|\u0148|\u0149|\u043d/":“n”,"/\u00d2|\u00d3|\u00d4|\u00d5|\u014c|\u014e|\u01d1|\u0150|\u01a0|\u00d8|\u01fe|\u00d6|O/":“O”,"/\u00f2|\u00f3|\u00f4|\u00f5|\u014d|\u014f|\u01d2|\u0151|\u01a1|\u00f8|\u01ff|\u00ba|\u00f6|o|\u043e/":“o”,"/\u041f/":“P”,"/\u043f/":“p”,"/\u0154|\u0156|\u0158|\u0420/":“R”,"/\u0155|\u0157|\u0159|\u0440/":“r”,"/\u015a|\u015c|\u015e|\u0218|\u0160|\u0421/":“S”,"/\u015b|\u015d|\u015f|\u0219|\u0161|\u017f|\u0441/":“s”,"/\u0162|\u021a|\u0164|\u0166|\u0422/":“T”,"/\u0163|\u021b|\u0165|\u0167|\u0442/":“t”,"/\u00d9|\u00da|\u00db|\u0168|\u016a|\u016c|\u016e|\u0170|\u0172|\u01af|\u01d3|\u01d5|\u01d7|\u01d9|\u01db|\u0423|\u00dc|U/":“U”,"/\u00f9|\u00fa|\u00fb|\u0169|\u016b|\u016d|\u016f|\u0171|\u0173|\u01b0|\u01d4|\u01d6|\u01d8|\u01da|\u01dc|\u0443|\u00fc|u/":“u”,"/\u0412/":“V”,"/\u0432/":“v”,"/\u00dd|\u0178|\u0176|\u042b/":“Y”,"/\u00fd|\u00ff|\u0177|\u044b/":“y”,"/\u0174/":“W”,"/\u0175/":“w”,"/\u0179|\u017b|\u017d|\u0417/":“Z”,"/\u017a|\u017c|\u017e|\u0437/":“z”,"/\u00c6|\u01fc/":“AE”,"/\u00df/":“ss”,"/\u0132/":“IJ”,"/\u0133/":“ij”,"/\u0152/":“OE”,"/\u0427/":“Ch”,"/\u0447/":“ch”,"/\u042e/":“Ju”,"/\u044e/":“ju”,"/\u042f/":“Ja”,"/\u044f/":“ja”,"/\u0428/":“Sh”,"/\u0448/":“sh”,"/\u0429/":“Shch”,"/\u0449/":“shch”,"/\u0416/":“Zh”,"/\u0436/":“zh”},“defaultLanguage”:“en”,“isInstalled”:true,“isLocal”:false,“isOk”:true,“kirbytext”:true,“languages”:[{“code”:“al”,“default”:false,“direction”:“ltr”,“locale”:[""],“name”:“Albanian”,“rules”:[],“url”:“http://qendra-m.org/debug/al"},{“code”:“en”,“default”:true,“direction”:“ltr”,“locale”:[“en”],“name”:“English”,“rules”:[],“url”:“http://qendra-m.org/debug/en”}],“license”:false,“multilang”:true,“requirements”:{“accounts”:true,“content”:true,“curl”:true,“sessions”:true,“mbstring”:true,“media”:true,“php”:true,“server”:true},“site”:“Site”,“slugs”:[],“title”:"Qendra Marr\u00ebdh\u00ebnie”,“translation”:{“author”:“Kirby Team”,“data”:{“add”:“Add”,“avatar”:“Profile picture”,“back”:“Back”,“cancel”:“Cancel”,“change”:“Change”,“close”:“Close”,“confirm”:“Ok”,“copy”:“Copy”,“create”:“Create”,“date”:“Date”,“date.select”:“Select a date”,“day”:“Day”,“days.fri”:“Fri”,“days.mon”:“Mon”,“days.sat”:“Sat”,“days.sun”:“Sun”,“days.thu”:“Thu”,“days.tue”:“Tue”,“days.wed”:“Wed”,“delete”:“Delete”,“dimensions”:“Dimensions”,“disabled”:“Disabled”,“discard”:“Discard”,“download”:“Download”,“duplicate”:“Duplicate”,“edit”:“Edit”,“dialog.files.empty”:“No files to select”,“dialog.pages.empty”:“No pages to select”,“dialog.users.empty”:“No users to select",“email”:“Email”,“email.placeholder”:"mail@example.com”,“error.access.login”:“Invalid login”,“error.access.panel”:“You are not allowed to access the panel”,“error.access.view”:“You are not allowed to access this part of the panel”,“error.avatar.create.fail”:“The profile picture could not be uploaded”,“error.avatar.delete.fail”:“The profile picture could not be deleted”,“error.avatar.dimensions.invalid”:“Please keep the width and height of the profile picture under 3000 pixels”,“error.avatar.mime.forbidden”:“The profile picture must be JPEG or PNG files”,“error.blueprint.notFound”:“The blueprint “{name}” could not be loaded”,“error.email.preset.notFound”:“The email preset “{name}” cannot be found”,“error.field.converter.invalid”:“Invalid converter “{converter}””,“error.file.changeName.empty”:“The name must not be empty”,“error.file.changeName.permission”:“You are not allowed to change the name of “{filename}””,“error.file.duplicate”:“A file with the name “{filename}” already exists”,“error.file.extension.forbidden”:“The extension “{extension}” is not allowed”,“error.file.extension.missing”:“The extensions for “{filename}” is missing”,“error.file.maxheight”:“The height of the image must not exceed {height} pixels”,“error.file.maxsize”:“The file is too large”,“error.file.maxwidth”:“The width of the image must not exceed {width} pixels”,“error.file.mime.differs”:“The uploaded file must be of the same mime type “{mime}””,“error.file.mime.forbidden”:“The media type “{mime}” is not allowed”,“error.file.mime.invalid”:“Invalid mime type: {mime}”,“error.file.mime.missing”:“The media type for “{filename}” cannot be detected”,“error.file.minheight”:“The height of the image must be at least {height} pixels”,“error.file.minsize”:“The file is too small”,“error.file.minwidth”:“The width of the image must be at least {width} pixels”,“error.file.name.missing”:“The filename must not be empty”,“error.file.notFound”:“The file “{filename}” cannot be found”,“error.file.orientation”:“The orientation of the image must be “{orientation}””,“error.file.type.forbidden”:“You are not allowed to upload {type} files”,“error.file.undefined”:“The file cannot be found”,“error.form.incomplete”:“Please fix all form errors\u2026”,“error.form.notSaved”:“The form could not be saved”,“error.language.code”:“Please enter a valid code for the language”,“error.language.duplicate”:“The language already exists”,“error.language.name”:“Please enter a valid name for the language”,“error.license.format”:“Please enter a valid license key”,“error.license.email”:“Please enter a valid email address”,“error.license.verification”:“The license could not be verified”,“error.page.changeSlug.permission”:“You are not allowed to change the URL appendix for “{slug}””,“error.page.changeStatus.incomplete”:“The page has errors and cannot be published”,“error.page.changeStatus.permission”:“The status for this page cannot be changed”,“error.page.changeStatus.toDraft.invalid”:“The page “{slug}” cannot be converted to a draft”,“error.page.changeTemplate.invalid”:“The template for the page “{slug}” cannot be changed”,“error.page.changeTemplate.permission”:“You are not allowed to change the template for “{slug}””,“error.page.changeTitle.empty”:“The title must not be empty”,“error.page.changeTitle.permission”:“You are not allowed to change the title for “{slug}””,“error.page.create.permission”:“You are not allowed to create “{slug}””,“error.page.delete”:“The page “{slug}” cannot be deleted”,“error.page.delete.confirm”:“Please enter the page title to confirm”,“error.page.delete.hasChildren”:“The page has subpages and cannot be deleted”,“error.page.delete.permission”:“You are not allowed to delete “{slug}””,“error.page.draft.duplicate”:“A page draft with the URL appendix “{slug}” already exists”,“error.page.duplicate”:“A page with the URL appendix “{slug}” already exists”,“error.page.duplicate.permission”:“You are not allowed to duplicate “{slug}””,“error.page.notFound”:“The page “{slug}” cannot be found”,“error.page.num.invalid”:“Please enter a valid sorting number. Numbers must not be negative.”,“error.page.slug.invalid”:“Please enter a valid URL prefix”,“error.page.sort.permission”:“The page “{slug}” cannot be sorted”,“error.page.status.invalid”:“Please set a valid page status”,“error.page.undefined”:“The page cannot be found”,“error.page.update.permission”:“You are not allowed to update “{slug}””,“error.section.files.max.plural”:“You must not add more than {max} files to the “{section}” section”,“error.section.files.max.singular”:"You must not add more than one file to the “{section}”

What we need to see is the headers, the stuff you see on the right hand side when you click on an entry in the network tab list:

Request Method: GET
Status Code: 200 OK
Remote Address: 160.153.137.210:80
Referrer Policy: no-referrer-when-downgrade
Accept-Ranges: none
Age: 0
Content-Encoding: gzip
Content-Length: 6453
Content-Type: application/json; charset=UTF-8
Date: Wed, 10 Jun 2020 21:15:33 GMT
Vary: Accept-Encoding, User-Agent
X-Backend: all_requests
X-Cache: uncached
X-Cache-Hit: MISS
X-Cacheable: YES:Forced
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block

Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
Connection: keep-alive
content-type: application/json
Cookie: kirby_session=b9d93b3d06de7cbc93eae7e1d2468e9de8591cb0%2B1591830824.455b1c0292bcde12dcf1.593e3feb92f0d466454d462da5d84679c164a75d0d3e262677e2cad59a424d39
Host: qendra-m.org
Referer: http://qendra-m.org/debug/panel/login
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
x-csrf: 9e04674429dd264cd3636883a3c1c170e04590e8d58ebbcf473044864dd3853d
x-requested-with: xmlhttprequest
view: panel

Is that from the request that fails? I think this is a problem with your hosting provider. Have you been in contact with them? Can you switch to another provider?

I agree! It’s what I thought. I think it’s better to change hosting! Goddaddy is not Kirby friendly.