HI There,
After you have installed the DB etc.. you replaced the new zen cart files with your previous ones?
Check your DB paths, names and passwords:
includes/configure.php
admin/includes/configure.php
HI There,
After you have installed the DB etc.. you replaced the new zen cart files with your previous ones?
Check your DB paths, names and passwords:
includes/configure.php
admin/includes/configure.php
That wasn't the plan!
It's a clean / new ZC install, the only files I uploaded besides the stock ZC ones are my custom template.
Since it is operational with the post-install data in the DB I believe the names, PWs and paths are all correct.
Now I'm not completely sure the old store was the current version. It was the version current as of Jan 20 2008 when I set it up.
I suggest that you login to your MYPHP admin.
Ensure the database name is correct.
Then compare your OLD website files:
includes/configure.php
admin/includes/configure.php
to the NEW one.
Are they EXACTLY the same ?
You comparing this area:
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'YOURdatabaseUSERNAME');
define('DB_SERVER_PASSWORD', 'yourPASSWORD');
define('DB_DATABASE', 'YOURshopNAME');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
// for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
That wasn't the plan!
ZC is not having a problem connecting to the DB. It appears to be having trouble finding a table or table data once connected.
Oh, and since the current release of ZC was in 2007, I'm 99 & 44/100ths sure the store I setup in 2008 was using it. Since it's been so long though, I'm starting to wonder if ZC development has stopped.
AHA! Got it!
The old DB had a table prefix I hadn't noticed. Once I edited the config files for that, all is well.
Thanks for the replies Muzz.
Np. Glad it's all working.
That wasn't the plan!
.
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.