Zen Cart Logo
Forums / General Questions / Cart stopped working

Cart stopped working

Locked

Views: 2,728

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
20 Mar 2008, 7:56 PM
#1
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Cart stopped working

http://www.communicationscripts.com/files/

It was working and stopped working when I enabled SSL. When I disabled SSL, the store would not display. Any ideas?

Below are the config files...

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://localhost');

// 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', 'files/');
define('DIR_WS_HTTPS_CATALOG', 'files/');

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

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

ADMIN

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
/*

  • URL's for your site will be built via:
  • HTTP_SERVER plus DIR_WS_ADMIN or
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
    
  • HTTP_SERVER plus DIR_WS_CATALOG or 
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    
  • ...depending on your system configuration settings
  • If you desire your entire admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://www.communicationscripts.com/');
    define('HTTPS_CATALOG_SERVER', 'https://www.communicationscripts.com/');

// secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', '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_ADMIN', 'files/admin/');
define('DIR_WS_CATALOG', 'files/');
define('DIR_WS_HTTPS_ADMIN', 'files/admin/');
define('DIR_WS_HTTPS_CATALOG', 'files/');

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', 'files/admin/');
define('DIR_FS_CATALOG', 'files/');

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

20 Mar 2008, 8:19 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Cart stopped working

define('DIR_WS_CATALOG', 'files/');
define('DIR_WS_HTTPS_CATALOG', 'files/');

needs to be

define('DIR_WS_CATALOG', '/files/');
define('DIR_WS_HTTPS_CATALOG', '/files/');

and you need to do the same for ALL the paths where file or admin is named

20 Mar 2008, 8:32 PM
#3
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

Changed but it's still the same... Note: I had it that way before and tried a few settings when the cart stopped working.

What else could it be?

20 Mar 2008, 9:09 PM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Cart stopped working

its not working because you have paths in the configure.php file that are NOT correct

define('DIR_FS_CATALOG', 'files/'); also needs to be changed
to
define('DIR_FS_CATALOG', '/files/');

admin config

define('DIR_WS_ADMIN', 'files/admin/');
define('DIR_WS_CATALOG', 'files/');
define('DIR_WS_HTTPS_ADMIN', 'files/admin/');
define('DIR_WS_HTTPS_CATALOG', 'files/');

to

define('DIR_WS_ADMIN', '/files/admin/');
define('DIR_WS_CATALOG', '/files/');
define('DIR_WS_HTTPS_ADMIN', '/files/admin/');
define('DIR_WS_HTTPS_CATALOG', '/files/');

and

define('DIR_FS_ADMIN', 'files/admin/');
define('DIR_FS_CATALOG', 'files/');

to

define('DIR_FS_ADMIN', '/files/admin/');
define('DIR_FS_CATALOG', '/files/');

20 Mar 2008, 9:09 PM
#5
carla avatar

carla

New Zenner

Join Date:
Dec 2007
Posts:
45
Plugin Contributions:
0

Re: Cart stopped working

HI
My cart did not stop working, but my media player only plays sometimes. and sometimes not, usually on the same tracks. All links work checked,
upload via ftp, seams ok,
This is odd because the same tracks that work one day don't work on another day.

Does any one know what the problem can be...
Everything with going great untill now :cry:

my store sells music downloadable....

I need my media player to be reliable... please what has gone wrong....

totalsoundrecording.com/zenstore.

compare little ray of sunshine or billy a ######## with other tracks on site..

big thankyou to anyone who can solve this problem

20 Mar 2008, 9:21 PM
#6
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

I'm sorry, I was not clear. I've posted the config files below for you to see they're in order. Really confusing since the host has not updated that server lately...

*** ADMIN/INCLUDES ***

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
/*

  • URL's for your site will be built via:
  • HTTP_SERVER plus DIR_WS_ADMIN or
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
    
  • HTTP_SERVER plus DIR_WS_CATALOG or 
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    
  • ...depending on your system configuration settings
  • If you desire your entire admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://localhost');
    define('HTTPS_CATALOG_SERVER', 'https://localhost');

// secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', '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_ADMIN', '/files/admin/');
define('DIR_WS_CATALOG', '/files/');
define('DIR_WS_HTTPS_ADMIN', '/files/admin/');
define('DIR_WS_HTTPS_CATALOG', '/files/');

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', '/files/admin/');
define('DIR_FS_CATALOG', '/files/');

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

*** INCLUDES ***
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://localhost');

// 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', '/files/');
define('DIR_WS_HTTPS_CATALOG', '/files/');

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

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

20 Mar 2008, 9:26 PM
#7
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Cart stopped working

Also try this

// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://localhost');

// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
define('HTTP_SERVER', 'http://www.communicationscripts.com');
define('HTTPS_SERVER', 'https://www.communicationscripts.com');

It looks like you put the https://www.communicationscripts.com in the sxample section

20 Mar 2008, 9:35 PM
#8
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

Tried that earlier and same result. I don't understand how changing the SSL setting in teh config files from false to true can cause this problem...

20 Mar 2008, 9:44 PM
#9
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Cart stopped working

well I can tell you for certain that you need to fix all of the things I just described,

there was more changed than ssl from false to true,

you have local host in the define where your domainame should be

and the other changes were path changes,

20 Mar 2008, 9:54 PM
#10
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

I'll attach the files again. I have not changed any other file other than the 2 config files to enable SSL for the store part (not admin).

Are you as confused as I am? 8|

*** ADMIN/INCLUDES ***
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
/*

  • URL's for your site will be built via:
  • HTTP_SERVER plus DIR_WS_ADMIN or
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
    
  • HTTP_SERVER plus DIR_WS_CATALOG or 
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    
  • ...depending on your system configuration settings
  • If you desire your entire admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.communicationscripts.com');
    define('HTTPS_SERVER', 'https://www.communicationscripts.com');
    define('HTTP_CATALOG_SERVER', 'http://www.communicationscripts.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.communicationscripts.com');

// secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', '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_ADMIN', '/files/admin/');
define('DIR_WS_CATALOG', '/files/');
define('DIR_WS_HTTPS_ADMIN', '/files/admin/');
define('DIR_WS_HTTPS_CATALOG', '/files/');

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', '/files/admin/');
define('DIR_FS_CATALOG', '/files/');

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

*** INCLUDES ***

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
// HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
define('HTTP_SERVER', 'http://www.communicationscripts.com');
define('HTTPS_SERVER', 'https://www.communicationscripts.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', '/files/');
define('DIR_WS_HTTPS_CATALOG', '/files/');

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

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

20 Mar 2008, 9:54 PM
#11
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: Cart stopped working

Listen to Merlin.......he is a host with alot of years experience with ZC.
He is right you have localhost were your domain should be listed.
the lines in the config file that start with // are comment lines and don't do anything. they are only examples for the lines below them. The other path changes needed to be made are adding the / before those items that merlin suggested. All of these changes need to be made at the same time. doing one or the other will not fix it, it needs to be both.

OOps I see you posted while I was typing

20 Mar 2008, 9:57 PM
#12
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

I know about "//" and changed the 2 config files accordingly (just posted again). This is nuts because the cart worked before...

Should I do a clean install? I'd rather not since I've spent time tweaking it...

20 Mar 2008, 10:00 PM
#13
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Cart stopped working

what is the rest of the server path

there should be more that /files/ fir the actual server path

on a c-panel server this would look like this
/home/username/public_html/files/

on a windows it woul dlok something like
c:/username/user directory/files/

20 Mar 2008, 10:01 PM
#14
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: Cart stopped working

yes this looks wrong

// * 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', '/files/');

it should look something like this
define('DIR_FS_CATALOG', '/home2/heavscom/public_html/');

contact your host for actual path

20 Mar 2008, 10:02 PM
#15
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

Wow, that was it... :)

Truth is that it worked before the way I had it. lol

Thanks guys!

20 Mar 2008, 10:07 PM
#16
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: Cart stopped working

the useraccount portion would have an actual user account name there

Looking at the config file it looks like a stock dist-config with just the couple of wrong change you made originally. I would be interested to see the database connection section to see if that reverted to stock also (you could post it without the username and passwords, just put ****** there) I would bet you edited a stock copy and dropped it in there.......

20 Mar 2008, 10:08 PM
#17
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,843
Plugin Contributions:
0

Re: Cart stopped working

see what happens when I am typing....you go and fix it.

20 Mar 2008, 10:11 PM
#18
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

I'm now getting an error when trying to access the admin area:

1146 Table xxxxx.zen_project_version' doesn't exist
in:
[select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Here's my admin/includes db part:

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'xxxxx');
define('DB_SERVER_PASSWORD', 'xxxxx');
define('DB_DATABASE', 'xxxxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
// use 'db' for best support, or '' for file-based storage

20 Mar 2008, 10:20 PM
#19
asterix avatar

asterix

Zen Follower

Join Date:
Aug 2005
Posts:
168
Plugin Contributions:
0

Re: Cart stopped working

Wow, spooky...

The db suffix in the admin config file had reverted to the default setting. I changed it back and it now works.

Is this a bug with PHP5.2.5 and mySQL5.0.45?

20 Mar 2008, 11:12 PM
#20
carla avatar

carla

New Zenner

Join Date:
Dec 2007
Posts:
45
Plugin Contributions:
0

Re: Cart stopped working

Please help me as well

Carla:

HI
My cart did not stop working, but my media player only plays sometimes. and sometimes not, usually on the same tracks. All links work checked,
upload via ftp, seams ok,
This is odd because the same tracks that work one day don't work on another day.

Does any one know what the problem can be...
Everything with going great untill now :cry:

my store sells music downloadable....

I need my media player to be reliable... please what has gone wrong....

totalsoundrecording.com/zenstore.

compare little ray of sunshine or billy a ######## with other tracks on site..

big thankyou to anyone who can solve this problem