Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Problem with images after moving to another folder

Problem with images after moving to another folder

Locked

Views: 1,025

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
30 Sep 2008, 5:48 PM
#1
wolfsinger avatar

wolfsinger

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Problem with images after moving to another folder

I'm hoping someone can point me in the right direction.

I moved all of the files for my ZenCart to another folder on the same server, changed all of the listingings in the Sessions section. I can log into admin without a problem, the site comes up just fine, except none of the images are showing up.

I've checked the "includes" files and the stylesheet and can't figure out what needs to be changed.

Any ideas?? Help??

30 Sep 2008, 5:52 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Problem with images after moving to another folder

Put up a URL so we can diagnose the site.

30 Sep 2008, 5:54 PM
#3
wolfsinger avatar

wolfsinger

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: Problem with images after moving to another folder

30 Sep 2008, 6:00 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Problem with images after moving to another folder

May be a good idea to check your configure.php file...

Look at your directory path settings.

30 Sep 2008, 6:05 PM
#5
wolfsinger avatar

wolfsinger

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: Problem with images after moving to another folder

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://hlcmysticbydesign.com'); define('HTTPS_SERVER', 'https://hlcmysticbydesign.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/healingl/public_html/hlcmysticbydesign.com/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'healingl_zc1'); define('DB_SERVER_PASSWORD', 'Td{13sppZ2Ox'); define('DB_DATABASE', 'healingl_zc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home/healingl/public_html/hlcmysticbydesign.com/cache'); // EOF
30 Sep 2008, 6:10 PM
#6
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Problem with images after moving to another folder

OOPS...:oops: :oops:

You shouldn't post your configure files. Now we can all see your login details.

You MUST now change these login details!!!

30 Sep 2008, 6:23 PM
#7
wolfsinger avatar

wolfsinger

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: Problem with images after moving to another folder

how do i change them?
sorry, brain is scrambled after looking at code most of the day.

30 Sep 2008, 6:26 PM
#8
wolfsinger avatar

wolfsinger

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: Problem with images after moving to another folder

never mind, i think i got that changed. jeez. not enough coffee, lol.

30 Sep 2008, 6:28 PM
#9
wolfsinger avatar

wolfsinger

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: Problem with images after moving to another folder

nope, just messed it up.

I think I'll just delete the whole thing and start over.

30 Sep 2008, 6:32 PM
#10
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Problem with images after moving to another folder

It would appear that your paths are correct - so you probably don't have images in the appropriate folders. You can do a SOURCE CODE view of your home page to see the directory paths for images.

Then, if you look in the directories concerned, they are probably empty (no images), so you will have to FTP the images to these folders.

To change your database logins, you are going to have to do this via your host account C-Panel. (I trust you are familiar with C-Panel)?

In C-Panel, click the MySql Databases Icon. Then, create a NEW DBASE USER and give that user a PASSWORD.

Assign the user to the database - 'healingl_zc1'

Then, delete the user:- 'healingl_zc1' (NOTE, that you have a database and a user with the same name - make sure to delete the USER, not the database. There's no "recovery" if you do, and a new install of ZC will be necessary)

Then, in BOTH configure.php files, change the Username and Password to match the new ones you assigned to the dbase earlier.