Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 108
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Having Zen Cart look up info in WP tables in a database ZC already has access to is a world of difference from having to establish credentials and communication with a different database. The two table systems can be separated with prefixes if necessary; the capability is built into Zen Cart.

  2. #12
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by gjh42 View Post
    Having Zen Cart look up info in WP tables in a database ZC already has access to is a world of difference from having to establish credentials and communication with a different database. The two table systems can be separated with prefixes if necessary; the capability is built into Zen Cart.
    Exactly, Glenn. The database-prefix capability is also built into WordPress!

  3. #13
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    <p>
    **deleted**</p>
    Last edited by DivaVocals; 8 May 2014 at 01:00 AM. Reason: the forum be trippin'
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #14
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by gjh42 View Post
    Having Zen Cart look up info in WP tables in a database ZC already has access to is a world of difference from having to establish credentials and communication with a different database. The two table systems can be separated with prefixes if necessary; the capability is built into Zen Cart.
    Quote Originally Posted by lat9 View Post
    Exactly, Glenn. The database-prefix capability is also built into WordPress!
    Nods in agreement with ALL of the above..
    Quote Originally Posted by fireincairo View Post
    Hi DivaVocals, just one question: why it requires the same database as the zen-cart uses? Could I configure a different database for the blogs? I don&#39;t think it&#39;s that desirable to mess the product and order data with blog data? Maybe it makes sense to give users the option to use a different database. Just one thought.
    I have NO PLANS to make any such change for the reasons stated above..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #15
    Join Date
    Dec 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    How does one set this up for wordpress and Zencart to share a database? Zencart is in my root and wordpress is installed in a subdirectory. Do I need to reinstall wordpress in a different manner?

  6. #16
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by landron View Post
    How does one set this up for wordpress and Zencart to share a database? Zencart is in my root and wordpress is installed in a subdirectory. Do I need to reinstall wordpress in a different manner?
    It's pretty simple.. 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 use the SAME database information for both. (DB name, DB Password, DB Username) You also need to make sure you are using a DB prefix for BOTH installs. For Zen Cart you can use zen_ and for WordPress you would use wp_.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #17
    Join Date
    Dec 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    OK, it sounds like I need to wipe-out and reinstall WP manually as it was installed with simplescripts and I never had the option of selecting or naming a database. My Zencart install is ver 1.51 and was a manual install about a year ago. Will the default database settings for this install conform to these rules? There's no way that I'd want to re-install Zencart now that the site is built and customized.


    Quote Originally Posted by DivaVocals View Post
    It's pretty simple.. 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 use the SAME database information for both. (DB name, DB Password, DB Username) You also need to make sure you are using a DB prefix for BOTH installs. For Zen Cart you can use zen_ and for WordPress you would use wp_.

  8. #18
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    The default Zen Cart database prefix is '' (i.e. none) and the default WordPress prefix is 'wp_'. As long as the prefixes are different, you should be good-to-go!

  9. #19
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by landron View Post
    OK, it sounds like I need to wipe-out and reinstall WP manually as it was installed with simplescripts and I never had the option of selecting or naming a database. My Zencart install is ver 1.51 and was a manual install about a year ago. Will the default database settings for this install conform to these rules? There's no way that I'd want to re-install Zencart now that the site is built and customized.
    During the WordPress install, when you are asked for your database information, you use the SAME database information that you used for Zen Cart (DB name, DB Password, DB Username). Set the table prefix to wp_.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #20
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by lat9 View Post
    The default Zen Cart database prefix is '' (i.e. none) and the default WordPress prefix is 'wp_'. As long as the prefixes are different, you should be good-to-go!
    Because there are still a few errant WordPress plugins which do not inheirit/use the wp_ table prefix, I ALWAYS include a table prefix in all of my Zen Cart installs to be SUPER SURE that the two are distinguishable.. I do realize that this is simply me being SUPER PARANOID..

    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, there is a very SIMPLE script you can run to add a table prefix to one's Zen Cart install.

    Code:
    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..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 2 of 11 FirstFirst 1234 ... LastLast

Similar Threads

  1. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 8 Apr 2019, 02:39 PM
  2. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR