CURL and Other libraries : Moving a site from test to another server

Permalink
Hi All,
I have a very urgent need to resolve an error that ahas appeared when moving a site from my test area:
http://pamcarter.inrs.biz

to it's final hosting place:
http://www.pamcarter.co.uk/

The biggest error I have is that my gallery block which is used extensively is not displaying images at although they appear in the editor when I go to add or remove them.

This may be caused by an error I get in the dashboard which says that I cannot connect to C5 and to 'Check that CURL and Other Libraries are enabled' I have checked with my host and they assure me that CURL is enabled however I am not sure what else (other libraries) need to be enabled.

http://www.pamcarter.co.uk/phpinfo.php...

craftyCS
 
nteaviation replied on at Permalink Reply
nteaviation
I would make sure Curl is really there.

A real easy way to check your apache/PHP configuration is to:
1. Create a file called phpinfo.php in your webroot.
2. edit the file and insert this 1 line
<?php phpinfo(); />

3. Hit your file woth your browser usinghttp://www.yoursuite.com/phpinfo.php...

This will output a detailed list of Apache/PHP configuration including what modules are loaded. Check to see of Curl is in the module list.

PS: Be sure to rename or delete your phpinfo.php file when you are done. It is a security risk.
Mnkras replied on at Permalink Reply
Mnkras
Yep the server has curl enabled and looks fine
nteaviation replied on at Permalink Reply
nteaviation
What version of c5? I wonder if zip or zlib modules could be the problem? Or maybe a recusive permission issue in the /packages, /files or /updates direcotry?
jjdb210 replied on at Permalink Reply
jjdb210
I recently tried migrating a site... one of the things I had to do before the site started working correctly was clear out the 2 cache directories in files... Might be worth trying.
craftyCS replied on at Permalink Reply
craftyCS
Doing this now...
It's a strange on as simply clicking on the missing images brings up the gallery slide show with the images in...

Nope clearing the cache directories hasn't done it...

See the homepage has a small gallery in the top right hand corner... clicking works but no small preview...nightmare!
craftyCS replied on at Permalink Reply
craftyCS
Also Noticed that I have an error with the 'Image Block' it is giving out a Warning and broken link:

'Warning: Division by zero in /web2/user8059/website/concrete/helpers/image.php on line 44

Warning: Division by zero in /web2/user8059/website/concrete/helpers/image.php on line 51

Warning: Division by zero in /web2/user8059/website/concrete/helpers/image.php on line 51'

Could this be related to the other problem?..
craftyCS replied on at Permalink Reply
craftyCS
Thanks guys to all of you, Have sussed it!..

In the file manager the 'Access tab' the files storage directory was still showing the old server referance! DOH!

Thanks so much guys for your swift replies.

(wiping brow!)

craftyCS