Page 58 of 186 FirstFirst ... 848565758596068108158 ... LastLast
Results 571 to 580 of 1859
  1. #571
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Wordpress On Zencart / Released

    Misty, quick update...

    I did the same install but with WP in a different directory. ie: ZC in the root dir, and WP in /blog and it works just fine.

    PM me if you want the link to that demo

  2. #572
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by misty View Post
    Vanilla ZenCart 1.38a installed...now for WordPress
    Installed WordPress, integrated into zencart.. get following error..
    Code:
    Warning: Cannot modify header information - headers already sent by (output started at /home/myusername/public_html/includes/templates/template_default/common/html_header.php:22) in /home/myuser/public_html/wp-includes/pluggable.php on line 850

  3. #573
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Wordpress On Zencart / Released

    Good! Now try adding the patch.

  4. #574
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by kiddo View Post
    Good! Now try adding the patch.
    WITHOUT patch..possible to access via
    Code:
    http://www.mydomain.co.uk/?
    WITH patch..access via BOTH..
    Code:
    http://www.mydomain.co.uk/index.php?main_page=wordpress
    AND
    Code:
    http://www.mydomain.co.uk/?
    Conclusion...patch not absolutely essential to access, BUT have to test blog and all sideboxes yet to confirm this..

  5. #575
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Wordpress On Zencart / Released

    One place where I see this fix things is in the blog sidebar where the sidebox heading text is clickable and the link is /index.php?main_page=wordpress

    If you leave the wp sideboxes in the default position, they work well, but I think if you try moving them to the right column a few things break that need a few tweeks to the WP default template. I've had to fix that before and I think it had to do with commenting out calling the proper wp side column. (comment it out I think.

  6. #576
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by kiddo View Post
    One place where I see this fix things is in the blog sidebar where the sidebox heading text is clickable and the link is /index.php?main_page=wordpress

    If you leave the wp sideboxes in the default position, they work well, but I think if you try moving them to the right column a few things break that need a few tweeks to the WP default template. I've had to fix that before and I think it had to do with commenting out calling the proper wp side column. (comment it out I think.
    Tested all zencart WPress sideboxes, both left and right side..
    only place where patch is required would be more link on
    Blog Sidebar.
    Installation/all testing using Classic Template on brand new Vanilla install of zencart 1.3.8a..
    Good work with patch Kiddo...

  7. #577
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by misty View Post
    Tested all zencart WPress sideboxes, both left and right side..
    only place where patch is required would be more link on
    Blog Sidebar.
    Installation/all testing using Classic Template on brand new Vanilla install of zencart 1.3.8a..
    Good work with patch Kiddo...
    Wow.. You ladies had a busy night I see.. I haven't tried this patch yet.. (gotta get ready for work right now) But I plan to do it tonight.. Your patch is in the file that I suspected needed to be modified.. I just had NO CLUE what the modification was.. I was (kinda) okay using any of the three the workaround links except that I wouldn't be able to use the link on the Blog Sidebox header.. (and I was sorta formulating a workaround for that)

    In any case I concur with Misty.. Good work on the patch! You totally ROCK!!!!

    I have been playing with this mod, and doing minor tweaks to the WordPress styles.. I like WordPress, but WordPress is soo not like Zen.. Some styles are located in places you may not intuitively think to look for 'em.. (at least IMO)

  8. #578
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    Okay.. so I took two seconds out to do this while I was brushing my teeth.. and dammed if this didn't do the trick!! Thank you thank you thank you Kiddo!!! You sooo totally rock girl!!! Now I just have to reactivate the link on the blog sidebox header again, and I'll be cooking with Crisco!!!

    Quote Originally Posted by kiddo View Post
    No, it just didn't work. I spend some time figuring it out. Oddly, other sites I've upgraded to 2.7 seem to have no problem. But as someone point out, this may be because of other (seo) mods masking the problem.

    So I read these posts and try to figure out what it's really supposed to do (or what you think it's supposed to do) and set up test to see if it breaks for me too.

    Yes it breaks for me.

    So if the demo I make is what you are expecting to do, I post it here. I just trying to be sure Im not misunderstanding and post foolishness. If above is what you want, do this:

    In includes/extra_configures/wordpress-config.php
    find:

    Code:
        $i=strlen(DIR_WS_CATALOG);
        $req=substr($_SERVER['REQUEST_URI'],$i,1);
        if($req=='?') {
            $_GET['main_page']='wordpress';
        }
    and just BELOW that block, ADD this:

    Code:
        // kiddos patch for WP 2.7
        $i=strlen(DIR_WS_CATALOG);
        $req=substr($_SERVER['REQUEST_URI'],$i,1);
        if(($req=='i') && ($_GET['main_page']=='wordpress')) {
            $_SERVER['REQUEST_URI'] = str_replace("index.php","",$_SERVER['REQUEST_URI']);
        }
    Only do this if the above demo is acting like you think it should.

    If this makes other things explode I'll try to fix if I can reproduce the problem.

  9. #579
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Wordpress On Zencart / Released

    Pleased to hear working for you, Diva...now got to find that shovel...been snowing here in UK for past 8 hours..
    need to dig myself out of 6 inches snow..

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

    Default Re: Wordpress On Zencart / Released

    Just wanted to add this.. I tried Kiddo's update on both a vanilla install of Zen Cart and on a modded Zen Cart install (dev site).. Works fine on both.


    Wanted to make sure I included my install details:
    • Installed with WordPress integrated into Zen Cart (i.e. both Word Press and Zen Cart files are in the same root directory)
    • WordPress tables are in the same database as the Zen Cart tables (used "wp_" table prefix for the Word Press tables)
    Thanks again Kiddo for coming up with the magic fix!

 

 

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3662
    Last Post: 30 Apr 2025, 04:14 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  3. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  4. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM
  5. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 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