File Manager corruption after moving site

Permalink
Hi,

This evening I moved a test site to another server. After moving to santamaria-cincy.org, my file manager appears to be corrupted. While many images/files are available on the pages, my ability to access File Manager results in the following error:


Fatal error: Call to undefined function iconv_set_encoding() in /home/santa/public_html/updates/concrete5.6.3.1_updater/concrete/libraries/3rdparty/Zend/Locale/Format.php on line 311

Here is a link:http://www.santamaria-cincy.org/index.php/dashboard/files/search/...

I'm at a loss as to what I did wrong. I have attached a screen shot of the page.

1 Attachment

marvinjr
View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
Some versions of zip/unzip corrupt file case. So you could check the zend files and paths are all in the directories with the right case. (This won't affect core files because they are all lowercase, just 3rd party libraries).

I am not saying the above is the reason for your problem, just that I have experienced occasional issues arising from such.
marvinjr replied on at Permalink Reply
marvinjr
Thanks for the reply John.

I've checked and compared the files as you suggested. The test site is still active on a different server at http://www.santamariacincy.org , so I looked at the formatting of the files and folders on both servers and did not noticed a difference.

Any other options?

Marvin
JohntheFish replied on at Permalink Reply
JohntheFish
iconv_set_encoding() is a php function. Maybe that part of php is not installed on the new host.

You can run a simple script like (need to debug this)
echo function_exists('iconv_set_encoding');


http://www.php.net/manual/en/function.iconv-set-encoding.php...
http://www.php.net/manual/en/function.function-exists.php...

Then run phpinfo to see what parts of php are installed..
marvinjr replied on at Permalink Reply
marvinjr
Thanks John. I do not have access to everything in cpanel and am not sure how to run the script you described.

Marvin
JohntheFish replied on at Permalink Reply
JohntheFish
You need a short php program that you can upload via ftp to your web root.

eg test.php
<?php
echo function_exists('iconv_set_encoding');


then to run the script visit the url:
www.www.yourdomain.com/test.php...

The script should return 1 or 0 (you are hoping for 1)

Then use ftp to delete test.php.
marvinjr replied on at Permalink Reply
marvinjr
I created the test.php file and when I ran the script, there was no result.

www.www.santamaria-cincy.org/test.php...
marvinjr replied on at Permalink Reply
marvinjr
Thanks for the help John.

In order to check the new server, I created a new concrete5 installation in a subfolder and that installation worked flawlessly. Apparently, the server is not blocking the php in question, so I am assuming the problem is in my transfer of the site. Any suggestions are appreciate.

Marvin
JohntheFish replied on at Permalink Reply
JohntheFish
You transferred a site that has been updated. Do you have the update line at the end of config/site.php? (If not, the transferred site be confused about what version of the core it is using)
marvinjr replied on at Permalink Reply
marvinjr
John,

Since your last response, I transferred the original site to another of the servers I use with no problems. It seems that the issue lies with the client's server. Apparently, the client's server does not have the PHP iconv extension installed and this is corrupting the file manager.

I've contact the system administrator for assistance and I appreciate the help you have provided.

Marvin