Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default 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??

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

    Default Re: Problem with images after moving to another folder

    Put up a URL so we can diagnose the site.

  3. #3
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Problem with images after moving to another folder


  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Problem with images after moving to another folder

    OOPS...

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

    You MUST now change these login details!!!

  7. #7
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default 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.

  8. #8
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Problem with images after moving to another folder

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

  9. #9
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default 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.

  10. #10
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. v150 updating my images doesn't make any change after moving ZC to another folder
    By dagadesign in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 30 Jan 2012, 02:57 AM
  2. Store not working after moving it to another folder.
    By zbit in forum Basic Configuration
    Replies: 16
    Last Post: 23 Nov 2010, 09:10 PM
  3. moving ZC from one folder to another folder
    By hazephase in forum Installing on a Windows Server
    Replies: 5
    Last Post: 1 Jun 2010, 11:40 PM
  4. Problem when moving zen cart to another folder
    By AHeartForTheEarth in forum General Questions
    Replies: 12
    Last Post: 11 Nov 2008, 04:25 PM
  5. Replies: 6
    Last Post: 27 Jan 2007, 08:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg