Moving Site to new server - Missing Content

Permalink
Hi There,

Built my first site with concrete which has been seamless. Love the platform and works great.

I have just followed a tutorial to move the site to a new server. I followed it word for word, files, database then cleared the cache and new sitemap etc.

The site is appearing with its full architecture, however 80% of the pages appear blank...

The theme pages appears and displays but cuts off half way down the page. All top level pages appear fine and full, the home page appears half and all subpages have no content.

I have re-uploaded these individual templates again, but still no joy.

I have repeated the whole process three times and the result is still the same.

Any guidance would be greatly appreciated.

Thanks

View Replies:
Pritam replied on at Permalink Reply
Pritam
Had you disabled the cache and turned off friendly url's before moving.

Are the file permissions set properly, esp is the chmod 777 perms applied recursively to files and sub-dir's for the /files dir ?
obaudains replied on at Permalink Reply
The first 2 were... Can you explain what you mean by
"esp is the chmod 777 perms applied recursively to files and sub-dir's for the /files dir ?
"

Is the esp a file I can re-upload to confim it went successfully...?
Pritam replied on at Permalink Reply
Pritam
the \files directory stores all the images and other files that you uploading using the file manager, hence the 777 permission needs to be applied not just to the \files dir but also the dir and files that lie within this one.

The best way to do this is to use Filezilla ftp client, and after you are connected to your site ftp you can right-click on the \files dir and choose Chmod 777, , below there is a option that says Recurse to files and sub-dir you gotta choose this and let it set the permissions
obaudains replied on at Permalink Reply
Thanks Pritam, I have done as you have suggested but no joy.

Under further investigation, it appears that the page stops displaying due to the second block area on the page. If I comment this block out in the file, this block obviously doesn't show but the rest of the page loads fine.

Any ideas as to why this is happening..?
Pritam replied on at Permalink Reply
Pritam
Is there a link which I could look at to try and determine the cause ?
obaudains replied on at Permalink Reply
Yes of course, I have just sent you a private message
Pritam replied on at Permalink Reply
Pritam
Just checked the link you sent me , are you able to see the content that is not showing up on the site front when you are logged into site edit mode ?
obaudains replied on at Permalink Reply
No, Its exactly the same when I'm logged in....
Pritam replied on at Permalink Reply
Pritam
Did you get any error's while importing the db to your web-server ?
obaudains replied on at Permalink Reply
No nothing....
Really strange, any more ideas..?
Pritam replied on at Permalink Reply
Pritam
Is the site copy installed on the web-server on your local machine working perfectly ?
obaudains replied on at Permalink Reply
Yes, its seamless....
obaudains replied on at Permalink Reply
The only thing i think it can be is an issue with the images.

When I go into an images properties ans re-scan the image it gives me this error

Unable to rescan Header-10.jpg. Error encountered: Call to undefined function imageCreateTrueColor(). Rescan halted.

Any ideas...?
Pritam replied on at Permalink Reply
Pritam
Are you sure there is no text content missing on those blank pages besides the images ?
obaudains replied on at Permalink Reply
yes but only after is tries to display the image.....
It is trying to pull the image out of the library, but it appears it cant map to it properly. I cant see the source code, it just doesnt show.....

I can view the images fine in the library, the cache has been cleared loads too.

Would this issue be caused from not clearing the cache before moving the site...?
Pritam replied on at Permalink Reply
Pritam
Definitely not clearing your cache prior to migrating can also be a reason but another reason why the images are not showing up could be coz you haven;t set 777 recursive to files and sub-directors on your \files dir
Charlie replied on at Permalink Reply
Obaudains it sounds to me like you don't have the GD library compiled with your version of php as it cant run the function imageCreateTrueColor()

If you look at the src of your pages that are broken, does the src break when trying to displaying images loaded via the filemanager?

I would firstly check if this is installed, upload a php file with the following contents to your root..


<?php
phpinfo();
?>


..and search for GD to see if the library is available and GD Support is enabled, if not you will need to enable it, or if your unable to do so yourself request your host to enable it.

Charlie
jostmey replied on at Permalink Reply
Bump! I am having the same problem.

It looks like concrete5 does not want to be moved.

My website is http://www.searchbitcoin.com. Everything still works fine at that URL.

I tried moving it to a new VPS and now it does not work. Visit http://66.228.45.91/index.php/learn-about-bitcoins/... to see an example of the problem :-(

It appears that the PHP script is crashing before the page finishes rendering. The apache error log files are useless.

I will keep trying to find a solution for it myself.
jostmey replied on at Permalink Reply
It was because the GD library was missing! It works now. Thanks!
webicine replied on at Permalink Reply
webicine
I had the same problem and it was fixed when my host installed the GD library.