Zen Cart Logo
Forums / All Other Contributions/Addons / Wordpress On ZC [Support Thread]

Wordpress On ZC [Support Thread]

Views: 620,601

Results 921 to 940 of 1,861
24 Aug 2009, 6:30 AM
#921
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Wordpress On ZC [Support Thread]

Well, I tried this with Chrome and I got more info than IE8 or FF3, at least more of the page rendered. When viewing the source in Chrome the error message points to this:

<div class="centerColumn" id="wordpressDefault"> 
<rss version="2.0"
```The xml declaration is not there, it should be between the div and the <rss version. You wouldn't happen to have php short tags enabled in your php.ini would you?

It's hard to try to diagnose what is going on remotely, there are a number of possibilities why this could be happening. Did this ever work?

I think there is still some redirection problem going on. when I type in /knowledgebase/?feed=comments-rss2 it takes me to /knowledgebase/feed/. Have you installed any url/seo affecting modules in wordpress? I wounder if your zen cart seo url module is causing an issue?
24 Aug 2009, 12:59 PM
#922
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

On our testing site I turned SEO URLs off and then tried ...com/knowledgebase/?feed=comments-rss2. It keeps the address and is still broken.

Nothing seems to change with SEO URLs on or off. It still moves to what should be the feed but is broken.

Also, I have never messed with the php.ini file and don't know what php short tags are.

24 Aug 2009, 9:01 PM
#923
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

bad post

25 Aug 2009, 1:51 AM
#924
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Wordpress On ZC [Support Thread]

I didn't read all the posts, but if your having issues with the feed url's, maybe this will help.

First, I only used the sidebox and wordpress-config.php file so I modified it a bit. I keep a dedicated sidebar2.php on my blog for Zan cart sidebox to use. I also use one of the rss feed mods on my store.

In order to get the two feeds to work I had to comment out this line in wordpress-config.php..

$i=strlen(DIR_WS_CATALOG);
    $req=substr($_SERVER['REQUEST_URI'],$i,1);
    $_GET['main_page']='wordpress';
```Once I did that the feeds started behaving.  Hope that helps...
25 Aug 2009, 2:40 AM
#925
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi Dave, Thanks for the tip.

Is there actually a file called "wordpress-config.php"? If there is, I can't find it. I have a wp-config.php but none of what you supplied is anywhere in it.

Please advise.

Thanks,
John

25 Aug 2009, 2:56 AM
#926
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Found it. Mine was slightly different. Commented it out and nothing changed. Strangely though, nothing broke either.

Thanks,
John

27 Aug 2009, 5:07 PM
#927
kt_naturals avatar

kt_naturals

Inactive

Join Date:
Jun 2009
Posts:
25
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

EVERYONE! I GOT IT TO WORK! The secret? I re-installed WP in the same directory (root) as ZC. THEN Kiddo's fix worked.

Now, I am trying to style the link colors and text to match the site. For some reason, all the .css files I have tried to edit results in no changes?

Blog is here: https://www.blog.ktnaturals.com

27 Aug 2009, 10:24 PM
#928
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

@kt naturals

try some rules like these:

.cat-item a{font-size:11px; color:#666;margin-left:14px;}
#wparchives li a{font-size:11px; color:#666;margin-left:14px;}
30 Aug 2009, 9:55 AM
#929
paulnike avatar

paulnike

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi,
I have problem in stall the WP in zencart,which seems unbelievable,because I really did as one step by one step,following the instruction.
How ever,there still problem,file not found /domains/SITENAME/public_html/blog/wp-config.php
this path is the exact my path which I knew from the Ftp transfer path.
Is that any other problems?:blush:

30 Aug 2009, 4:01 PM
#930
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

paulnike:

Hi,
I have problem in stall the WP in zencart,which seems unbelievable,because I really did as one step by one step,following the instruction.
How ever,there still problem,file not found /domains/SITENAME/public_html/blog/wp-config.php
this path is the exact my path which I knew from the Ftp transfer path.
Is that any other problems?:blush:Double check your ABSPATH settings..

Try this: Read posts 438 - 442 of this thread the answer should be here. Also check out:
http://www.zen-cart.com/forum/showpost.php?p=736696&postcount=817
http://www.zen-cart.com/forum/showpost.php?p=736782&postcount=819
http://www.zen-cart.com/forum/showpost.php?p=737133&postcount=822

31 Aug 2009, 5:11 PM
#931
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I have my blog setup here:http://divaboutiques.com/store/?main_page=wordpress/?p=226, but when I try to click on one of my blog title it doesn't go anywhere, everything stay's on the same page, how can i fix my blog so when someone click on a certain recent post they just get that one post?

31 Aug 2009, 6:39 PM
#932
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

divaboutiques:

I have my blog setup here:http://divaboutiques.com/store/?main_page=wordpress/?p=226, but when I try to click on one of my blog title it doesn't go anywhere, everything stay's on the same page, how can i fix my blog so when someone click on a certain recent post they just get that one post?I've got NOTHING to offer in the way of help.. But BOY oh BOY am I bookmarking your store!!! :clap:

31 Aug 2009, 11:55 PM
#933
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

divaboutiques:

I have my blog setup here:http://divaboutiques.com/store/?main_page=wordpress/?p=226, but when I try to click on one of my blog title it doesn't go anywhere, everything stay's on the same page, how can i fix my blog so when someone click on a certain recent post they just get that one post?

Something is still not right with a setting. It shouldn't be going to /?main_page=wordpress/?p=226 but to /?p=226. I think that Kiddo's fix might not be needed for the latest wordpress. What happens when you remove that from the wordpress-config file? Are you using an htaccess rewrite rule for wordpress?

1 Sep 2009, 1:57 AM
#934
paulnike avatar

paulnike

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Double check your ABSPATH settings..

Try this: Read posts 438 - 442 of this thread the answer should be here. Also check out:
http://www.zen-cart.com/forum/showpost.php?p=736696&postcount=817
http://www.zen-cart.com/forum/showpost.php?p=736782&postcount=819
http://www.zen-cart.com/forum/showpost.php?p=737133&postcount=822

Thank u DivaVocals,I had followed your instruction,and find the exact ABSPATH setting.It is absolutely different from my FTP transfer PATH,so it is really important to find the exact ABSPATH.

How ever,I still face a problem as below:
When I add a new blog post to WP,there will be a new problem happenend to all my ZENCART site and the WP part.
It shows:


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

It seems there are some problems happened to the .htaccess file.
I do not know what happened,would you mind give me another hep,please?
:clap:

1 Sep 2009, 4:13 AM
#935
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

paulnike:

Thank u DivaVocals,I had followed your instruction,and find the exact ABSPATH setting.It is absolutely different from my FTP transfer PATH,so it is really important to find the exact ABSPATH.

How ever,I still face a problem as below:
When I add a new blog post to WP,there will be a new problem happenend to all my ZENCART site and the WP part.
It shows:


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

It seems there are some problems happened to the .htaccess file.
I do not know what happened,would you mind give me another hep,please?
:clap:Well you now are officially over my head..:smile: But in order for others to chime in, it might help to post a link to your site.. I'm glad the ABSPATH information was helpful..

1 Sep 2009, 3:28 PM
#936
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

paulnike:

It seems there are some problems happened to the .htaccess file.

Post your file here and a link to the site so we can have a look at it to see what is going on.

1 Sep 2009, 3:37 PM
#937
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I've got NOTHING to offer in the way of help.. But BOY oh BOY am I bookmarking your store!!! :clap:

Thank you DivaVocals :D

1 Sep 2009, 3:55 PM
#938
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

divaboutiques:

Thank you DivaVocals :D:laugh:

1 Sep 2009, 3:59 PM
#939
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

lankeeyankee:

Something is still not right with a setting. It shouldn't be going to /?main_page=wordpress/?p=226 but to /?p=226. I think that Kiddo's fix might not be needed for the latest wordpress. What happens when you remove that from the wordpress-config file? Are you using an htaccess rewrite rule for wordpress?

lankeeyankee-

This is what's in my wordpress-configure.php file.

<?php // // wordpress on zencart by <http://www.s-page.net/> // define ('ABSPATH','/home/divabou/public_html/blog/'); $woz_install=0; if (file_exists(ABSPATH.'wp-config.php')) { $woz_install=1; define('WP_USE_THEMES', true); $wp_did_header = true; require_once(ABSPATH.'wp-config.php'); $i=strlen(DIR_WS_CATALOG); $req=substr($_SERVER['REQUEST_URI'],$i,1); if($req=='?'){ $_GET['main_page']='wordpress'; } if (isset($_GET['feed']) && ($_GET['feed'] == 'rss2' || $_GET['feed'] == 'comments-rss2')) { wp(); gzip_compression(); // require_once('./wordpress/wp-includes/template-loader.php'); require_once(ABSPATH . WPINC . '/template-loader.php'); exit(); } } ?>

Where do I take the ? out to see what happens.

Also I don't know if I'm using a htaccess to rewrite. How would I kow if I'm using a htaccess to rewrite wordpress

9 Sep 2009, 1:12 PM
#940
gueston avatar

gueston

Zen Follower

Join Date:
Apr 2009
Posts:
118
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I used below files to my zen cart,but many errors let it can't work,so help me please
wordpress_on_zencart_v1-301.zip
zencart_demo_templates_1.1.zip
wordpress-2.8.4.zip
zencart-and-wordpress-user-integration.0.5.zip

  1. can't vist home page and display:Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/l/i/q/liqinghua/html/includes/functions/extra_functions/class.rlwp.php on line 23
    And can access home page after delete class.rlwp.php(zencart_demo_templates_1.1).

  2. can't display products detail after switch language when i check one of products.and display:Warning: Cannot modify header information - headers already sent by (output started at /home/content/l/i/q/liqinghua/html/includes/templates/shop/common/html_header.php:25) in /home/content/l/i/q/liqinghua/html/blog/wp-includes/pluggable.php on line 865
    But can display all after i back to home page and check the products again.(that mean it can display without wordpress,because i can see wordpress in url after switch language )

  3. have much problem with Register/login/logout/changepassword/forgotpassword,
    as register,it always display:Fatal error: Call to undefined function: username_exists() in /home/content/l/i/q/liqinghua/html/includes/classes/observers/class.registerWordPress.php on line 17
    (zencart-and-wordpress-user-integration.0.5.zip)

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=681 (wordpress_on_zencart_v1-301.zip)
http://wordpress.org/extend/plugins/zencart-and-wordpress-user-integration/ (zencart-and-wordpress-user-integration.0.5.zip)
http://wordpress.org/download/ (wordpress-2.8.4.zip)
http://www.zen-cart.cn/forum/download/file.php?id=2392 (zencart_demo_templates_1.1.zip) as below