impresspages / ImpressPages

ImpressPages is php framework with admin panel. Build functional website in one hour.
http://www.impresspages.org
Other
501 stars 178 forks source link

TinyMceFileBrowser 500 error #895

Open wannaco opened 4 years ago

wannaco commented 4 years ago

clicking on the image TinyMceFileBrowser returns the following

[Tue Aug 13 01:58:46.341995 2019] [proxy_fcgi:error] [pid 1328:tid 139893636122368] [client 77.102.176.132:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Ip\ipConfig() in /home2/jamolopa/domains/guana.co/public_html/Ip/Application.php:55\nStack trace:\n#0 /home2/jamolopa/domains/guana.co/public_html/Plugin/TinyMceFileBrowser/filemanager/config/config.php(7): Ip\Application->prepareEnvironment(Array)\n#1 /home2/jamolopa/domains/guana.co/public_html/Plugin/TinyMceFileBrowser/filemanager/dialog.php(2): include('/home2/jamolopa...')\n#2 {main}\n thrown in /home2/jamolopa/domains/guana.co/public_html/Ip/Application.php on line 55\n', referer: http://www.guana.co/en/home

It has been a long while since I modified anything in the site and I was recently moved from cPanel to directAdmin, can't seem to find what is wrong .

Thanks in advance

icampana commented 4 years ago

It has most likely to do with Impresspages incompatibility with PHP 7.1, 7.2, I created a PR to solve that, but it has not been approved, most hosting servers now only work with PHP versions later than those (as they should) so you could try using the patch, otherwise we might need to create a Fork to keep this project alive.

wannaco commented 4 years ago

Either that or just moved to another cms

icampana commented 4 years ago

Either that or just moved to another cms

Sadly, yes, being that Concrete5, Grav, Silex. At least the ones I can think of that are at the same level.