If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Something is TERRIBLY wrong...

Something is TERRIBLY wrong...

Locked

Started by eliciacw on 21 Jul 2006, 8:19 PM · Views: 2,476

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
21 Jul 2006, 8:19 PM
#1
eliciacw avatar

eliciacw

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #1 by eliciacw

I'm brand new to the zencart world, so I'm hoping someone can explain to me why my "classic" template (and every other style I've tried to install) looks like this...

http://www.eliciac.dreamhosters.com/church_store/

Thanks!

21 Jul 2006, 9:16 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,753
Plugin Contributions:
0

Post #2 by Kim

Who is your host?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

21 Jul 2006, 9:36 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #3 by ajeh

Something is very odd on your site ... most likely your configure.php

Your links read:
http://www.christchurchnashville.org/church_store/index.php?main_page=index

But those are broken ...

Could you post your /includes/configure.php from the server without the username and password?

Are you trying to use the subdomain or domain on your site?

If the subdomain ... try switching to the domain name ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Jul 2006, 9:38 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

Also, did you install yourself with a full Zen Cart v1.3.0.2 Zip from here, or is this via Fantastico in CPanel? Or what? :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jul 2006, 2:39 PM
#5
eliciacw avatar

eliciacw

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #5 by eliciacw

Now, I should explain that I am having to use a 'mirror domain' to view the site until I transfer the DNS. So, right now instead of looking at anything on https://www.christchurhcnashville.org, you have to look at it on https://www.eliciac.dreamhosters.com.

Thanks!

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> /* * URLs 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 */ define('HTTP_SERVER', 'http://www.eliciac.dreamhosters.com'); define('HTTPS_SERVER', 'https://www.eliciac.dreamhosters.com'); define('HTTP_CATALOG_SERVER', 'http://www.eliciac.dreamhosters.com'); define('HTTPS_CATALOG_SERVER', 'https://www.eliciac.dreamhosters.com'); // Use 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', '/church_store/admin/'); define('DIR_WS_CATALOG', '/church_store/'); define('DIR_WS_HTTPS_ADMIN', 'https://www.eliciac.dreamhosters.com/church_store/admin/'); define('DIR_WS_HTTPS_CATALOG', 'https://eliciac.dreamhosters.com/church_store/'); 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/eliciacw/christchurchnashville.org/church_store/admin/'); define('DIR_FS_CATALOG', '/home/eliciacw/christchurchnashville.org/church_store/'); 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', 'zen_'); define('DB_DATABASE', 'church_store'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // 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/eliciacw/christchurchnashville.org/church_store/cache'); ?>
24 Jul 2006, 2:55 PM
#6
eliciacw avatar

eliciacw

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #6 by eliciacw

oh... and the server is dreamhost and it was a one-click install.
Thanks!

24 Jul 2006, 5:25 PM
#7
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #7 by vger

I've already answered this post before - and at that time you had three different websites all listed in the one configure.php file - the new one, the old one, and one of them by dedicated ip address. You also had 'admin' in the root and not in the church_store folder.

This is your problem:

<base href="http://www.christchurchnashville.org/church_store/" />

Which means that your old website is still listed somewhere in the configuration files, like here:

define('DIR_FS_ADMIN', '/home/eliciacw/christchurchnashville.org/church_store/admin/');
define('DIR_FS_CATALOG', '/home/eliciacw/christchurchnashville.org/church_store/');

Vger

24 Jul 2006, 6:03 PM
#8
eliciacw avatar

eliciacw

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #8 by eliciacw

OK...so I tried to change the following code:
define('DIR_FS_ADMIN', '/home/eliciacw/christchurchnashville.org/church_store/admin/');
define('DIR_FS_CATALOG', '/home/eliciacw/christchurchnashville.org/church_store/');

to:
define('DIR_FS_ADMIN', '/home/eliciacw/eliciac.dreamhosters.com/church_store/admin/');
define('DIR_FS_CATALOG', '/home/eliciacw/eliciac.dreamhosters.com/church_store/');

and nothing changes except I can no longer access the admin panel.

I also tried:
define('DIR_FS_ADMIN', '/eliciac.dreamhosters.com/church_store/admin/');
define('DIR_FS_CATALOG', '/eliciac.dreamhosters.com/church_store/');

And that didn't work either. what command actually controls the Base HREF? I guess I just don't understand enough about the problem.

... Should I just uninstall and wait until I transfer the DNS? This is starting to get seriously frustrating.

Thanks for your help!

24 Jul 2006, 7:05 PM
#9
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Post #9 by merlinpa1969

use the IP address ( provided its static ) or the shared URL

Zen cart PCI compliant Hosting

24 Jul 2006, 7:23 PM
#10
eliciacw avatar

eliciacw

New Zenner

Join Date:
Jul 2006
Posts:
14
Plugin Contributions:
0

Post #10 by eliciacw

I'd hoped to do that, unfortunately it's not static. :-(

24 Jul 2006, 7:35 PM
#11
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Post #11 by merlinpa1969

I am at a loss then,
Maybe contact Dream Host, ( they are your host )
and ask them for the shared URL then you can run the installer again and populate it correctly,
shared url in our case is
http://www.camelot-hosting.com/~username

Zen cart PCI compliant Hosting

24 Jul 2006, 9:44 PM
#12
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #12 by vger

To find out the correct DIR_FS pathway do this.

Create a text file on your desktop and rename it to cwd.php (ignore the warning about changing the file extension).

Put this code in it:

<?php
$p = getcwd();
echo $p;
?>

Upload the file to the root of your subdomain, and then type the subdomain address into your browser, plus /cwd.php

The text you see is the actual pathway you need. Make a note of it, and then delete the cwd.php file from the server.

Vger

24 Jul 2006, 9:48 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #13 by ajeh

Not sure if related to your issues but these should be changed:

define('DIR_WS_ADMIN', '/church_store/admin/');
define('DIR_WS_CATALOG', '/church_store/');
define('DIR_WS_HTTPS_ADMIN', 'https://www.eliciac.dreamhosters.com/church_store/admin/');
define('DIR_WS_HTTPS_CATALOG', 'https://eliciac.dreamhosters.com/church_store/');

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

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jul 2006, 9:52 PM
#14
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #14 by vger

You are quite correct - and I've already said that in a previous post in an earlier thread - on the same subject.

Vger

Ajeh:

Not sure if related to your issues but these should be changed: