File Manager is broken

Permalink
I recently moved my concrete5 version 5.6.3.3 sites to a new host (I had to get a supported version of CentOS for my backup solution). I'm now running on CentOS 7.3 and WHM/CPanel 62.0. Since the transfer when I try to access the file manager I get a text based output rather than a graphical one. I have attached an image below. Also, the text based version won't upload files. I tried a number of other system pages and they are working with the exception of the update concrete5 feature I get the following error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 17042643 bytes) in /home/southhay/public_html/updates/concrete5.6.3.3/concrete/core/helpers/file.php on line 234

I have tried finding a similar problem via search to help resolve this but haven't. I would greatly appreciate some direction in how to recover the file manager.

1 Attachment

 
hutman replied on at Permalink Reply
hutman
This is usually caused by a PHP error on the page, do you see a PHP error at the very bottom if you view source on the text page of the File Manager?
mthornton replied on at Permalink Reply
No, the rest of the page is empty just as the image portrays. I did view source on the page and it appears the page is incomplete. The last line of the code is <td> on a line by itself. That is incomplete, obviously. How do I find the source within the site for this page and see if it is damaged? What would I compare it to?
hutman replied on at Permalink Reply
hutman
Does your PHP Error log show anything?
mthornton replied on at Permalink Reply
[Mon Feb 27 12:08:00.114951 2017] [cgi:error] [pid 16917] [client 192.168.10.72:65153] AH01215: PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56
hutman replied on at Permalink Reply
hutman
That error was thrown by your cpanel, not the C5 site.
mthornton replied on at Permalink Reply
Where do I need to look. This was in /var/log/apache2/error_log.
hutman replied on at Permalink Reply
hutman
That should be the right file (assuming that's what is set in your php.ini) but there should be more records than just one in there.
mthornton replied on at Permalink Reply 1 Attachment
The error_log is attached.
mthornton replied on at Permalink Reply
I got the page to display the error by changing the error reporting to the user setting:

Fatal error: Call to undefined function iconv_get_encoding() in /home/southhay/public_html/updates/concrete5.6.3.3/concrete/libraries/3rdparty/Zend/Locale/Format.php on line 310
hutman replied on at Permalink Reply
hutman
You should uncomment extension=iconv.so in php.ini. That would enable the function
mthornton replied on at Permalink Reply 1 Attachment
I've been looking for the extension in the .ini files and can't find it. I have been through all the files referenced by my php_info page. Am I missing a module that I need to install?
hutman replied on at Permalink Reply
hutman
mthornton replied on at Permalink Reply
Thanks for the hint. I started there, then eventually found the following link on how to enable php modules in CPanel. All is well now.

http://cyberpersons.com/2016/10/21/install-missing-php-extensions-c...