Yep.. (according to the WOZ install instructions this is how you validate the installation) but clearly it doesn't work for everyone which means that there really is a problem.. A couple of us have figured out a workaround that works..
To share what I did, I tried it on a vanilla Zen Cart install and still got the same error.. In fact I did two completely SEPARATE vanilla Zen Cart installs with WordPress v2.7 and the WOZ mod and the result was EXACTLY the same.. (and yes they were fresh downloads of the two apps and the WOZ mod just to make DOUBLY sure I was sure of my test results)
So clearly there are other factors that play into why it works for some and not others.. So my question remains the same.. Those of us who are having issues would like those who are not having the issue to give us some insight as to what they have done to get it to work..
Please don't take this the wrong way, but if your only secret is that you installed it and it just worked "somehow", that is not going to provide much insight for those of us who are having the issue with this mod and WordPress v2.7.. A vanilla Zen Cart install isn't resolving the issue for me.. There has to be more to this solution than that.. In the meantime there appears to be an adequate workaround..
Last edited by DivaVocals; 2 Feb 2009 at 08:38 AM.
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:
and just BELOW that block, ADD this:Code:$i=strlen(DIR_WS_CATALOG); $req=substr($_SERVER['REQUEST_URI'],$i,1); if($req=='?') { $_GET['main_page']='wordpress'; }
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.
kiddo, Did you install WordPress 2.7 in it's OWN folder or
same directory as Zencart 1.38.a..different/seperate database
or same as zencart?
This is install in same directory for both ZC and WP. I'm using a separate DB for each, but I've done it with both using the same DB with WP just using the _wp prefix.
I make it like this as it seems that is how most would do it.
I read there are problems with making it in separate directories but I never try that. If it is still unsolved problem, maybe I fix that.
I read a few posts up, there is another fix for the WP 2.7 problem but I don't see it anywhere. If I spent time on something already fixed, I feel silly.
I am up for a while. Hope to hear you confirm it works.
When I do it, I install ZC first.
Then I rename the index.php file to index_ZC.php
Then install WP and make sure it works.
Then rename the index.php that was installed by WP to index_WP.php and rename index_ZC.php back to index.php
Now install the WOZ module as said in the instructions.
Then please test my fix. I am eager to hear.
PS: I am looking for someplace to try the install in different directories.
Vanilla ZenCart 1.38a installed...now for WordPress
![]()
Bookmarks