Images not Showing
Permalink 1 user found helpful
Hi There
I moved a concrete5 site to a new domain. Previous to this all images that was added through content editor from file manager where showing fine. Now all those images are not showing on the new domain. Just to let you know I did i change the paths in config file to reflect the new domain path and everything else works fine. Its just the images that are not showing. Can some please advise.
I moved a concrete5 site to a new domain. Previous to this all images that was added through content editor from file manager where showing fine. Now all those images are not showing on the new domain. Just to let you know I did i change the paths in config file to reflect the new domain path and everything else works fine. Its just the images that are not showing. Can some please advise.
Dashboard -> Sitewide Settings -> Debug -> Clear Cache
I'm having the same problem since taking my site live.
I'm using C5 5.6.1
Cannot find the path you suggest:
Dashboard - Sitewide Settings Debug Clear Cache
Closest I have DB - Systems and Settings and then Environement Debug Settings but no "Debug"
In File Manager looking at earlier images that will display and have thumbnails and comparing to current images that do not I can't see a difference in their locations:
From Environment/Filse Storage Locations
/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files
Image w/out Thumbnail
URL to File http://www.guanajuatorentals.com/files/8913/9206/6237/QZlogoLrg2.pn...
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
File Preview -nothing here-
Image with Thumbnail
URL to File http://www.guanajuatorentals.com/files/8513/8867/5653/QZlogoLrg2.pn...
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files) from above image that won't display
File Preview -shows image-
concrete5/files/thumbnails permissions 757 changing to 0775 didn't help
I'm using C5 5.6.1
Cannot find the path you suggest:
Dashboard - Sitewide Settings Debug Clear Cache
Closest I have DB - Systems and Settings and then Environement Debug Settings but no "Debug"
In File Manager looking at earlier images that will display and have thumbnails and comparing to current images that do not I can't see a difference in their locations:
From Environment/Filse Storage Locations
/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files
Image w/out Thumbnail
URL to File http://www.guanajuatorentals.com/files/8913/9206/6237/QZlogoLrg2.pn...
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
File Preview -nothing here-
Image with Thumbnail
URL to File http://www.guanajuatorentals.com/files/8513/8867/5653/QZlogoLrg2.pn...
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files) from above image that won't display
File Preview -shows image-
concrete5/files/thumbnails permissions 757 changing to 0775 didn't help
on the top bar (when you're logged in) near the "dashboard" button you have a text field that says "intelligent search". In there type clear cache and a list of suggestions will appear, click on the one that says literally "clear cache" it will take you where you need to be.
Hi, Thanks for your reply. I've done as you suggest several times but it does not solve the problem. I'm now wondering if I have duplicate file paths:
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
One to where the images are and another to where the thumbnails are say bac on my test directory.
I just tried this. I clicked on a good thumbnail and a selction box came up [see attached img 1] and you can see the image.
Next I went to a file with a missing thumbnail and did the same and only an outline of the image appears [see attachment 2]
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
One to where the images are and another to where the thumbnails are say bac on my test directory.
I just tried this. I clicked on a good thumbnail and a selction box came up [see attached img 1] and you can see the image.
Next I went to a file with a missing thumbnail and did the same and only an outline of the image appears [see attachment 2]
Are you absolutely sure you packed up the full contents of the [root]/files folder of your old site and migrated them to the new server? It looks like some were just left behind in the move.
If you drill down through FTP to one of the missing images ([root]/files/1234/5678/etc) is it physically there on your new server?
It looks like there are only a few missing images on your new site. I would think it might be faster just to re-upload those missing images and go forward from there.
If you drill down through FTP to one of the missing images ([root]/files/1234/5678/etc) is it physically there on your new server?
It looks like there are only a few missing images on your new site. I would think it might be faster just to re-upload those missing images and go forward from there.
>>Are you absolutely sure you packed up the full contents of the [root]/files folder of your old site and migrated them to the new server? It looks like some were just left behind in the move.<<
Thanks for putting on the right track. All the 'errors' happened after I migrated so reloading the files [I've tried] doesn't help.
In my dev site I have a root called concrete5 and in it is /files
In my live site I don't have a /files at all!
I'm copying and adding to /concrete now and will report if that allows the thumbs and images to be shown. If it does then its just a matter of directing file manager to the right directory - ah I may already have the answer to that: httpdocs/concrete5/files instead of httpdocs/concrete/files How do I redirect? and why are the old dev site images being picked up in the 1st place? ['cause I don't hae a /files?]
Thanks for putting on the right track. All the 'errors' happened after I migrated so reloading the files [I've tried] doesn't help.
In my dev site I have a root called concrete5 and in it is /files
In my live site I don't have a /files at all!
I'm copying and adding to /concrete now and will report if that allows the thumbs and images to be shown. If it does then its just a matter of directing file manager to the right directory - ah I may already have the answer to that: httpdocs/concrete5/files instead of httpdocs/concrete/files How do I redirect? and why are the old dev site images being picked up in the 1st place? ['cause I don't hae a /files?]
All your files are supposed to be in '[root]/files/'
There should not be a '[root]/concrete5/files' folder at all.
There should not be a '[root]/concrete5/files' folder at all.
You still need to clear the cache. Try this URL:
http://www.guanajuatorentals.com/index.php/dashboard/system/optimiz...
http://www.guanajuatorentals.com/index.php/dashboard/system/optimiz...
Hi I've cleared the cache over a dozen times to no avail.
My idea about Not having a /files in my root was wrong - it was there.
Checking it for for Date Last Modfied shows 1/12/2014 -the day I made the move.
Checking a "no-show file" I find this under properties:
URL to File http://www.guanajuatorentals.com/files/8513/9345/5278/Chase_QP.jpeg...
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
try to open URL in Browser
"Not Found
The requested document was not found on this server.
Web Server at guanajuatorentals.com "
Modify URL tohttp://www.guanajuatorentals.com/...concrete5.../files/8513/9345/52... (...'s for emphasis actual URL follows)
http://www.guanajuatorentals.com/concrete5/files/8513/9345/5278/Cha...
And the image loads
So now I guess the question is how do I teach C5 to load files to the right directory?
My idea about Not having a /files in my root was wrong - it was there.
Checking it for for Date Last Modfied shows 1/12/2014 -the day I made the move.
Checking a "no-show file" I find this under properties:
URL to File http://www.guanajuatorentals.com/files/8513/9345/5278/Chase_QP.jpeg...
Location Default Location (/var/www/vhosts/guanajuatorentals.com/httpdocs/concrete5/files)
try to open URL in Browser
"Not Found
The requested document was not found on this server.
Web Server at guanajuatorentals.com "
Modify URL tohttp://www.guanajuatorentals.com/...concrete5.../files/8513/9345/52... (...'s for emphasis actual URL follows)
http://www.guanajuatorentals.com/concrete5/files/8513/9345/5278/Cha...
And the image loads
So now I guess the question is how do I teach C5 to load files to the right directory?
If you re-upload new images through the File Manager, where do they get stored?
I can now see what is happening - now if I can explain it:
TWO PATHS
guanajuatorentals.com Live site
and
guanajuatorentals.com/concrete5 Dev site
1st to answer your question where are new files stored?
in guanajuatorentals.com
no thumbnail no location
http://www.guanajuatorentals.com/files/8513/9345/5278/Chase_QP.jpeg... actual image
in guanajuatorentals.com/concrete5
http://guanajuatorentals.com/concrete5/files/thumbnails/8513/9345/5... and thumbnail shows
http://guanajuatorentals.com/concrete5/files/8513/9345/5278/Chase_Q... actual image location
This got me thinking - I logged in using the old dev directory and went to its File Manager and all the Thumbnails were there. Next I created a new page and added some images. Published the page and logged out. The images were viewable in the browser underhttp://guanajuatorentals.com/concrete5/index.php/image-tests/...
Next I went to Live version of the sitehttp://guanajuatorentals.com/index.php/image-tests/... and the new page and images were there too.
Perhaps the live site didn't have a /files/thumbanails? It does but it doesn't update. Subdirectories there run 1113-8213 + level 3 and nothing has occured since the date I took the site live.
Then looking in /concrete5/files/thumbnails the subdirectories run 1113-9913 plus level 2 and level 3. All the images uploaded since the go live date are there.
So I've found a workaround to the problem - create pages in the Dev area as it seems to duplicate everything in the 'live' part of the site.
Thanks everyone for working on this and I look forward to a suggestion as to how to correct this as well.
TWO PATHS
guanajuatorentals.com Live site
and
guanajuatorentals.com/concrete5 Dev site
1st to answer your question where are new files stored?
in guanajuatorentals.com
no thumbnail no location
http://www.guanajuatorentals.com/files/8513/9345/5278/Chase_QP.jpeg... actual image
in guanajuatorentals.com/concrete5
http://guanajuatorentals.com/concrete5/files/thumbnails/8513/9345/5... and thumbnail shows
http://guanajuatorentals.com/concrete5/files/8513/9345/5278/Chase_Q... actual image location
This got me thinking - I logged in using the old dev directory and went to its File Manager and all the Thumbnails were there. Next I created a new page and added some images. Published the page and logged out. The images were viewable in the browser underhttp://guanajuatorentals.com/concrete5/index.php/image-tests/...
Next I went to Live version of the sitehttp://guanajuatorentals.com/index.php/image-tests/... and the new page and images were there too.
Perhaps the live site didn't have a /files/thumbanails? It does but it doesn't update. Subdirectories there run 1113-8213 + level 3 and nothing has occured since the date I took the site live.
Then looking in /concrete5/files/thumbnails the subdirectories run 1113-9913 plus level 2 and level 3. All the images uploaded since the go live date are there.
So I've found a workaround to the problem - create pages in the Dev area as it seems to duplicate everything in the 'live' part of the site.
Thanks everyone for working on this and I look forward to a suggestion as to how to correct this as well.
Are you using the same database in Dev as your are in Live?
I think so - its the only one I have
You can't use the same database for two separate installs (one in the root and another one in /concrete5). Once you copy your files to the root, you have to stop using the installation in the concrete5 folder or you have different paths stored in the database.
If you want to keep the root/concrete5 installation for testing then you need to make a copy of your live database and point the site.php file in the concrete5 folder at your new copy.
At this point, I would just re-build the few pages that have missing images.
If you want to keep the root/concrete5 installation for testing then you need to make a copy of your live database and point the site.php file in the concrete5 folder at your new copy.
At this point, I would just re-build the few pages that have missing images.
Would there be maybe a wrong setting in your ROOT/config/site.php file?
Here's the file and a bit more info. I really don't know what to look for... Maybe something wrong in the 'DIR_REL'?
SERVER ADMIM SETTINGS
Database parameters
Database name
Concrete5_f
Old database user name
Concrete5_0
Site Name: Concrete
General
Installed at /concrete5 <<<--OR Could this be the problem? Maybe the DB needs to be moved to / ?
Installed Apps: concrete5 5.6.0.2http://guanajuatorentals.com/concrete5...
SERVER ADMIM SETTINGS
Database parameters
Database name
Concrete5_f
Old database user name
Concrete5_0
Site Name: Concrete
General
Installed at /concrete5 <<<--OR Could this be the problem? Maybe the DB needs to be moved to / ?
Installed Apps: concrete5 5.6.0.2http://guanajuatorentals.com/concrete5...
technically if your install is not at the root but in a folder like in your case (concrete5 folder) then DIR_REL should have that value so here define('DIR_REL', 'concrete5')