Forums / Upgrading from 1.3.x to 1.3.9 / upgraded and now nothing shows...

upgraded and now nothing shows...

Locked

Started by khopek on 23 Sep 2006, 12:59 AM · Views: 3,362

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
23 Sep 2006, 12:59 AM
#1
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

upgraded and now nothing shows...

I finally upgraded to 1.3.5 and nothing shows up now as far as categories and how my site was setup. I did use the override system, and the colors for my site are showing up right, just nothing else. (I think it's something to do with the database?)

Is there something I need to do with the 1.3.0.2 stylsheet and the 1.3.5 stylesheet to get my site showing how it was before the upgrade?

Thanks in advance for help! Upgrading was sooo confusing for me:smile:

23 Sep 2006, 1:19 AM
#2
Kim avatar

Kim

Obaa-san

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

Re: upgraded and now nothing shows...

Did you follow Rule Number 1? Back up back up back up ...

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.

23 Sep 2006, 1:22 AM
#3
barco57 avatar

barco57

Totally Zenned

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

Re: upgraded and now nothing shows...

please tell me you backed up the database before the install.:shocking: The categories won't show up if theres' nothing to show, as in you nuked the database with the install. If you pointed the install to your current database when installing it will drop the tables and write new ones.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

23 Sep 2006, 1:31 AM
#4
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: upgraded and now nothing shows...

yes, yes I did. I made a backup of my database last week. Actually I have 2 backups of the fileset AND the database...just in case:wink2:

It looks like the database isn't showing up on the site, I restored it via the bakcup mysql mod.

23 Sep 2006, 1:42 AM
#5
barco57 avatar

barco57

Totally Zenned

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

Re: upgraded and now nothing shows...

I would try using phpmyadmin to go into your database and drop all tables, basically empty it out. Then import the most recent backup. Then run the install again, making sure to select the database upgrade, cause currently you have a 1.3.5 site with a 1.3.0.2 database restored into a 1.3.5 database . Do This manually in phpMyAdmin not with the restore function of the backup mySQL mod. I did the same thing recently so don't feel bad, at least your backups were more recent then mine.

I would also consider reverting back to previous version and re-read the instructions on upgrading.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

23 Sep 2006, 1:48 AM
#6
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: upgraded and now nothing shows...

well i tried upgrading the first time and it only upgraded my database

13 Oct 2006, 8:16 PM
#7
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: upgraded and now nothing shows...

I have the same problem. To say that this has been "frustrating" is like saying "Hell is a little warm."

I even started from scratch with a fresh install -- and now I have no products, no customers, no ANYTHING. I get no errors when installing / connecting to the database. I know all the info is in the database (in phpMyAdmin) -- but nothing shows up in ZenCart since the upgrade to 1.3.5.

Help? Please?

13 Oct 2006, 9:04 PM
#8
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: upgraded and now nothing shows...

ungeziefer:

I have the same problem. To say that this has been "frustrating" is like saying "Hell is a little warm."

I even started from scratch with a fresh install -- and now I have no products, no customers, no ANYTHING. I get no errors when installing / connecting to the database. I know all the info is in the database (in phpMyAdmin) -- but nothing shows up in ZenCart since the upgrade to 1.3.5.

Help? Please?

I finally figured my problem out so maybe i can help you...

What fixed my problem was setting the FTP transfer type to Binary. I have no idea why but another user suggested this and it worked.

I don't know what FTP program you are using but if it's Filezilla it defaults to upload php files as ASCII....So changed the Transfer Type to Binary, THEN do a database upgrade....and it should upgrade your database AND Zencart.

let me know if this works :D

13 Oct 2006, 11:28 PM
#9
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: upgraded and now nothing shows...

Thanks for the help. Unfortunately, it made no difference.

I believe my problem has to do with modifying these files:

/includes/configure.php

and

/admin/includes/configure.php

Problem is, they don't exist. (They did before, but the last FOUR times I've tried a fresh install, they simply do not. Do I need them? I have no idea. What do I edit on them, if I do need them? I have no idea. I've tried copying the old versions of these files to my server -- no luck. Experimented with modifying them -- even less luck. ...)

This Zen-Cart business might just too complicated for me.

Thanks, anyway.

dustin

p.s.: for FTP, I'm using "Transmit" version 3.5.4 (on a Mac) -- the Transfer Mode was set to "Auto," so for a minute I had indeed hoped that setting it to "Binary" as you said might work. [sigh.]

13 Oct 2006, 11:35 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: upgraded and now nothing shows...

If you look in the two configure.php file ...

Check what database name, username and password are being used as well as if you are using a prefix on the table names or not ...

Make sure everything matches ...

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!

13 Oct 2006, 11:51 PM
#11
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: upgraded and now nothing shows...

The database name, user name and password are correct. No prefix.

So what about the fact that these files, as I said, do not even exist? Is that a bug? Or is that a normal (but never explained) phenomenon?

Did I do the right thing, then, in just copying my old versions of these files?? (And, if so, why should I have to do this, exactly?)

I think this is the section that has me confused:

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

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
. . . . . . . .

What are these "catalogs"? Where should they go? Do I have to create these directories, or are they part of the install? What should the path/hierarchies be, relative to my shop?

In particular : What does this mean? :

// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)

(My store is a subdomain of a web site, so there is no real way to make a path relative to the root. Or is there?? Do I have to do some crazy directory path with a bunch of ".."s? -- like ../../../../store/ or something?)

Am I even making any sense?

Is it a bad idea to even use a subdomain?

Thanks for your patience.

13 Oct 2006, 11:57 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: upgraded and now nothing shows...

Zen Cart does not include the 2 configure.php files otherwise you would risk overwritting an existing site on an upgrade ...

Instead, for NEW INSTALLS, there are the dist-configure.php
/includes/dist-configure.php
/admin/includes/dist-configure.php

On a NEW INSTALL, these could be rename to:
/includes/configure.php
/admin/includes/configure.php

On an UPGRADE you would copy the two files:
/includes/configure.php
/admin/includes/configure.php

from your LIVE site to your UPGRADE site and edit them to alter the paths, database name, username and password ...

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!

14 Oct 2006, 4:43 AM
#13
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: upgraded and now nothing shows...

I wasn't using an "upgrade" site -- just replacing my old one (which was completely deleted).

In any case, that doesn't make sense to me because even when there were no "configure.php" files on my server, my store still showed an error message ("warning: I am able to write to the files includes/configure.php" ... "this is a security risk" ... etc.). Changed the permissions on the "dist-configure.php" files, error persisted.

So I tried to (as you suggested) rename the "dist-configure.php" files to just "configure.php" and give them read-only permissions. I then went to my store, and it did not seem to exist -- instead, it defaulted to the installer folder (which I had renamed). So I entered the URL of the installer (with my re-named folder), and installed again. And again. And again.

This is weird. But eventually (for no reason that I can discern), after the 3rd re-intall, suddenly the "configure.php" files existed again. (Though the "dist-configure.php" files are ALSO still there -- which I find bewildering, given your last post.)

So:

1.) when you "install" ZenCart, and it asks you for your database info, does that info get written to a file ("configure.php" and/or "dist-configure.php"), or does it not? If not, why not?

2.) when you're doing a fresh install -- not an upgrade (though I fail to see much difference, frankly) -- why would the "configure.php" files not be installed?

3.) if it is this "configure.php" file that is the crux of the shopping cart -- telling the cart where the database is and how to connect to it -- why aren't instructions for setting up / editing this file in the FIRST LINE of the first page of the FAQ / documentation?

It seems to me ZenCart so frequently puts the cart miles before the horse. (And I'm still putting my boots on ...)

Probably I am still missing something. Maybe someone can clarify.

14 Oct 2006, 5:55 AM
#14
ungeziefer avatar

ungeziefer

New Zenner

Join Date:
Mar 2006
Posts:
51
Plugin Contributions:
0

Re: upgraded and now nothing shows...

By the way ...

Nothing actually works in my store (regarding the database). ZenCart is installed, but I still have none of my products or anything.

Regarding "configure.php" and "dist-configure.php" files -- which one "overrides," or supercedes, the other?

Because right now I have this in "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://store.zippermosaics.com');
define('HTTPS_SERVER', 'https://store.zippermosaics.com');

(Which looks right)

and I have this in "dist-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://localhost');
define('HTTPS_SERVER', 'https://localhost');

(which seems wrong to me, but on the other hand I believe when I installed ZenCart the server was in fact "localhost" -- which my host company said was correct. Should it be my domain name instead??)

I have this in "configure.php" :

define('DIR_FS_CATALOG', '/var/subdomains/store/');

And I have this in "dist-configure.php" "

define('DIR_FS_CATALOG', '/');

???

Can I simply DELETE these bloody "dist-configure.php" files, or what?

Very confused.