Forums / General Questions / Admin changes not showing in cart (sidebox controls etc)

Admin changes not showing in cart (sidebox controls etc)

Locked

Views: 1,823

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
17 Jan 2008, 11:56 PM
#1
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

Admin changes not showing in cart (sidebox controls etc)

Hi All,

I am very sorry if this has been asked/answered before but I can not find anything on the forums about it for the life of me!!:huh: anyway we have just installed zen cart for the first time and 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; an example is there is 3 search boxes on cart I only wanted the 1 left at the top so I turned it off in admin but no changes on cart side this also happens with other boxes; its showing in admin as though they have been removed but when you go to the cart the boxes are still there any help would be greatly appraciated as we have had our online store offline for over a week now as we had to change providers as our last providers security and tech help was usless!! we used Oscommerce on that account but wanted to change to zen cart when we changed providers.

Once again sorry if this has been asked before

Kind Regards

Paul:smile:

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 4:29 AM
#2
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

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

Has anyone got any suggestions at all PLEASE:smile: sorry to hassle everyone I just need to get this fixed so we can get back online :smile:

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 4:50 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

More information would help ...

What version of Zen Cart are you using?
What addons/contributions do you have installed?
What template are you using? Where did it come from? Who designed it? What version of Zen Cart was it built for?
What is your site URL?
What version of PHP and MySQL are on your server?

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

18 Jan 2008, 5:58 AM
#4
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

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

Sorry DrByte I should have already had that info in already! brain is a bit in tatters today :( Zen cart version is 1.3.7 and no addon's or contibutions as yet its a fresh install using cpanel 11.16.0-RELEASE and the template is the original green one that comes with it all I have edited on that is I changed the colour of it using photoshop but I did not change the original name of that file, PHP version is 4.4.4 and My SQL version is 4.1.22 standard; operating system is linux and Apache version is 1.3.37(unix)

The site url is http://pandtaromaticcandles.com.au/shop but its still in its very basic form at the moment as i would like to get this problem fixed before going on to add anything else.

Kind Regards

Paul

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 6:03 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

It's possible that paths used in the 2 configure files are not quite right. Could also be a database problem with regard to what, if any, Table prefix is being used.

Can you confirm the above has been checked and is setup correctly?

The learning is in the doing.

Potent Products

18 Jan 2008, 6:11 AM
#6
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

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

Ok will check those soon thanks Rob just have to go pick the mrs up from work first lol but will get tha done asap and thanks to you and drbyte for your prompt replys :smile:

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 6:44 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

An aside comment ...> P&T Aromatic Candles:

Zen cart version is 1.3.7 and no addon's or contibutions as yet its a fresh install using cpanel 11.16.0-RELEASEYou may not like this thought, but Zen Cart v1.3.7.1 and v1.3.8a have been released and incorporate a years' worth of improvements and bugfixes. If you're planning to build a store, you might consider upgrading to a newer version before you go too far down the road. Especially if you plan to use USPS for generating shipping quotes, since v1.3.8 contains a required fix for it to work properly due to USPS changes made in November.

http://www.zen-cart.com/forum/showthread.php?t=81696

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

18 Jan 2008, 6:49 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

P&T Aromatic Candles:

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

18 Jan 2008, 9:17 AM
#9
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

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:huh: 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 :smile:

includes/configure

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


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



?>

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 9:57 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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:```
    define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');

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

18 Jan 2008, 10:02 AM
#11
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

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 :smile: Oh and yes it was just a one click install from cpanel

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 11:12 AM
#12
Join Date:
Jan 2008
Location:
Brisbane Australia
Posts:
20
Plugin Contributions:
0

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

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

P & T Aromatic Candles www.pandtaromaticcandles.com.au/candles
100% Natural Soy Wax Candles and Oil Burner Melts/Tarts. We also stock Genuine Designer Perfumes.

18 Jan 2008, 3:09 PM
#13
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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.

The learning is in the doing.

Potent Products