This sounds like the defining of the blog location in the options of the wordpress admin. Wordpress Admin>>Settings>>General:
WordPress address (URL):
Blog address (URL):
Make sure these are set correctly. Particularly because you have the blog installed in its own directory. Sometimes it takes a little experimenting.
Actually a little more info may also be helpful. What is the link location that you are getting for the sidebox link? Hover the mouse over the link, right click>copy link location.
Last edited by rainthebat; 26 Apr 2009 at 06:16 PM.
Hello rainthebat,
The installation director of wordpress is
/data/www/wordpress
The installation director of wordpress is
/data/www/test_shop
WordPress address (URL): http://www.example.com/wordpress_test
Blog address (URL): http://www.example.com/test_shop
sidebox link: http://www.example.com/test_shop/?cat=1
Let me know what else you want.
I have wordpress installed. I've followed the instructions for the add-on as well.
This is the error I have received.
Warning: Cannot modify header information - headers already sent by (output started at /home/content/d/l/s/dlshostacct/html/gripp/includes/templates/template_default/common/html_header.php:22) in /home/content/d/l/s/dlshostacct/html/gripp/blog/wp-includes/pluggable.php on line 850
http://gripp-performance.com/index.p...page=wordpress
It can be seen here...I'm assuming I at least got the ABSPATH location right for wordpress to show up, but I'm not sure what I need to change to not have that error and it actually show up.
If any one could help me figure it out it would greatly be appreciated.
I have solved the problem. I commented some line in the extra_configure/wordpress-config.php file
and just usePHP Code:
/*$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?'){
$_GET['main_page']='wordpress';
}*/
instead of commented line.PHP Code:
$_GET['main_page']='wordpress';
After long exploration of files within worpress and zen cart I came into conclusion that zencart dont get ?main_page=wordpress in the URL so that why when we click on the wordpress sidebox link it will redirected me to index page of zen cart
Last edited by sachin1234; 28 Apr 2009 at 07:13 AM. Reason: spell
Where is the function vtu_checkUserWS?
I getFatal error: Call to undefined function: vtu_checkuserws() in /home2/calixto/ayconetworks-www/zencart/includes/classes/observers/class.loginWordPress.php on line 27
Sounds similar to kiddos fix (http://www.zen-cart.com/forum/showpo...&postcount=565) At least your fix is centered around the same place in the wordpress-config.php as Kiddos fix..
But to be CLEAR, you are trying to get this mod to work with WordPress-MU correct??? I assume part of your problem might have been related to the differences between WordPress-MU and WordPress (since this mod was written specifically for WordPress and NOT WordPress-MU)..
Anyone knows how to fix automatic redirection to wordpress blog when a '?' is detected at the end?
such as
http://domain.com/?
will redirect to
http://domain.com/index.php?main_page=wordpress
Because it is an issue with zenid attached to the url; and clicking on 'home' will bring you to the blog.
Thanks for any help~!
Bookmarks