I've got NOTHING to offer in the way of help.. But BOY oh BOY am I bookmarking your store!!! :clap:
Printable View
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?
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:
lankeeyankee-
This is what's in my wordpress-configure.php file.
Where do I take the ? out to see what happens.Quote:
<?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();
}
}
?>
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
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?ma...roducts_id=681 (wordpress_on_zencart_v1-301.zip)
http://wordpress.org/extend/plugins/...r-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
Hi,misty.help me please
http://www.zen-cart.com/forum/showth...476#post779476