that's an affirmative on the installation freshness [childish giggle here].
that's an affirmative on the installation freshness [childish giggle here].
Originally Posted by DrByte
{DIR_FS_ADMIN, DIR_FS_CATALOG, DIR_FS_SQL_CACHE} should be set to the full pathname, n'est-ce pas?
config is the only file i told zc about where it lives.
When I migrate servers, I use the instructions I linked to earlier.
The KEY is to do a virgin, untouched, clean, original install of UNTOUCHED original , master, freshly-unzipped files to the new/destination server. Get Zen Cart working on that new server, ideally using Demo products so you can quickly test several aspects of things.
I repeat ... do this with a CLEAN set of files, NOT touched by ANY mods/addons/favorites, etc. Totally clean.
THEN, KEEP A COPY of the NEW server's configure.php files. They are gold.
Now upload all your files and database from the old server. But use all the settings from the new server's configure.php files which you just saved. Edit them ONLY to adjust the domain name.
If something stops working after copying your old server's files onto the new server, then something was corrupted during upload. Or else you have some hard-coded paths somewhere in your customizations/addons.
.
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.
um gold's trading around $600/oz. my config file's worth more like an ounce of Sh* (update your periodic table of the elements with this newly discovered element by neuzen when he lifted the veil of serendipity during his zc migration)Originally Posted by DrByte
I knew I should have gone to bed ... where did I put that table of elements ... or was that a div of functions?
.
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.
ok got zc working on the new server...
but what's strange is that if i overwrite all the db tables with the developed zc db tables the store functions normally (without any changes to the virgin zc fileset). however, if i simply point the zc to another db that is exactly the same but differs only by name, the above errors are generated.
is there something with the db, say caching instructions, that gets hard coded during installation?
zc will not let me point to a db with a name different than the one given during installation, even if the 2 dbs are otherwise identical.
That makes no sense at all. Zen Cart stores all its database-access settings in the configure.php files.
Are your DB_PREFIX settings the same between databases? If you use different prefixes on your tablenames, you will have problems, because they are seen as completely different entities.
.
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.
it makes no sense to me either, but then again, i didnt design or write zc... difficult to know where you're at if you're inside a labyrinth you didn't design and all you have to guide you is footprints you've left from where you were before...
2 identical dbs, except for the name (both 'restored' using the same sql dump file). both are pointed to in the config files and 1 or the other is commented out. if the install db is pointed to zc runs normally (at least on the surface) if the other db is pointed to, zc gives the errors listed above.
this was done with latest 1.3.5 available at sourceforge, nothing changed except db and config.
both mysql versions are 4.*
Bookmarks