Site Move - Now having image problems
Permalink
We are moving our site from Bluehost to a new host. My IT guy made a copy of the folder structure and database and copied it to the new host. I am not convinced this is the proper way to move a C5 site, which may be why we're seeing these issues related to displaying images:
1. Any image that is put in with the Image block is replaced with text "Image not Found".
2. Any image inserted into a Content block will display, but if the size is altered in HTML code, it shows up as a white box with outline.
3. When I attempt to rescan any file in the files manager, C5 responds back with a file cannot be found error. The thumbnail for the image in file manager and properties all seem to work file however.
4. If I attempt to upload a new file to the file system C5 responds back with either: a)when it's an image it says it's unable to upload the file the storage area, or b)the file is larger than 2M even though it's not.
5. I have tried the following: a) made sure all permissions in the Files folder are 777, b) made sure the site.php file does not include extra spaces or is otherwise corrupted, c) cleared the cache, b) made sure I can open the images by typing the raw URL into a browser.
I am suspect that part of the problem is the copy method. I have read how to do it and it seems pretty specific. I don't believe the cache was cleared before the copy. If I have to do an install of the core first (we need to upgrade anyway) and then copy files and database over, that is the next path.
Any help or suggestions is greatly appreciated.
Thank you - Tim Cerami, FieldSync
1. Any image that is put in with the Image block is replaced with text "Image not Found".
2. Any image inserted into a Content block will display, but if the size is altered in HTML code, it shows up as a white box with outline.
3. When I attempt to rescan any file in the files manager, C5 responds back with a file cannot be found error. The thumbnail for the image in file manager and properties all seem to work file however.
4. If I attempt to upload a new file to the file system C5 responds back with either: a)when it's an image it says it's unable to upload the file the storage area, or b)the file is larger than 2M even though it's not.
5. I have tried the following: a) made sure all permissions in the Files folder are 777, b) made sure the site.php file does not include extra spaces or is otherwise corrupted, c) cleared the cache, b) made sure I can open the images by typing the raw URL into a browser.
I am suspect that part of the problem is the copy method. I have read how to do it and it seems pretty specific. I don't believe the cache was cleared before the copy. If I have to do an install of the core first (we need to upgrade anyway) and then copy files and database over, that is the next path.
Any help or suggestions is greatly appreciated.
Thank you - Tim Cerami, FieldSync
Can you give me an URL? I can't tell what's going on this way
I wish I could. We have an active site at our domain name (www.fieldsync.net) - The new site is on a different host and I have to change my HOSTS file to get access to it. I am not going to ask somebody to do that to help on this case.
Will screen shots help?
Will screen shots help?
Can you verify the image at the image path actually exists in the new environment? Have you tried clearing cache on your new environment and clearing the cache on your browser as well?
Can you check the permissions on an individual file? If try bumping one up to 777 to see if that resolves the problem for that one file if it isn't already.
Can you check the permissions on an individual file? If try bumping one up to 777 to see if that resolves the problem for that one file if it isn't already.
Wow.. I figured out the image issue. The old host and new host have different paths to the files folder. The old one was /home3/fieldsyn/public_html/files and the new one is /home/field/public-html/files. So, I changed the file storage location in C5 and all the images now are correct.
NOW, I have a similar problem with the SiteMap. I cannot open it, so I think if I look at the database I will find something that will help me fix this issue.
I have read several accounts on moving a site, but this stuff has not come up. Live and learn.
Thanks!
NOW, I have a similar problem with the SiteMap. I cannot open it, so I think if I look at the database I will find something that will help me fix this issue.
I have read several accounts on moving a site, but this stuff has not come up. Live and learn.
Thanks!