rapila / cms-base

The rapila cms’ internals. Please file all issues here if they’re not directly related to a plugin or the sample site.
http://www.rapi.la
3 stars 1 forks source link

Admin: configure template/pagetype fails in PHP 7.49 #260

Closed juergmessmer closed 3 years ago

juergmessmer commented 3 years ago

admin/page_detail>Trying to open the dialog for changing template/pagetype fails.

A Javascript error is thrown error min.js evaluating 'e.nodeName, PHP 7.49 (running on remote server Metanet). After changing it back to 7.2 it worked without problem.

It's hard for me to debug this because I don't see any other information and my local environment is not running on the same php version.

sabberworm commented 3 years ago

Weird. Why would a PHP error trigger a JavaScript error? Is the server sending an unexpected response?

juergmessmer commented 3 years ago

It was the only error I have seen, no request and response that seemed to throw an error. Do you have a installation of rapila at hand, running on a 7.4+ or 7.49 PHP version? Could you check whether you have the same problem? (Just open template/pagetype)

As soon as I have the time and peace to change it back again to 7.49, I'll try to figure out a little more.

On 12 Sep 2020, at 17:49, Raphael Schweikert notifications@github.com wrote: Weird. Why would a PHP error trigger a JavaScript error? Is the server sending an unexpected response?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/rapila/cms-base/issues/260#issuecomment-691515779, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3NIPFWTZD2NFQQNOLTQTSFORCBANCNFSM4RJP7IVQ.

juergmessmer commented 3 years ago

Today I switched my php to 7.49 again, just for testing it again, and there was no problem, no js error. So I guess it was just a bad day of "something" or "someone" :-)