Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin changes not showing in cart (sidebox controls etc)

    Quote Originally Posted by P&T Aromatic Candles View Post
    all was going fine with changing how things look and so forth but when using admin to remove or add boxes it only changes things on public side now and then
    Normally those changes will take effect immediately ... esp if you're using the supplied classic/default template unmodified.

    Website Rob's point is valid -- if the admin area is pointing to a different database than the storefront, any changes you make to the admin will not be reflected in the storefront.

    However, if you have never edited those files after your installation, the problem is rather less likely to be with the settings in those files.

    I suppose it's worth checking to see what the SQL_CACHE_METHOD is set to in those files though. If it's not set to 'none', then set it to 'none' for now.

    Also, clear your browser's cache and cookies ... maybe you're seeing old cached content unexpectedly?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Jan 2008
    Location
    Brisbane Australia
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin changes not showing in cart (sidebox controls etc)

    Hi DrByte and W/Rob I had already checked both config files but they are both ok and point to the same DB (will post them anyway just incase) also i only downloaded the latest version yesterady! so may even take the upgrade path if I can not get this going by tonight also I always clear out the cache while designing to make sure changes have taken affect so i am a bit stumped with this one; anyway enogh dribble from me! and thanks for helping me

    includes/configure
    PHP Code:
    <?php

    // 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://**********.com.**/shop');

    define('HTTPS_SERVER''https://**********.com/~******/shop');



    // Use secure webserver for checkout procedure?

    define('ENABLE_SSL''true');



    // 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''/phpBB2/');



    // * 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/********/public_html/shop/');



    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'''); // prefix for database table names

    define('DB_SERVER''localhost'); // eg, localhost - should not be empty

    define('DB_SERVER_USERNAME''*********_ZEN2');

    define('DB_SERVER_PASSWORD''******');

    define('DB_DATABASE''********_ZEN1');

    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''none');

    define('DIR_FS_SQL_CACHE''/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');



    ?>
    admin/includes/configure

    PHP Code:
    <?php


      define
    ('HTTP_SERVER''http://********.com.**/shop');

      
    define('HTTPS_SERVER''https://********.com/~********/shop');

      
    define('HTTP_CATALOG_SERVER''http://********.com.**/shop');

      
    define('HTTPS_CATALOG_SERVER''https://********.com/~********/shop');



      
    // secure webserver for catalog module and/or admin areas?

      
    define('ENABLE_SSL_CATALOG''false');

      
    define('ENABLE_SSL_ADMIN''true');



    // 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_ADMIN''/admin/');

      
    define('DIR_WS_CATALOG''/');

      
    define('DIR_WS_HTTPS_ADMIN''/admin/');

      
    define('DIR_WS_HTTPS_CATALOG''/');



      
    define('DIR_WS_IMAGES''images/');

      
    define('DIR_WS_ICONS'DIR_WS_IMAGES 'icons/');

      
    define('DIR_WS_CATALOG_IMAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'images/');

      
    define('DIR_WS_CATALOG_TEMPLATE'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/templates/');

      
    define('DIR_WS_INCLUDES''includes/');

      
    define('DIR_WS_BOXES'DIR_WS_INCLUDES 'boxes/');

      
    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_CATALOG_LANGUAGES'HTTP_CATALOG_SERVER DIR_WS_CATALOG 'includes/languages/');



    // * 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_ADMIN''/home/*******/public_html/shop/admin/');

      
    define('DIR_FS_CATALOG''/home/*****/public_html/shop/');



      
    define('DIR_FS_CATALOG_LANGUAGES'DIR_FS_CATALOG 'includes/languages/');

      
    define('DIR_FS_CATALOG_IMAGES'DIR_FS_CATALOG 'images/');

      
    define('DIR_FS_CATALOG_MODULES'DIR_FS_CATALOG 'includes/modules/');

      
    define('DIR_FS_CATALOG_TEMPLATES'DIR_FS_CATALOG 'includes/templates/');

      
    define('DIR_FS_BACKUP'DIR_FS_ADMIN 'backups/');

      
    define('DIR_FS_EMAIL_TEMPLATES'DIR_FS_CATALOG 'email/');

      
    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');



    // define our database connection

      
    define('DB_TYPE''mysql');

      
    define('DB_PREFIX''');

      
    define('DB_SERVER''localhost'); // eg, localhost - should not be empty

      
    define('DB_SERVER_USERNAME''*********_ZEN2');

      
    define('DB_SERVER_PASSWORD''***');

      
    define('DB_DATABASE''*****_ZEN1');

      
    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''none');

      
    define('DIR_FS_SQL_CACHE''/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');



    ?>

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin changes not showing in cart (sidebox controls etc)

    Um ... a few observations:
    1. Why are your files double-spaced?
    2. Were those files generated by the zc_install installer? Or by your one-click cPanel install?
    3. It's not good that your DIR_FS_SQL_CACHE entry is set to a bogus "demo" value:
    Code:
     define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');
    It should normally be the same as your DIR_FS_CATALOG, with /cache on the end of it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2008
    Location
    Brisbane Australia
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin changes not showing in cart (sidebox controls etc)

    Aahh I was going to ask about that but as usual I forgot! trying to do this as well as make stock; anyway I will change that now and see how i go thanks Dr B Oh and yes it was just a one click install from cpanel

  5. #5
    Join Date
    Jan 2008
    Location
    Brisbane Australia
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin changes not showing in cart (sidebox controls etc)

    Well don't know what I did but I have broken it So have decided to re-install and then upgrade and many thanks DrByte and website rob I appreciate your help sorry for wasting your time

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Admin changes not showing in cart (sidebox controls etc)

    No need to reinstall as the problem appears to be with your config files.

    Along with what DrByte mentioned I see this, which is incorrect.

    includes/configure.php
    define('ENABLE_SSL', 'true');


    admin/includes/configure.php
    define('ENABLE_SSL', 'false');
    define('ENABLE_SSL_ADMIN', 'true');


    Have you already setup an SSL Cert? If not then using 'true' for SSL is not right. Also, you should not have 'ENABLE_SSL' set to True for 'includes' and False for 'admin/includes'.

    Change the above and apply what DrByte suggested as well.

    As to your files being double spaced, that is probably due to your FTP program. If you are using an FTP program with the word "Commander" in it then best to get rid of it and use another.

 

 

Similar Threads

  1. Admin changes not showing in store
    By Soulkreed in forum General Questions
    Replies: 0
    Last Post: 9 Dec 2009, 12:09 AM
  2. Why are the changes I made in my admin not showing on my product pages?
    By Jay Gee in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Oct 2009, 08:53 PM
  3. toolbar(all menus, options like ezpages, etc) not showing in admin page?
    By sricharankatrue in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 19 Aug 2009, 12:13 AM
  4. Product Changes in Admin Not Showing on Public Side
    By exponential in forum General Questions
    Replies: 1
    Last Post: 16 Jan 2008, 10:14 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