Images not displaying
Permalink
Good day
I designe a site with c5 and moved it from thehttp://www.sitename.com/wip folder to the root folder, I did the chages in the site.php
Database is all working site loads and I can login But my images are not displaying?
Can anyone plz help me with this one?
Thank you
JV
I designe a site with c5 and moved it from thehttp://www.sitename.com/wip folder to the root folder, I did the chages in the site.php
Database is all working site loads and I can login But my images are not displaying?
Can anyone plz help me with this one?
Thank you
JV
Are you referring to images in your pages or in your theme? Or both?
rescan for all images in the filemanager
Good day
Not them images but pages images?
How and where will I do the rescan?
Thank you
Not them images but pages images?
How and where will I do the rescan?
Thank you
I did the rescan after a site move and although all of my information is there, the images are not. Is there something else I need to do?
I had this issue with another site that had few images already uploaded into the file manager, but I just manually moved the entire site to a sub-folder so the file structure would be the same as before. Its original file structure during dev. was root/subfolder/images
and moved to root/images. I had to change the structure back to root/subfolder/images.
I had this issue with another site that had few images already uploaded into the file manager, but I just manually moved the entire site to a sub-folder so the file structure would be the same as before. Its original file structure during dev. was root/subfolder/images
and moved to root/images. I had to change the structure back to root/subfolder/images.
can you show us the before/after of the config file (not the juicy bits) so we can make sure it is all right there?
Original site.php:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'site_user');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'site_db');
define('BASE_URL', 'http://www.sitename.com');
define('DIR_REL', '/testing_directory');
define('PASSWORD_SALT', '****e4fa6811d6***fe03be58e******');
?>
New site.php:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'newsite_user');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'newsite_db');
define('BASE_URL', 'http://newsitename');
define('DIR_REL', '');
define('PASSWORD_SALT', '****e4fa6811d6***fe03be58e******');
?>
The other file in my config folder is just the site theme file.
I was under the assumption that the DIR_REL syntax would point everything to whatever file structure you need, that everything concrete related would fall underneath of whatever the DIR_REL pointed to.
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'site_user');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'site_db');
define('BASE_URL', 'http://www.sitename.com');
define('DIR_REL', '/testing_directory');
define('PASSWORD_SALT', '****e4fa6811d6***fe03be58e******');
?>
New site.php:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'newsite_user');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'newsite_db');
define('BASE_URL', 'http://newsitename');
define('DIR_REL', '');
define('PASSWORD_SALT', '****e4fa6811d6***fe03be58e******');
?>
The other file in my config folder is just the site theme file.
I was under the assumption that the DIR_REL syntax would point everything to whatever file structure you need, that everything concrete related would fall underneath of whatever the DIR_REL pointed to.
I should add that the images that aren't displaying are the ones that have been uploaded via the file manager through the CMS.
that looks good, did you check the source for the page to see where the code is looking for the images? How does this compare to the actual location of the files?
Could something have happened to the permissions of the files directory?
Could something have happened to the permissions of the files directory?
I assume you checked to make sure the images are in fact there in the files directory, right?
How much of an idiot am I? I just uploaded the wrong backed up files folder. Images work fine now.
It's always the simple steps you overlook.
It's always the simple steps you overlook.