Before you post a question, read this:
-
**THIS STICKY IS JUST AN INSTALL/SUPPORT TOPIC INTRO**
**DO NOT POST COMMENTS HERE.. CREATE A NEW TOPIC IF YOU NEED HELP**
**COMMENTS ADDED HERE WILL NOT RECEIVE A RESPONSE**When asking for help, please include the following information along with the issue you are describing. (please don’t say “it broken” or “it doesn’t work” as this isn’t nearly as descriptive as is needed to help)
- What versions of Zen Cart and WordPress you are running
- Server info (PHP & mySQL versions)
Setting up this plugin is pretty straight forward.. Issues occur if the prerequisites are not met or if one of the admin options does not match your Zen Cart /includes/configure.php file.
Does your WordPress/Zen Cart setup match the required prerequisites??
Prerequisites for Zen Cart for WordPress (zen4wp)
- A Zen Cart store installed and operable. Tested with Zen Cart v1.5.x.
- WordPress installed and operable. Tested with WordPress v3.5.x – v3.9.x.
- The Zen Cart and WordPress installations share a common mySQL database. (use table prefixes to separate WordPress tables from Zen Cart tables)
- The Zen Cart and WordPress installations must share the same domain.
- Update the admin configuration options with the correct filepath to the WordPress installation.
Note: If your store/blog configuration does NOT match these prerequisites, then Zen Cart for WordPress (zen4wp) will not function
If your WordPress and Zen Cart setup meets the prerequisites, then set the plugin option settings to the value of the like-named entry in your Zen Cart’s /includes/configure.php file. They need to match EXACTLY..
Regarding the database setup required:
======================================
It doesn’t matter which one you install first (Zen Cart or WordPress), but during the installation when you are asked for your database information you MUST use the SAME database information for both. (DB name, DB Password, DB Username)Regarding database prefixes: The default Zen Cart database prefix is ” (i.e. none) and the default WordPress prefix is ‘wp_’. While PERSONALLY I prefer using a DB prefix for BOTH Zen Cart and WordPress (i.e. Typically I use zen_ for Zen Cart and for WordPress I use wp_), as long as the prefixes are different, you should be good-to-go!
Changing the table prefix for the Zen Cart tables is pretty easy, but NOT REQUIRED. For anyone who has already installed Zen Cart without a table prefix (the default), and now WANTS to add a table prefix, there is a very SIMPLE script you can run to add a table prefix to one’s Zen Cart install.
SELECT Concat('ALTER TABLE ', TABLE_NAME, ' RENAME TO my_prefix_', TABLE_NAME, ';') FROM information_schema.tables WHERE table_schema = 'my_database'Your result set will be a bunch of queries that you can copy and paste into your favorite MySQL editor (phpMyAdmin, whatever). Just paste those in and execute, and you’re all done.
Once the script its run, an update to the store and admin configure.php files to include the new table prefix is all that’s needed..
The topic ‘Before you post a question, read this:’ is closed to new replies.