-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
niccol
In my head at the moment I have an problem when a Zen Cart/Wordpress preview page is called from the Wordpress admin area as a preview. This sounds like there is a weirdness in the way the variable $template is defined in the two programs. I am guessing that the variable is used in both lots of code? I'll have a look when I get a minute.
As long as I believe it is what I have described then I don't have too much problem in just sidestepping it.
Thanks again guys.....
Funny, it must be contagious! After I looked into the theme.php file in wp-admin, I changed the wp_redirect function name just as a test, and started to get the same error that you describe - I absolutely was not getting this error before I edited the file. To my amazement, after reverting the file to its original, the error still appears!
Well I gave up on trying to figure it out because I've settled down on a theme anyways, just wanted to see.
The $template variable is used frequently. I am not sure where it starts or what its exact powers are though, because it is used in different ways on different occasions.
-
Re: Wordpress On Zencart / Released
Thanks again both Rainthebat and divavocals.
Sidestepping the problem works for me!:clap: If I have time I'll look into it deeper but probably it will turn out that other things are more interesting and useful :smile:
Thanks guys....
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
niccol
Thanks again both Rainthebat and divavocals.
Sidestepping the problem works for me!:clap: If I have time I'll look into it deeper but probably it will turn out that other things are more interesting and useful :smile:
Thanks guys....
You're welcome.. sidestepping is what worked best for me too..:yes: For example, I take my hats off to those willing to work through the quirks of getting embedded WP content to work.. I didn't have the patience!:laugh: Working with the WOZ sideboxes only solved my real need to link WP to Zen.. Embedded content would be nice, but I have resigned myself to styling WP blogs to match Zen, and that's worked out well.. (WP is super easy to style..)
But one last thing.. WHAT'S THE LINK TO YOUR SITE??? all this advice, and you haven't shared!!! show us what you're doing!!!:laugh:
-
Re: Wordpress On Zencart / Released
I've spent the better part of the past two days trying to track down some silliness on my in-development site (sorry, it's under xampp on my laptop, can't give you any pointers). I started pulling together a listing of the code structure which I'll try to post tomorrow. I didn't go all the way through it, but I documented the front-end summarizing the pathway from ZC index.php into WOZ. Thought this might help some of you less code-oriented users.
I do have these latest variable/constant conflicts on my mind right now, though, and I wanted to share the info before I forgot about it...
1) $title
In wp-trackback.php the variable $title obviously conflicts with a variable in ZC. I didn't bother going back to see the ZC places where it was used, but clearly it was retaining the value of one of my sidebox titles. If you click the trackback URL in a post (assuming your template displays the trackback URL), you are supposed to be redirected back to the post. I still have to debug why I'm not getting through the wp_redirect code, but I wasn't even getting to it because the $title variable wasn't empty as it should have been (I think mine had 'Reviews [more]'). I renamed the variable and all its instances in wp-trackback to $woz_title and now I'm moving on to the next section of debug. I haven't looked yet, but maybe my feed problem is similar.
2) ABSPATH
This is littered everywhere - in admin, in includes, etc. This is the same constant used in ZC and most likely isn't causing anyone any problems that haven't been gotten around already, but it occurred to me that perhaps this variable conflict is at the root of some of the issues people have had when installing the two apps in different directories. It would be a major effort to change all of your WP files to use WOZ_ABSPATH instead of ABSPATH and keep it maintained from version to version, but if you are still having issues, you might want to check if this is causing you problems.
Hope this information helps someone!
Karen
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
busyMom
2) ABSPATH
This is littered everywhere - in admin, in includes, etc.
More precisely, this should say
"This is littered everywhere - in wp-admin/*.php, in wp-includes/*.php, etc." It is in a LOT of places. I found one place, can't remember the file right now, where it is defined again and used within its own file, so I changed this to a unique constant from the WOZ_ABSPATH I changed everywhere else for testing purposes and just made that one file use MY_WOZ_ABSPATH.
I probably won't be leaving these changes in the code, but I was working my way through errors trying to get to the bottom of a dreaded 'headers already sent' problem and I wasn't sure which things would matter and which wouldn't. So for the time being, I'm removing those errors (as well as removing blank lines after the ?> in many files) from the fray to get to the big stuff and then I'll probably try restoring what I can to the released code to make it easier to maintain from level to level. If I find that there is a need to change some of these permanently, I'll post back here about it, but I think the problems are more functional than these minor changes (like the $title having a value when it should have been empty!). I have WP and ZC installed in the same directory right now, so I wouldn't be seeing some of the ABSPATH conflicts that others might experience if the constant conflict is a problem.
-
Re: Wordpress On Zencart / Released
Here are the notes I took yesterday. It's not formatted particularly pretty, but I was trying to document the hierarchical path the code took and what led to what. As I mentioned in an earlier post, it doesn't document the whole path, just from the kickoff of ZenCart's index.php to where the WOZ stuff starts running.
Code:
direction to index.php (this is the ZC version)
.. requires <includes/application.php> (still ZC)
.. includes <includes/configure.php> (still ZC)
{... bunch of defines ... }
.. includes <includes/extra_configures/*> (still ZC) {... includes wordpress-config.php which is where
the wordpress processing starts ...}
.. includes wordpress-config.php (WOZ/WP file)
{... defines a bunch of constants ...}
.. requires wp-config.php (WOZ/WP file)
{... defines a bunch of constants ...}
.. requires wp-settings.php (WOZ/WP file)
{... defines some constants ...}
{... defines a bunch of to check/setup
environmental settings ...}
.. includes wp-content/advanced-cache.php
if constant set (WP file)
.. requires wp-includes/compat.php (WP file)
{... provides some compatibility for old
PHP, most likely not needed
anymore ...}
.. requires wp-includes/functions.php
{... defines wp utility functions ...}
.. requires wp-includes/classes.php (WP)
{... defines more wp utility functions
and classes ...}
.. executes require_wp_db() function
{... defined in functions.php that was
loaded above ...}
.. executes wp_cache_init() function
.. requires and includes a bunch of functions
from wp-includes (get details from file
directly)
.. defines a bunch of constants
.. executes force_ssl_login(FORCE_SSL_LOGIN)
.. requires wp-includes/vars.php
.. requires my-hacks.php if it exists
.. loads the plugins if there are any
.. requires wp-includes/pluggable.php
.. lots of other stuff!!!
.. includes theme's functions.php
.. inits everything
Sorry if there are any mistakes or not enough detail for your use. If anyone wants to build on this by adding your own level of detail (or corrections), please feel free and re-post your amended version on this thread so we can have a running summary of how the code runs from one program into the other. Things will obviously change when ZC 2.0 is ready, but at least understanding how things flow today will help those of us who want to keep using this mod, or a version of it, when it's time to migrate our platforms.
Karen
-
Re: Wordpress On Zencart / Released
Last set of tidbits for now...
There have been a few pieces of information that have been invaluable for me debugging some of the problems that I've been trying to address over the last few days, so I wanted to share my miscellaneous notes to myself. I realize a lot of these tips are WP specific, but since those of us that are here in the ZC support group are more than likely dug into ZC instead of WP, I figured I'd share it as a source of info all in one place!
Oh, first, one extra piece of information. I do not need Kiddo's fix because I use pretty permalinks. But that said, while I was trying to fix one particular rewrite in my .htaccess that was taking me for a ride, I had his fix code in there so that I could access the pages directly. Users of pretty permalinks (to understand what this is, you should refer to WP documentation, it is not a mod, it is a way of using the built-in permalinks feature) probably will not be affected by Kiddo's fix for the better or worse.
OK, now back to the intended post...
(1) Turn on WP debug via the wp-config.php file
Change this:
Code:
define('WP_DEBUG', false);
to this:
Code:
define('WP_DEBUG', true);
Remember to turn it back off when you are finished!! You don't want to run your published site like that
(2) Make LIBERAL use of echo statements in the area you are trying to debug. Depending on where you need to sprinkle them, they may cause subsequent 'header already sent' errors or other failures, but at least you'll get to see what the variable values are while the code is executing. I'm sure there are probably preferred debug environments, but I'm not familiar with them and the echo statements were QAD solutions for me.
Again, remember to comment them out when you are done, or you could write them to be dependent on the status of constant WP_DEBUG (set above) so that if you have debug on,, the echo's work and if WP_DEBUG is set to false, which is the default, the echo's don't execute.
(3) Know where your functions are. Of course your areas of concern may very well be in different parts of the code than mine, but there are some functions that get called over and over again that help you generically determine where you are and what is going on. It is especially helpful to have echo statements in this code!
wp-includes/query.php
Contains most/all of the is_xxx() functions defined, so if you can't figure out why something is being processed a certain way in WP, this is probably a good place to start. Also has a bunch of other useful functions that you might need to debug around such as have_posts(), have_comments(), etc.
wp-includes/plugin.php
Contains a bunch of functions that are used everywhere, but the one I found critical was the do_action() function. I found it very helpful to have echo statements in here to determine the actual arguments that were being passed, etc.
wp-includes/default_filters.php
Contains a one-stop-shop for at least the bulk of the WP filters and actions, if not all. This is important as the cross-reference between what filters and actions are being queued and which function is actually being executed by that action or filter. If you are unfamiliar with how this part of WP works, you will see lots of do_action('action_name') statements in the code. The 'action_name' argument refers to the name of an action, not an executable function. You need to find the associated add_action in order to see which executable function is going to run when this action runs. Filters are similar to actions.
wp-includes/pluggable.php
And last but not least... the infamous pluggable.php which seems to be mentioned in most of the dreaded 'headers already sent' errors. Ah yes, the reason is most likely because this is where the wp_redirect() function resides. And as this is the area of debug I have sitting in front of me as soon as I send this post, I do not yet have much useful information about the function; however, I do know that because this code re-posts the headers, it generates the dreaded error message when it gets here inappropriately. The important thing to note about this is that most likely your execution path is causing this code to be executed when it should not be which is why the headers are being resent. Use all of the tips above to sort out why it is getting here in the first place.
And off I go now to get my feet wet in the wp_redirect code for my own debug... :cry:
HTH Karen
-
Re: Wordpress On Zencart / Released
One more debug utility I forgot that I use...
<http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=860>
This creates an error debug file in the ZC cache directory so that you can see all the dreaded 'headers already sent' errors and others!
HTH Karen
-
Zen Cart Meta Tags on WP Posts
Hi I have been away for a bit and just finished reading through 8 months of posts!
PHEW! Things have come on a lot.
I still however have the same problem that I had 8 months ago. Site is setup and working fine except for the TITLE, KEYWORD and DESCRIPTION head tags.
I didn't want to have both sets load from WP and ZC and haven't found a way to combine them. Any help here please?
Ed
-
Re: Wordpress On Zencart / Released
Discovered a new debug assist yesterday at the bookstore! php has a function called trigger_error that allows you to post the text of a message you want (the default is that it will be a NOTICE type). If you are doing php debug and have the ZC mod installed to help you with debug (I mentioned it above, but here's the link again: <http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=860> you can temporarily sprinkle your code with trigger_error calls instead of echo calls and you won't create a scenario where you are forcing the "headers already sent" error because of your echos. Obviously I'm still debugging the logic that is causing me grief!!
-
Re: Wordpress On Zencart / Released
I have spent the last day trying to find a fix for the headers already sent error:
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/domain-name/public_html/shop/includes/templates/orange/common/html_header.php:22) in /home/domain-name/public_html/blog/wp-includes/pluggable.php on line 850
Here is the all too easy fix:
Quote:
To turn off Canonical URL Redirection, you can add the following code to your theme’s functions.php file.
remove_filter('template_redirect','redirect_canonical');
http://www.velvetblues.com/web-devel...l-redirection/
I hope this helps those that haven't already figured this out. The reason the site was trying to redirect was because of the www or lack-there-of in the url. By that I mean the blog displayed correctly when viewing from http://domain-name.com but did not display correctly when viewing from http://www.domain-name.com
Good luck.
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
kennyhoward
Thanks for posting your fix.. Give folks a second option for fixing this error... (if you search through this thread, kiddo also posted another fix that works as well..)
-
K, ive been trying this for days.
I've searched all over the place and nothing seems to make this work. I have changed the Define ABSPATH in step 4 to be the directory of my blog. Ive done installs in both seperate, and the same directories. Ive tried every conceivable definition for ABSPATH, but no matter what i do it always says it cant wp-config.php, even when i have made copies of wp-config.php and pasted them into every directory that the error says it cannot find the file in. Look:
http://img34.imageshack.us/img34/6552/51275836.jpg
http://img40.imageshack.us/img40/4558/54762344.jpg
I realize the text is small, but it says: file not found /storefront/blog/wp-config.php
Which is exactly where the file is. so......WTF?! Im starting to rage its been three days and ive read a solid 50 pages of this thread.
Here is my wordpress config file:
<?php
//
// wordpress on zencart by http://www.s-page.net/
//
define ('ABSPATH','/storefront/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'])){
wp();
gzip_compression();
// require_once('./wordpress/wp-includes/template-loader.php');
require_once(ABSPATH . WPINC . '/template-loader.php');
exit();
}
}
?>
-
Re: K, ive been trying this for days.
Quote:
Originally Posted by
proteus
I've searched all over the place and nothing seems to make this work. I have changed the Define ABSPATH in step 4 to be the directory of my blog. Ive done installs in both seperate, and the same directories. Ive tried every conceivable definition for ABSPATH, but no matter what i do it always says it cant wp-config.php, even when i have made copies of wp-config.php and pasted them into every directory that the error says it cannot find the file in.
Try this: READ posts 438 - 442 of this thread the answer should be here
-
Re: K, ive been trying this for days.
Also from Hira's instructions:
[a] Wordpress and Zen-Cart into separate directories.
[Path of Zen-Cart]
/var/www/vhost/example.com/public_html/(shop/)
[Path of WordPress]
/var/www/vhost/example.com/public_html/blog/
[WordPress admin URL]
http://example.com/blog/wp-admin/eg)
============================================
[b] Wordpress and Zen-Cart into the same directory. eg)
[Path of Zen-Cart]
/var/www/vhost/example.com/public_html/
[Path of WordPress]
/var/www/vhost/example.com/public_html/
[WordPress admin URL]
http://example.com/wp-admin/
-
Re: K, ive been trying this for days.
Quote:
Originally Posted by
DivaVocals
I have tried the posts 438, and i have read the readme. I have also tried installing wordpress into a seperate directory. Three times. If the answer is in 438-442, then i have missed it. Can anyone give me an idea of what the problem is based on the information i have provided?
-
Re: Wordpress On Zencart / Released
The point DivaVocals (who pretty much singlehandedly keeps this thread active and useful out of the goodness of his heart) is making is that your abspath looks wrong.
You don't need to understand why. Look at post 440. It will tell you how to find out what the abspath should look like for your server.
Quote:
Originally Posted by
thebasher
In your ZenCart configure.php (includes/configure.php) what does it say here:
Code:
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', 'WHAT DOES IT SAY HERE?');
This should be around line 40. This is the direct path to your ZC. If you are putting WP in it's own directory, as in "blog", all you would have to do in your wordpress-config.php file is add the path to ZC and then add "blog/" at the end.
The wordpress-config.php is part of the WOZ install and is located in includes/extra_configures/wordpress-config.php. This is the file where you need to define the path to WP.
Nik
-
Need help getting around my existing htaccess rewrites
Hi there. All the posts I've seen here regarding rewrites seem to relate to the Wordpress pages. I need help getting around my existing rewrites I'm using for my zencart urls before I can even get into my Wordpress installation.
I've installed Wordpress in a subdirectory of my site, but my htaccess file is rewriting the url so I can't even go to the Wordpress admin. Does anyone know the code to add to my htaccess to tell it to NOT rewrite this particular subdirectory filepath. I don't want to change the rest of my rewrites - just the path to wordpress.
Thank you!
-
Re: K, ive been trying this for days.
Quote:
Originally Posted by
proteus
Can anyone give me an idea of what the problem is based on the information i have provided?
I ran into the same type of problem. If you have both Zen Cart and Wordpress in the root, try these:
Code:
define ('ABSPATH','./');
$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');
-
Re: K, ive been trying this for days.
Quote:
Originally Posted by
proteus
Can anyone give me an idea of what the problem is based on the information i have provided?
You have indeed missed it.. Your ABSPATH is wrong because you entered a relative path based on your site's URL. The ABSOLUTE PATH (ABSPATH) that is needed in the wp-config.php file is the actual location on your hosts webserver where your files are located. You can find this by opening your ZenCart configure.php file. Then go back to the posts I suggested or read niccol's post.. It explains what to do next..
Quote:
Absolute path
Also known as the
full path, the
absolute path is a
path that contains the
root directory and all other sub directories required to get into the directory you're currently in or wish to get to. Below is a basic example of a generic path and an absolute path.
Absolute path:
/home/users/c/computerhope/public_html/cgi-bin
Non absolute path (relative path):
public_html/cgi-bin As can be seen from the above example, the absolute path contains the full path instead of a few directories contained within the absolute path.
Read more:
http://www.computerhope.com/jargon/a...xzz0HVnuFoPv&C
More info..
Quote:
To find out what your absolute path is
[1], copy the following code into a text editor (i.e. Notepad, TextEdit etc), save the file as a .php naming it whatever you want (i.e anyfilename.php.).
Using your FTP software, ftp the file you have just created to your root folder. Open a web browser and type in
http://www.yourdomain.com/filename.php.
Code:
<?php $path = getcwd(); echo "Your Absoluthe Path is: "; echo $path;?>
IMPORTANT: For security reasons, delete this file as soon as you have ascertained the information you require.
Hope this all helps..
-
Re: K, ive been trying this for days.
Nevermind - what I was going to say was already said, and I don't see where to delete this. :-)
-
Re: Wordpress On Zencart / Released
My installation went alright more or less, but having WP installed messes up several existing things on my site. The most critical is that I receive the following errors:
Parse error: syntax error, unexpected T_STRING in .../includes/classes/seo.url.php(1067) : eval()'d code on line 7
Parse error: syntax error, unexpected T_STRING in .../includes/classes/seo.url.php(1067) : eval()'d code on line 7
Line 1067 of my seo.url.php reads:
eval("$cache_data");
I think line 7 is referring to wordpress-config.php
Any suggestions?
-
Re: Wordpress On Zencart / Released
I am having a similar issue.
So far only on the ZenCard/WP blog combination page, I have an error that shows at the top of the page.
Here is the link: http://lasersurplusparts.com/?page_id=2
Here is the error:
Warning: fopen(ip2country.csv) [function.fopen]: failed to open stream: No such file or directory in /site/nav/public_html/lasersurplusparts/includes/ipcheck.php on line 12
Warning: fgets(): supplied argument is not a valid stream resource in /site/nav/public_html/lasersurplusparts/includes/ipcheck.php on line 16
Warning: rewind(): supplied argument is not a valid stream resource in /site/nav/public_html/lasersurplusparts/includes/ipcheck.php on line 34
Any ideas?
Thanks
-
Re: Wordpress On Zencart / Released
I found the problem, Its due to this mod ""geo4zen".
After removing the edits, everything is hunky dory.
-
Re: Wordpress On Zencart / Released
I found this code that is suppose to show WP latest post link on your main page when you insert it using the "define pages editor".
Heres the code:
<fieldset>
<legend>Latest Post</legend>
<?php
$posts = get_posts(‘numberposts=5‘);
foreach($posts as $post) :
setup_postdata($post);
?>
<a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a>
<?php /*the_content();*/ ?>
<br />
<?php endforeach; ?>
</fieldset>
If you don't have any posts, then you will get an error, other than that so far so good, testing still in process.
-
Re: Wordpress On Zencart / Released
Best theme I have found, very easy to customize in Admin area. 200 options!
Atahualpa
http://wordpress.org/extend/themes/d...hualpa.3.2.zip
Download Build your own unique, professional and browser-safe WordPress theme: Over 200 theme options, drop down menus for pages and categories, fluid or fixed width layout, 1, 2 or 3 columns, rotating header images, auto image resizing, integrated Feedburner form, 4 extra widgets and more. WP 2.2-2.7 and WPMU. English plus DE, HU, PT, CZ, SI, TR, FR, PL, NL, BG, IT, VN, JP, ES. Support at the BFA WP Forum
-
Re: Wordpress On Zencart / Released
Hi.
I just installed this and it does not work.
The admin area works just fine, but clicking out of there to view site, I get an index of wordpress only.If I tweak the path, I get a 'does not exist' in the store.
The absolute path is correct AFAIK, being the same as the store path with wordpress tacked onto the end.
the line copy/paste from the config file is
define ('ABSPATH','/var/www/public_html/store/wordpress/');
Which is exactly where it is.
The install docs mention removing the index.php file from wordpress, which I did. Would this be the problem? I installed the wordpress files into the zencart directory, just to keep it separate from my regular blog and prevent messing that up as well, which I seem to have a habit of doing. I just installed the index file and it works, but it seems that zencart and wordpress just won't talk to each other.
Oh yes, Zencart 1.3.1a and Wordpress 2.8
Any suggestions?
-
Re: Wordpress On Zencart / Released
If you added wordpress into zencart folder then you wont need /wordpress added to config file...
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
k4satin
My installation went alright more or less, but having WP installed messes up several existing things on my site. The most critical is that I receive the following errors:
Parse error: syntax error, unexpected T_STRING in .../includes/classes/seo.url.php(1067) : eval()'d code on line 7
Parse error: syntax error, unexpected T_STRING in .../includes/classes/seo.url.php(1067) : eval()'d code on line 7
Line 1067 of my seo.url.php reads:
eval("$cache_data");
I think line 7 is referring to wordpress-config.php
Any suggestions?
Does anybody have any input on this? Do you think it can be addressed on the Wordpress end without modifying the seo.url.php file? Something related to the cache...
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
misty
If you added wordpress into zencart folder then you wont need /wordpress added to config file...
Tried it that way too, no joy...
Removing the index.php file from wordpress/wp-includes (as suggested by the readme) puts it back to an index of the files there, and it really doesn't work.
Really lost now. Changed all manner of things to get it to work, and it just flat out doesn't.
Ok, changed the address stuff and it's really pointing in the right direction now, but I still have troubles.
Got a warning (Warning: Cannot modify header information - headers already sent by (output started at /home/toolsfro/public_html/store/includes/templates/template_default/common/html_header.php:22) in /home/toolsfro/public_html/store/wordpress/wp-includes/pluggable.php on line 865) when I type in store/index.php?main_page=wordpress into the browser address window, and it's still pointing to index pages when I click on the now working links in the Zencart main page.
Maybe re-install wordpress?
FWIW I am not too bothered about breaking the Zencart and whatever data I have in there. Already did that this morning by having to load up a week old sql database... :censored:
-
Re: Wordpress On Zencart / Released
Tried to re-install and it asked me to delete it first, but being the last thing I tried before it actually now working, it might have done something?!?
So it is working, don't need any more assistance. Thanks. :)
-
Re: Wordpress On Zencart / Released
Hi, I have looked over this forum with no luck. I am using the latest version of Zencart 1.3.8 I think it was. www.ribbonsbaskets.com
The comments link doesn’t seem to work, when I click on it I get a "page not there error":blink:. Does anyone know what could have caused this? Any help would be greatly appreciated!
Thanks!
-
Re: Wordpress On Zencart / Released
Has anybody used the nav_links code to add Next/Previous type tags to the bottom of each link?
We're using the WOZ patch successfully on our site (aestheticsbodymod.com/store) and I'd like to add navigation links to the bottom of the entries. I've found this line of code in wordpress's codec files:
<div class="navigation"><p><?php posts_nav_link('∞','Go
Forward In Time','Go Back in Time'); ?></p></div>
...I tried adding that to The Loop code in the define pages editor via define main page, but it doesn't show up. Any advice?
-
Re: Wordpress On Zencart / Released
Ok, I have spent 3 solid days trying to figure this out and as a last resort, I'm am looking for help here- mainly because ya'll are great!
Anyway, here is the problem... I have installed Wordpress on Zen Cart (I believe it is successful). I have used the plugin XML Sitemap Generator (which is highly recommended in several places) but when I click on the RSS feed "button" under my posts, the page is empty. I can goto the feed directly and view it. When I goto Feedburner in Google, I put the direct link to the feed to add it and I get:
The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <urlset [Namespace: http://www.sitemaps.org/schemas/sitemap/0.9]/>])
The top part of my feed reads:
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
I went to http://www.w3.org/2001/XMLSchema-instance
and it very clearly says...
This schema should never be used as such: the XML Schema Recommendation forbids the declaration of attributes in this namespace
I don't know what the heck to change the namespace to- I know where to change it. I replaced it once with the namespace information that is in my RSS feed on another Zen Cart that does validate but then nothing was in the site map.
I don't know if this is because I'm using Wordpress on Zencart or if it's because I'm using the latest and greatest Wordpress. It's one of those things that I just thought I'd ask here. I asked on the Wordpress forum and no response :frusty:
If anyone has any thoughts, ideas- I'm willing to give it a try- worst case- I break it!!
Thanks
Nancy
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
ladyink
Ok, I have spent 3 solid days trying to figure this out and as a last resort, I'm am looking for help here- mainly because ya'll are great!
Anyway, here is the problem... I have installed Wordpress on Zen Cart (I believe it is successful). I have used the plugin XML Sitemap Generator (which is highly recommended in several places) but when I click on the RSS feed "button" under my posts, the page is empty. I can goto the feed directly and view it. When I goto Feedburner in Google, I put the direct link to the feed to add it and I get:
The URL does not appear to reference a valid XML file. We encountered the following problem: Unknown feed format encountered (The root element is [Element: <urlset [Namespace: http://www.sitemaps.org/schemas/sitemap/0.9]/>])
The top part of my feed reads:
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
I went to
http://www.w3.org/2001/XMLSchema-instance
and it very clearly says...
This schema should never be used as such: the XML Schema Recommendation forbids the declaration of attributes in this namespace
I don't know what the heck to change the namespace to- I know where to change it. I replaced it once with the namespace information that is in my RSS feed on another Zen Cart that does validate but then nothing was in the site map.
I don't know if this is because I'm using Wordpress on Zencart or if it's because I'm using the latest and greatest Wordpress. It's one of those things that I just thought I'd ask here. I asked on the Wordpress forum and no response :frusty:
If anyone has any thoughts, ideas- I'm willing to give it a try- worst case- I break it!!
Thanks
Nancy
If this is a WordPress plugin, you may get very little help here on this forum.. This is largely a dead mod (dead = no new updates in quite sometime), and so getting help with a WP specific issue will require someone who has worked through a similar issue.. Also if there are folks on this forum who can help, a link to your site is helpful..
My suggestion is to install the blog software standalone, work out the issues with the WP plugin (you may have to enlist assistance from the WP forums for this), then using those blog files and try re-doing the WOZ install/setup again.
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
If this is a WordPress plugin, you may get very little help here on this forum.. This is largely a dead mod (dead = no new updates in quite sometime), and so getting help with a WP specific issue will require someone who has worked through a similar issue.. Also if there are folks on this forum who can help, a link to your site is helpful..
My suggestion is to install the blog software standalone, work out the issues with the WP plugin (you may have to enlist assistance from the WP forums for this), then using those blog files and try re-doing the WOZ install/setup again.
I know- It's one of those times that it's not a zen cart thing- its not a wordpress thing and I'm somewhere in between. I thought the Wordpress on Zen Cart area would be worth a try! I was just hoping that someone may have had the same issue and would share the fix. If nothing else, the people that make this community sure do try and help each other out.
I'll try getting it to stand alone and see what happens. Quite honestly, I hope the fix isn't too easy- after all I've spent 3 days working with it!!
Nancy
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
ladyink
I know- It's one of those times that it's not a zen cart thing- its not a wordpress thing and I'm somewhere in between. I thought the Wordpress on Zen Cart area would be worth a try! I was just hoping that someone may have had the same issue and would share the fix. If nothing else, the people that make this community sure do try and help each other out.
I'll try getting it to stand alone and see what happens. Quite honestly, I hope the fix isn't too easy- after all I've spent 3 days working with it!!
Nancy
I hope so too.. but isn't that just how it is sometimes!!:yes:
-
Finally figured out the headers_already_sent issue in WOZ
There have been a lot of suggestions for the headers-already-sent problem, but the one I have is unique to WOZ. I'm not sure why I'm the only one who has been seeing this, but maybe it has to do with me using the pretty permalinks. Anyway, the problem itself has to do with the wp_redirect() in pluggable.php call for many reasons (examples follow):
- Whenever a 404 needs to be reported due to a wrong blog post name it would be processed by this code instead of the ZC 404 handler
- When the trackback suffix is added to the post name directly (not through the authentic trackback path), the code tries to re-post the code, but with a 302 temporary redirect
The problem that occurs is that the wp_redirect code redirects the code to a (new) page via the php header() function. Since ZC has already posted headers by this time in the code, a call to the wp_redirect function under WOZ will always cause the wp_redirect function to result in the dreaded headers-already-sent error. I did a little research to find out if there is a php method to redirect the page without using the header() command and discovered the existence of ob_start function which allows the WP code to redirect the headers even after the ZC code has sent them. I did a quick search in the ZC support forum to see if I could find any concerns about using it and discovered this post which made me feel much better about adopting this technique:
http://www.zen-cart.com/forum/showth...light=ob_start
So, by adding an ob_start() call at the top of my
includes/templates/myTEMPLATE/common/html_header.php file, the existing wp_redirect code started working as expected without any additional modifications. I tested this by clicking on the trackback link in my post as well as forcibly modifying the postname in my browser address bar to be a (slightly) invalid postname and WP processed the 404 instead of a ZC 404.
This was really kicking my ########, so I hope it helps someone else! Now to fixing the feed code should be a breeze!
Karen
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
I hope so too.. but isn't that just how it is sometimes!!:yes:
Well, I uninstalled WOZ and everything works fine now. I don't like not finding out what caused the issue and finding a fix for it but I'll have to move forward from here. Three solid days is all I have~ If anyone ever figures it out, please post it because I would really like to know what happened!
Nancy
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
ladyink
Well, I uninstalled WOZ and everything works fine now. I don't like not finding out what caused the issue and finding a fix for it but I'll have to move forward from here. Three solid days is all I have~ If anyone ever figures it out, please post it because I would really like to know what happened!
Nancy
Well all may not be completely lost.. Search this post for my posts, and try my solution for using the WOZ sideboxes only..
I lost patience for all the things that seemed to not work quite right with this mod. Kiddos fix solved one issue, but the problems I had with new posts not being recognized by this mod drove me nuts.. Turns out all I really wanted (needed) were the sideboxes.. This how I have and will continue to use this mod going forward.. Skinning my WP blogs to match my Zen sites is a snap.. So for me this works..
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
Well all may not be completely lost.. Search this post for my posts, and try my solution for using the WOZ sideboxes only..
I lost patience for all the things that seemed to not work quite right with this mod. Kiddos fix solved one issue, but the problems I had with new posts not being recognized by this mod drove me nuts.. Turns out all I really wanted (needed) were the sideboxes.. This how I have and will continue to use this mod going forward.. Skinning my WP blogs to match my Zen sites is a snap.. So for me this works..
Thanks! I will look though your posts tomorrow. I'd love to figure out how to make my blog match my Zen Cart. I started looking around but I have a few other things to take care of!!
Nancy
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
ladyink
Thanks! I will look though your posts tomorrow. I'd love to figure out how to make my blog match my Zen Cart. I started looking around but I have a few other things to take care of!!
Nancy
You're welcome.. Using only the WOZ sideboxes has worked out well.. I usually only use the one combo sidebox.. It seems to cover everything..
I found the easiest way to skin my WP blog was to start off with a template that has the same GENERAL layout that works with the Zen Cart site's layout. Then I only have to make simple image swaps, and stylesheet changes to update colors/images etc.. WP templates are fairly simple to modify.
-
Re: Wordpress On Zencart / Released
Ladyink, the blank page you describe raises a flag for me, having just gone through the debug I've been doing. A blank page is a common symptom. Check back through a few of my last half-dozen or so posts for debug techniques. If you turn on the error tracking in ZC, you can look at the logfile in the cache folder to see what error might be causing the blank page. I know that I've seen blank pages where the WP content should be when there was a wp_redirect call (see my post just before this one). I'm not familiar with the mod you are referring to, but if it finds the need to do a redirect, which is very likely if it is trying to redirect to a page with the generated sitemap, you could be running into the identical problem I was having with the trackback. If so, the fix I used may well work for you too. The underlying problem would occur for any WP code that uses the wp_redirect function to redirect to a new page under WOZ.
HTH Karen
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
busyMom
Ladyink, the blank page you describe raises a flag for me, having just gone through the debug I've been doing. A blank page is a common symptom. Check back through a few of my last half-dozen or so posts for debug techniques. If you turn on the error tracking in ZC, you can look at the logfile in the cache folder to see what error might be causing the blank page. I know that I've seen blank pages where the WP content should be when there was a wp_redirect call (see my post just before this one). I'm not familiar with the mod you are referring to, but if it finds the need to do a redirect, which is very likely if it is trying to redirect to a page with the generated sitemap, you could be running into the identical problem I was having with the trackback. If so, the fix I used may well work for you too. The underlying problem would occur for any WP code that uses the wp_redirect function to redirect to a new page under WOZ.
HTH Karen
I've read all of your posts, and while they may be crystal clear to folks who write code and actually know how to debug code, I suspect that for many folks (myself included) much of what you have posted here is a LOT over their heads.. I understand what you've done, and why, and what.. but I haven't a CLUE how to apply what you've discovered in your debugging..:laugh:
Anyway you can provide the SIMPLE version of the your fix??
-
Re: Wordpress On Zencart / Released
LOL - not sure I can, Diva! My post from earlier today about putting the ob_start() call into your html_header.php is a single step... In your includes/templates/myTEMPLATE/common/html_header.php file add at the top following the change history tracking:
but unless you know why I did it, any WOZ users won't have an idea if it will address whatever problem they are having. Based on my research, I suspect that since I'm doing my development on my laptop using xampp, I don't have gzip_compression on while many others may, so if you read the zc forum post I posted a link to, it might explain why I'm the only one who has needed this so far!
The important thing I want to stress, though, is that no fix/workaround is a one-size fits all. These are not bugs in the WOZ mod and therefore I would not consider them bug fixes. Any changes I make that work for me are good workarounds in my unique environment, and I wouldn't advertise them as a cure-all for anybody else's environment. But it is possible that it can help someone else and that's why I've chosen to post whatever I can rather than just keep the info to myself.
The WOZ mod creates an intricate connection between two very complex code monsters, ZC and WP, that works very well IMHO. However, the specifics of how each template / environment / etc uses them does obviously require some coding skills. I would say that doing anything creative with WOZ is not for the faint of heart nor for those who wish to NOT get their hands into the code and just want to be able to hack their environment into working. That's why I have been providing the debug tools I've found to be useful as I went along, at least to help others avoid reinventing the wheel. I have my hands debugging my own issues, so I'm offering the tools to teach others how to fish, so to speak, whether they want to learn or want to be able to just go to the fish market without getting their hands dirty has to be a personal decision!
As for my suggestion to ladyink, she had mentioned that she had spent three days on it, so it was my assumption that she spent three days getting down and dirty with the code and might therefore benefit from calling her attention to some of the tips I have posted.
I realize this probably doesn't address your underlying question, but really it can't since I'm not trying to debug anyone's code but my own!
karen
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
busyMom
LOL - not sure I can, Diva! My post from earlier today about putting the ob_start() call into your html_header.php is a single step... In your includes/templates/myTEMPLATE/common/html_header.php file add at the top following the change history tracking:
but unless you know why I did it, any WOZ users won't have an idea if it will address whatever problem they are having. Based on my research, I suspect that since I'm doing my development on my laptop using xampp, I don't have gzip_compression on while many others may, so if you read the zc forum post I posted a link to, it might explain why I'm the only one who has needed this so far!
The important thing I want to stress, though, is that no fix/workaround is a one-size fits all. These are not bugs in the WOZ mod and therefore I would not consider them bug fixes. Any changes I make that work for me are good workarounds in my unique environment, and I wouldn't advertise them as a cure-all for anybody else's environment. But it is possible that it can help someone else and that's why I've chosen to post whatever I can rather than just keep the info to myself.
The WOZ mod creates an intricate connection between two very complex code monsters, ZC and WP, that works very well IMHO. However, the specifics of how each template / environment / etc uses them does obviously require some coding skills. I would say that doing anything creative with WOZ is not for the faint of heart nor for those who wish to NOT get their hands into the code and just want to be able to hack their environment into working. That's why I have been providing the debug tools I've found to be useful as I went along, at least to help others avoid reinventing the wheel. I have my hands debugging my own issues, so I'm offering the tools to teach others how to fish, so to speak, whether they want to learn or want to be able to just go to the fish market without getting their hands dirty has to be a personal decision!
As for my suggestion to ladyink, she had mentioned that she had spent three days on it, so it was my assumption that she spent three days getting down and dirty with the code and might therefore benefit from calling her attention to some of the tips I have posted.
I realize this probably doesn't address your underlying question, but really it can't since I'm not trying to debug anyone's code but my own!
karen
Fair enough.. I do get the code is complex..:yes: It would have to be to link these two powerhouse open source solutions.. I understand most of your posts to a point, but since I'm not a coder, I remain clueless as to what to do with the information your have been sharing..:laugh: But I know that folks who can write code will find the information useful.. I love it when folks share their findings versus keeping it to themselves..:yes:
That said I don't think that many of us posting here on this thread are getting as down and dirty with the code as you have.. :yes: For those of us in that group, we installed WOZ despite the fact that there have been no updates in a good long and PRAYED that it would work with the latest version of WordPress.
I have been giving some very serious thought of gathering your information up and making ONE MORE ATTEMPT to hire a coder to fix WOZ for me. (Hope you don't mind...) I have to think about it.. Honestly for me while embedding the posts in ZC would be TRE cool, the fact is that the sideboxes for this mod are perfectly working for me.. I realized that my clients have never asked for their blogs to be imbedded in the ZC site, (turns out I was WAAAAAAYYYYY more interested in this functionality they ever were:laugh:) they do expect their blog to visually MATCH the ZC site.. So this mod still has some usefulness for me..
Anyway.. I continue to look forward to reading your posts:yes:..
I wonder how the LATEST version of WordPress will play with the WOZ mod.. I can report that the latest version does not affect the WOZ sidebox functionality..
-
Re: Wordpress On Zencart / Released
Diva, WP 2.8 doesn't appear, on the surface, to have any functional changes that I would be concerned with. I'm planning to migrate my environment over, but I wanted to get through my last functional problem with the feed not working correctly first.
The much BIGGER issue is what will happen when ZC 2.0 becomes available since that code is a major upheaval. Whether those of us wanting to continue using WOZ will be able to find a minor modification to keep them integrated or whether it will also require a complete overhaul remains to be seen. It may be that down the road, your approach which protects you a little bit from this potential overhaul will be the only reasonable approach. But for my time and learning experiences, I'm sticking with the hopeful path because, like you (vs. your clients), I am really interested in having an integrated environment.
If I could point you to the most important debug tips I've posted to help you do your own debug, it would probably be these:
- http://www.zen-cart.com/forum/showpo...&postcount=810 which will post a debug file in the ZC cache directory each time you load a page (and if the page is successfully redirected, you will get a second debug file due to the redirected page load)
- http://www.zen-cart.com/forum/showpo...&postcount=812 so that you can put all kinds of debug messages to yourself throughout the areas of the code you are trying to debug. This would be the equivalent of sprinkling print or echo statements throughout code you are trying to debug, but it puts them into the debug file that was enabled in the cache directory in the previous tip instead of trying to print it out in the browser window where it can cause problems with your browser painting of what you are actually trying to debug
- http://chrispederick.com/work/web-developer/ Firefox web developer addon to help you analyze what the browser is actually drawing and seeing
I wouldn't even begin to know how to guide you any further without telling you how to debug your own code! I usually don't get more than a few hours a week to work on my own development. I have no formal php, html, java or ajax training but I have taught myself quite a bit throughout this journey. If you don't understand a function or code structure, make google your best friend. Know how I stumbled upon the op_start fix I needed? I googled 'php redirect without header' and did some research. It is not built in wisdom nor coder experience that has allowed me to get through my problems, it is resourcefulness, determination and a stick-with-it mentality that is helping me push forward. So with a basic set of tools at my side, all it takes is time and patience. I'm sure that if it becomes a priority for you, you'll be able to successfully get to the same point, but that's a big priority tradeoff and not too many people would be willing to do it!
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
busyMom
The much BIGGER issue is what will happen when ZC 2.0 becomes available since that code is a major upheaval.
I agree!!! This is my concern for ALL of the add-ons I consider "must haves" for every Zen site I build. It's my understanding that ALL of the current add-ons will have to be re-written because of the changes in the new 2.0 codebase.. So I'm going to hang in the cut for a little bit even after the 2.0 beta comes out . I think I'm going to be reading up on all the feedback with 1st before I setup my test site with the new 2.0 code..
Quote:
Originally Posted by
busyMom
If I could point you to the most important debug tips I've posted to help you do your own debug, it would probably be these:
http://www.zen-cart.com/forum/showpo...&postcount=810 which will post a debug file in the ZC cache directory each time you load a page (and if the page is successfully redirected, you will get a second debug file due to the redirected page load)
http://www.zen-cart.com/forum/showpo...&postcount=812 so that you can put all kinds of debug messages to yourself throughout the areas of the code you are trying to debug. This would be the equivalent of sprinkling print or echo statements throughout code you are trying to debug, but it puts them into the debug file that was enabled in the cache directory in the previous tip instead of trying to print it out in the browser window where it can cause problems with your browser painting of what you are actually trying to debug
http://chrispederick.com/work/web-developer/ Firefox web developer addon to help you analyze what the browser is actually drawing and seeing
Thanks for the tip! :smile: If I decide to pursue paying for a full on fix for WOZ, I have a great starting point.. I have a developer friend who I spoke with about this recently, and he and I are gonna chat about this pretty soon.
Quote:
Originally Posted by
busyMom
I wouldn't even begin to know how to guide you any further without telling you how to debug your own code! I usually don't get more than a few hours a week to work on my own development. I have no formal php, html, java or ajax training but I have taught myself quite a bit throughout this journey. If you don't understand a function or code structure, make google your best friend. Know how I stumbled upon the op_start fix I needed? I googled 'php redirect without header' and did some research. It is not built in wisdom nor coder experience that has allowed me to get through my problems, it is resourcefulness, determination and a stick-with-it mentality that is helping me push forward. So with a basic set of tools at my side, all it takes is time and patience. I'm sure that if it becomes a priority for you, you'll be able to successfully get to the same point, but that's a big priority tradeoff and not too many people would be willing to do it!
:laugh::laugh: I will stick to reading your tips for now!!
By day I am an IT Business Analyst/Project Manager (specializing in web-based applications). While I have a web-design certificate from one of the local universities, HTML/CSS/Javascript was the extent of my so-called "coding" experience.. As a BA/PM I don't actually write any code. However, my years of working in this capacity and working with some very talented developers and DBAs has provided me with some very valuable knowledge which comes in handy for my "side gig".. My knowledge of webdesign has certainly come in handy for my day job. However, when I decided to re-direct my "on the side" web designing activities to incorporate database driven content managment type of systems, I had to teach myself quite a bit to make this a viable offering I could confidently provide to my clients (and support)..
That said, I'm still not a coder.. (though one of my developer friends keep threatening to turn me into one!!:laugh:) I will ALWAYS have MAD respect for what coders do. I am ALWAYS in awe when I turn in a set of functional requirements to see the developers I work with bringing my visions to life..
That said, even after alll of these years in software development, I'm still not sure it's a skillset I really want to fully master..:P I have been able to figure things out quite a few things pretty well for a non coder (if I do say so myself!!!).. I have enlisted outside technical expertise when I have needed it for the things that haven't been so easy to figure out.. (so far, that's been a really RARE need:smile:).. I taught myself SQL years ago by making Google/Yahoo my friend too! So my hats off to you girl for self teaching yourself how to debug and write code.. I'll keep looking out for your tips and posts!!:smile:
-
Re: Wordpress On Zencart / Released
Hi,
Quick question, i followed the the [a] route to install this mod. However got to the last part and i am obtaining a...
file not found /var/www/vhost/orcharddirect.co.uk/public_html/Blog/wp-config.php
All the files are in the correct places.
Have i defined it wrong? or is there another issue?
Thanks
-
Re: Wordpress On Zencart / Released
My blog is situated here
http://www.orcharddirect.co.uk//Blog/
Dont no if this information helps?
-
Re: Wordpress On Zencart / Released
Any other information needed let me now.
Also for some reason when visiting the link above the css does not seem to be working :S
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
Spo0f
Hi,
Quick question, i followed the the [a] route to install this mod. However got to the last part and i am obtaining a...
file not found /var/www/vhost/orcharddirect.co.uk/public_html/Blog/wp-config.php
All the files are in the correct places.
Have i defined it wrong? or is there another issue?
Thanks
Sounds like your ABSPATH is incorrect maybe??.. :dontgetit
Check out posts 438 - 442
or
posts 817 - 819 of this thread the answer should be here.. Both sets of posts deal with how the ABSPATH should be configured..
-
Re: Wordpress On Zencart / Released
thank you for the reply. I have looked at the posts you have suggested.
I looked at my includes/configure.php file
line 40 said...
define('DIR_FS_CATALOG', '/home/orchardd/public_html/shop/');
I therefore tried
define ('ABSPATH','/var/www/vhost/orchardd/public_html/Blog/');
and
define ('ABSPATH','/var/www/home/orchardd/public_html/Blog/');
and lastly
define ('ABSPATH','/var/www/orchardd/orcharddirect.co.uk/public_html/Blog/');
All of which didnt work.
Any suggestions? Im pulling my hair out!
Thanks
-
Re: Wordpress On Zencart / Released
Have also tried
define ('ABSPATH','/home/orchardd/public_html/blog/');
With no luck :censored:
-
Re: Wordpress On Zencart / Released
define ('ABSPATH','/home/orchardd/public_html/Blog/');
Did the trick. Thanks for the help.
-
Re: Wordpress On Zencart / Released
Hi,
Another quick question,
Why is it that i have two '//' before my blog.
e.g "ect.co.uk//Blog/" Can someone tell me how to solve this.
-
Re: Wordpress On Zencart / Released
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
Spo0f
Hi,
Another quick question,
Why is it that i have two '//' before my blog.
e.g "ect.co.uk//Blog/" Can someone tell me how to solve this.
Your post doesn't provide enough information. Knowing where is happening would help.. So it's hard to say why.. Not really sure if this is happening with your WOZ implementation (I looked at your site, and I don't see this), or elsewhere (in which case your issue may not be related to WOZ at all)
-
Re: Wordpress On Zencart / Released
Hello;
I have just one quick question. After alot of reading and modifications I have installed wordpress 2.8 into zen cart 1.3.8 without any issues.....except one.
Would anyone know the code to call your latest posts onto the main page? I have read through all the posts here and have ventured onto various wordpress websites without much luck. I have the box on the index page within zen cart, just no posts.
Both zen cart and wordpress have their own databases. Wordpress is installed within its own folder.
Take Care
-
Re: Wordpress On Zencart / Released
-
Re: Wordpress On Zencart / Released
Chris, besides Misty's reference, there was also some discussion in this forum starting around page 6 of the old posts. I didn't look through in detail, but perhaps there is some miscellaneous information you can pick up by looking at discussion. The main thing is that you need to understand 'The Loop' to make it do what you want once you get the basics from Misty's instructions. Also, you need to keep track of the code you use because WP does occasionally deprecate functions or update the way you use the loop code and you'll need to make sure the code in your ZC main page stays consistent with new WP code updates. As long as you look through the detailed description of WP code changes and understand how any of them impact (or don't) your loop code, you'll be fine.
Good luck, it's a really cool feeling to see it come alive!
[[ :bigups: Hi Misty, haven't seen you around here much lately. Glad to see you're still hanging in there to help the rest of us!! ]]
Karen
-
Re: Wordpress On Zencart / Released
i have a problem when i installed wordpress.
there is error appear in the bottome of the page. details as below:
Warning: include_once(new_free_best.php) [function.include-once]: failed to open stream: No such file or directory in /home/wat9s3600524/bagswholesalemall.com/includes/templates/hoho/common/tpl_main_page.php on line 107
Warning: include_once() [function.include]: Failed opening 'new_free_best.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/wat9s3600524/bagswholesalemall.com/includes/templates/hoho/common/tpl_main_page.php on line 107
-
Re: Wordpress On Zencart / Released
Hello;
Just a little update:
First, I do appreciate all the responses that I received...Thank You.
So here's what happened with everything, I am still not able to get the posts to embed properly. I can embed everything else OK, pages, categories, links, etc. Maybe it's because my site has been heavily modified? But in the end it has worked out OK.
I have customized a mobile skin I found, so I have no header issues to deal with. I have added many pages, categories and external links to other websites. I have also added a simple gallery in which you just add the pictures to a folder and the gallery does all the work for you. Please note that everything is embeded in Zen Cart, nothing opens to the blog website at all.
This installation has been done with the blog in it's own folder - word press version 2.8. And this blog has it's own database. So there is nothing to worry about any conflicts there.
So this mod is really possible if you work at it. I am not a programmer or web designer. All I can say is you just have to spend a little time and read through many posts and websites and take all the information in. Most if not all mistakes are repairable. I started this installation on Thursday and finished it today. I may have a total of about 20 hours or so - start to finish. The biggest problem I found was CSS conflicts, and you will see that on my website when you go from Zen Cart to Word Press. It's not a big difference, but I notice it - just look at the text between the 2 sites and a slight size increase.
Take Care and thanks again for everyone's help
-
Re: Wordpress On Zencart / Released
Thank you for this contribution! I have it added into my site and showing up on my front page! Now I have some CSS work to do on it!
:clap:
Steve
http://www.superchargersuperstore.co...php?main_page=
-
Re: Wordpress On Zencart / Released
I have installed word press in zencart in 2 diffrent directories
http://tinyurl.com/lhu4av
I can see the blog is loading inside the zencart shop . but when i click the links in blog ,it is not working
I appriciate anyone can give me hint to solve this
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
niroonline
I have installed word press in zencart in 2 diffrent directories
http://tinyurl.com/lhu4av
I can see the blog is loading inside the zencart shop . but when i click the links in blog ,it is not working
I appriciate anyone can give me hint to solve this
Looks like you have changed the permalinks method in the Dashboard. I think you need to use the Default method for wordpress links to work in WOZ
tom
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
loosefast
Looks like you have changed the permalinks method in the Dashboard. I think you need to use the Default method for wordpress links to work in WOZ
tom
Yes i changed it earlier , after that it did not work , i again set to detfault ,but now it is not working
what will be the reason ?
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
niroonline
Yes i changed it earlier , after that it did not work , i again set to detfault ,but now it is not working
what will be the reason ?
I don't know. But your links to posts look correct. Re-upload the WOZ files again?
Are all the files you need for the theme in the WP Theme folder? Like single.php?
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
loosefast
I don't know. But your links to posts look correct. Re-upload the WOZ files again?
Are all the files you need for the theme in the WP Theme folder? Like single.php?
yes links are correct . I reoploaded WOZ files , but did not work
I will check all files are there
Thank you
-
Re: Wordpress On Zencart / Released
yes all files are there , i am using WP default theme
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
niroonline
yes all files are there , i am using WP default theme
In that case, I think that if you can first get the WOZ to work with the default zen theme that will tell you if the problem lies with your custom zen theme files. Sorry I can't be more help, but I've never had a problem like this with mt handful of WOZ install, but plenty of problems with other aspects as detailed in previous posts...
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
kiddo
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.
Just to say thank you for this! Worked a treat and saved me hours of headaches!
:clap:
-
Need a little css help on WOZ -
I've had WOZ integrated into my customer's site for sometime now. Up until recently I had it laid in quite nicely; however I'm not sure why, but the body of the site itself seems to have moved up causing header issues when in the blog.
What I'm trying to figure out, is how I can name a .css file that would reference the blog so that I can make some minor adjustments to the site itself when in that view.
I've done a ton of this with my other heavily customized Zen-Cart sites where I need to modify the base layout just a touch for a particular view - such as the add-to-cart or sometimes even within a particular category - Creating those custom .css files are easy to figure out - but when I view the URL when in the blog I see /?cat=8 or whatever WP cat I happen to be in at the time, which isn't helpful.
I hope I'm making myself clear, but these adjustments really can't be made within the woz.css - so I'm a bit stumped as how to clean this up.
Here's a link directly to a blog post to make it easy myblog-site
I'll keep playing with the layout to see if I can figure out how to fix this, but as you can see the left column is pushed down, but the cause is actually the margin of the body is off. I had a 10px top margin on the site itself and that has disappeared apparently, throwing everything out of wack. The largest issue is the flash banner I have in the header. As you can see it's scooted down about 10 Px or so.
Any suggestions would be welcomed - I'm getting a bit blury eyed trying to find the best way to attack this.
Thanks for listening! Hope someone can help.
Ruth
-
Re: Need a little css help on WOZ -
Ah Ha! I was wrong - you can make changes to the main site in woz css (style.css) I just killed the bread crumb which is a quickie fix until I can make proper adjustments. I guess I just needed to post to hear myself think...LOL
-
Re: WP 2.8.1 upgrade problem
Has anyone upgraded wordpress to 2.8.1 and encounter any problems? I did the upgrade automatically from wp-admin site. Now when i click on my blog, instead of being directed to http://domain.com/blog, it goes to http://domain.com/http:/domain.com/blog/.
Can anyone help please? Thanks.
-
Re: WP 2.8.1 upgrade problem
Silly me. I managed to find out that the error above was because i tried changing the permalink settings, after i uninstall and reinstall WP and WOZ - -"
Seems like there is no way to set the permalinks if we integrate WP into ZC? If anyone finds a way, please do advise ^^
-
WP 2.8.1 and ZC
Just a quick note to let folks know that I have just installed WOZ using WP 2.8.1 and ZC 1.3.7.1 without any problems. I followed the instructions that come with the mod and it works fine.
The biggest issue, using the default template, is the css clashes. The problem is that WP and ZC have many css classes and ids that are the same. I had to go into the WP theme files and change the names of classes and ids, once that was done, along with some other css changes to WP to make it fit properly within the main ZC column, everything works as advertised.
I embedded WP into the ZC, I didn't experience any problem whatsoever like other folks seem to have. I think that embedding it makes sense in terms of link juice and keeping it all "under one roof".
Now I am going through and adding the plugins and widgets that we want. This is so so so awesome to have this. WP is so powerful, it is waaaayyyy more than a blog tool. We are going to use it for all of our CMS (non-ecommerce) content. Now, I am working on embedding different pages into different areas of ZC.
Thanks to the mod author and all of the community members for their support in this thread, although it seems as if a lot of non-installation issues people were having have thankfully been resolved with 2.8.1. But, I haven't gotten into the custom meta tags or SEO URLs yet so perhaps I'm speaking too soon.:D
-
Blog links opening in new window without css styling...
I've sifted through this whole forum, and I apologize if I've missed the answer to my problem.
I got WOZ installed fine, and when the Blog Sidebar heading is clicked, it brings my blog up on the main page. However, if you click the Archives link (or categories, search, anything), it pops up a new window that doesn't look anything like my blog. The same is true when you click the comments link within the blog.
I can't tell if this is what Kiddo's patch is supposed to fix, but I've tried to use that without luck.
I also tried changing the settings in WP admin to use http://www.digsshowroom.com/index.ph...page=wordpress as my blog address. This fixed it so the links didn't pop up a new window, but brought up a 404 on the main page and the following error messages on my WP admin:
Quote:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home2/digs/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/digs/public_html/blog/wp-admin/includes/misc.php on line 130
Warning: Cannot modify header information - headers already sent by (output started at /home2/digs/public_html/blog/wp-admin/includes/misc.php:130) in /home2/digs/public_html/blog/wp-includes/pluggable.php on line 865
Can anyone point me in the right direction? I would prefer the archives/categories/search to come up on the main page, but would settle for them coming up in a new window IF the styling was the same.
I'm using ZC 1.3.7 and WP 2.8.2. (Maybe I need an older version of WP?). WP is installed in /blog directory.
Site is here: http://www.digsshowroom.com
Thanks in advance.
-
Re: Blog links opening in new window without css styling...
hmm... nevermind. i seemed to have gotten it sorted, and in the meantime lost access to the WP admin and my blog's own CSS styling.
it's gonna be another long night!
-
Re: Wordpress On Zencart / Released
Hi all,
I encountered an error when I tried to read my RSS feed from my wordpress. The link to my side is:
http://ikimura.com/?feed=rss2
(The hosting is free by godaddy... :blush:)
I am using zen cart 1.3.8a and wordpress 2.8.2.. I have read the posting from Kiddos to insert a patch at extra_configures/wordpress-config.php.
So basically this is my wordpress-config.php:
Code:
<?php
//
// wordpress on zencart by http://www.s-page.net/
//
//define ('ABSPATH','/var/www/vhost/example.com/public_html/blog/');
define ('ABSPATH','/home/content/h/k/a/hkartadi/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';
}
// 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']);
}
if(isset($_GET['feed'])){
wp();
gzip_compression();
// require_once('./wordpress/wp-includes/template-loader.php');
// require_once(ABSPATH . WPINC . '/template-loader.php');
require_once('/home/content/h/k/a/hkartadi/html/blog/wp-includes/template-loader.php');
exit();
}
}
?>
I have spent few days to figure this out and google for hint. But found no luck...
I will be very appreciate if someone could help me! Thanks!
Regards,
Handi
-
1 Attachment(s)
Debug WOZ worpress addon
Hello,
I have a problem when installing a wordpress addon, upon loading the addon I get the following error. I know that this addon works in a standalone wordpress install. So I am directing my debugging efforts towards the WOZ module.
This is the error returned on the Zen Cart page & in the Zen Cart debugger log
Code:
Fatal error: Call to a member function add_current_page() on a non-object in /home/elektrk2/public_html/isellortrade/includes/autoload_func.php on line 90
And here is the code from line 90 of autoload_func.php.
Line 90 itself is blank??? but this is the code bellow
Code:
* include an init_script as specified by autoloader array
*/
if (file_exists($baseDir . $entry['loadFile'])) include($baseDir . $entry['loadFile']); else $debugOutput .= 'FAILED: ';
$debugOutput .= 'include(\'' . $baseDir . $entry['loadFile'] . '\');' . '<br />';
break;
case 'class':
if (isset($entry['classPath'])) {
$classPath = $entry['classPath'];
} else {
$classPath = DIR_FS_CATALOG . DIR_WS_CLASSES;
}
The wordpress debugger returns this on the first line
Code:
# 1 PHP error
mysql_num_rows()
/!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
Then about 18 lines that follow this pattern
Code:
/!\ PHP WARNING : dir(includes/templates/apple_zen/images/icons) [function.dir]: failed to open dir: No such file or directory /!\
After this a lot of results (about 400 lines)most of which follow the pattern of
Code:
PHP notice : Constant FOOTER_TEXT_REQUESTS_SINCE already defined
PHP notice : xxxxx_xxxx_xxxx already defined
then the end of the file has this
Code:
# 432 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
# 433 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
# 434 PHP error functions_lookups.php 494 zen_get_configuration_key_value() PHP notice : Undefined property: queryFactoryResult::$fields
# 435 PHP error functions_lookups.php 494 zen_get_configuration_key_value() PHP notice : Undefined property: queryFactoryResult::$fields
# 436 PHP error fopen() /!\ PHP WARNING : fopen(/home/elektrk2/public_html/isellortrade/includes/configure.php) [function.fopen]: failed to open stream: Permission denied /!\
# 437 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
# 438 PHP error mysql_num_rows() /!\ PHP WARNING : mysql_num_rows(): supplied argument is not a valid MySQL result resource /!\
# 439 PHP error wordpress.php 26 require_once() PHP notice : Undefined variable: cat
I also attached the complete debug file for wordpress.
Attachment 6330
So I am a bit lost at this point as to what I should be searching for. I am just a beginner at PHP, but I know how to read the code fairly well.
Any suggestions or help on which files I should be looking at?
Thanks
-
Re: Debug WOZ worpress addon
Quote:
Originally Posted by
magicmike
Hello,
I have a problem when installing a wordpress addon, upon loading the addon I get the following error. I know that this addon works in a standalone wordpress install. So I am directing my debugging efforts towards the WOZ module.
Where is the add-on supposed to show up on your page, i.e. is it a sidebox widget, or is it a module that runs on the page, or both? Also, what is the add-on called?
As well, if you have a link to add, that may be helpful for someone to visualize where beginning of the error starts (and how the two systems code might be interacting with each other).
The info you gave is useful, but at my knowledge level, I would need these other things to help look into a solution.
-
Re: Debug WOZ worpress addon
The plugin name is "Another Wordpress Classifieds Plugin"
If you have a WOZ setup and want to test it out for yourself the plugin is here.
http://wordpress.org/extend/plugins/...ifieds-plugin/
The standalone install of the plugin on wordpress is here.
http://www.michaelouellet.com/
The link Trade Page under Pages is the plugin.
But it does not matter what page I am on on my Zen Cart store I get the
Fatal error: Call to a member function add_current_page() on a non-object in /home/elektrk2/public_html/isellortrade/includes/autoload_func.php on line 90
and nothing else the site is blank except for the error code.
I have to deactivate the AWPC plugin on wordpress for my website to come back.
-
Re: Blog links opening in new window without css styling...
Quote:
Originally Posted by
digsshowroom
I've sifted through this whole forum, and I apologize if I've missed the answer to my problem.
I got WOZ installed fine, and when the Blog Sidebar heading is clicked, it brings my blog up on the main page. However, if you click the Archives link (or categories, search, anything), it pops up a new window that doesn't look anything like my blog. The same is true when you click the comments link within the blog.
I can't tell if this is what Kiddo's patch is supposed to fix, but I've tried to use that without luck.
I also tried changing the settings in WP admin to use
http://www.digsshowroom.com/index.ph...page=wordpress as my blog address. This fixed it so the links didn't pop up a new window, but brought up a 404 on the main page and the following error messages on my WP admin:
Can anyone point me in the right direction? I would prefer the archives/categories/search to come up on the main page, but would settle for them coming up in a new window IF the styling was the same.
I'm using ZC 1.3.7 and WP 2.8.2. (Maybe I need an older version of WP?). WP is installed in /blog directory.
Site is here:
http://www.digsshowroom.com
Thanks in advance.
Looks like you have fixed your issue?
What a beautiful site! Very very nice.
-
Re: Wordpress On Zencart / Released
Great addon!
I get this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/nakayama/public_html/includes/templates/lambe_green_lite/common/html_header.php:22) in /home/nakayama/public_html/blog/wp-includes/pluggable.php on line 865
-
Re: Wordpress On Zencart / Released
Okay, I cannot figure out where the functions.php is? I looked in every folder.
Quote:
Originally Posted by
kennyhoward
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
KT Naturals
Okay, I cannot figure out where the functions.php is? I looked in every folder.
Also tried Kiddo's fix, but couldn't find the original code in wordpress-config.php
I have ZC and WP in diff. directories
-
Re: Wordpress On Zencart / Released
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
KT Naturals
Okay, I cannot figure out where the functions.php is? I looked in every folder.
Quote:
To turn off Canonical URL Redirection, you can add the following code to your theme’s functions.php file.
As the article states, functions.php is in your WordPress folders.. (Usually with the theme/template files)
Quote:
Originally Posted by
KT Naturals
Also tried Kiddo's fix, but couldn't find the original code in wordpress-config.php
I have ZC and WP in diff. directories
As there have been ZERO updates to this add-on in well over a year, no reason this code would be different.. You may not have the right files.. Re-download WOZ and get a fresh copy of the mod files.. and then try applying kiddo's fix again..
-
Re: Wordpress On Zencart / Released
Okay, so I did Kiddo's patch correctly and same error.:shocking:
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
KT Naturals
Okay, so I did Kiddo's patch correctly and same error.:shocking:
It would help a lot if you posted a link to your site and what URL you were attempting to access when you got the error..
ETA: Nevermind.. I found your site and blog.. What URL were you accessing when you got the error?? I went here and it looks good (http://www.ktnaturals.com/index.php?main_page=wordpress) which indicates to me that kiddos fix is doing what it is supposed to..
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
It would help a lot if you posted a link to your site and what URL you were attempting to access when you got the error..
ETA: Nevermind.. I found your site and blog.. What URL were you accessing when you got the error?? I went here and it looks good (
http://www.ktnaturals.com/index.php?main_page=wordpress) which indicates to me that kiddos fix is doing what it is supposed to..
But here's what I did find strange.. When you access the blog, the background of the page header (where the logo is located) changes to the same color as the WordPress theme header.. and it didn't happen right away.. only after I clicked the link to read the one comment on your blog.. Weird..
BTW.. NICE site..:clap: very clean!!!
-
Re: Wordpress On Zencart / Released
I did Kiddos fix and then I did the other fix on functions.php THEN it worked... however, when I log in to the admin panel it shows:
Not Found
The requested URL /blog/http://www.ktnaturals.com/blog/wp-admin/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
So... what do I do now? It worked earlier before the 'fixes'.
Quote:
Originally Posted by
DivaVocals
It would help a lot if you posted a link to your site and what URL you were attempting to access when you got the error..
ETA: Nevermind.. I found your site and blog.. What URL were you accessing when you got the error?? I went here and it looks good (
http://www.ktnaturals.com/index.php?main_page=wordpress) which indicates to me that kiddos fix is doing what it is supposed to..
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
But here's what I did find strange.. When you access the blog, the background of the page header (where the logo is located) changes to the same color as the WordPress theme header.. and it didn't happen right away.. only after I clicked the link to read the one comment on your blog.. Weird..
I believe that is because zen and wp share some id and class names, I had to go into the wordpress theme files and change the names of some of the classes and IDs for the formatting to completely assume my zen template. Some needed to be different than zen and some needed to be the same to get it to work.
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
KT Naturals
I did Kiddos fix and then I did the other fix on functions.php THEN it worked... however, when I log in to the admin panel it shows:
Not Found
The requested URL /blog/http://www.ktnaturals.com/blog/wp-admin/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
So... what do I do now? It worked earlier before the 'fixes'.
You got me..:laugh: Try reversing the changes to the functions.php file.. Otherwise I'm fresh outta ideas.. I know that's of little help to you.. So let me add this..
I'm gonna be honest with you, I have lost ALL interest in messing around trying to get this add-on to work..
I can't afford to have a mod that is not stable (and frankly this mod IS NO LONGER STABLE!) on a client site. A dead mod like this would be a HUGE risk for me to take on support for, and I will have to support it if I put it on a client's site..
Now there are others who don't mind screwing around with this code to get it to work.. However, I am not skilled enough with PHP to take this on myself, and I have zero interest in slugging my way through this mod to learn PHP.. I haven't see a real "fix" posted for the many problems which continue to plague a lot of folks who install this mod.. Perhaps one day I will pay a developer to take a look at this add-on and fix it for me, (I have NO PROBLEM paying for a developer if I need one) but for now I won't for three really good reasons..- [FONT=Verdana]In the BIG picture, embedding the blog doesn't REALLY buy you anything. It is PLENTY easy to skin WordPress to match your store as in this example: [/FONT]
[FONT=Verdana]Store: [/FONT][FONT=Verdana]http://clients.overthehillweb.com/an...cords/catalog/[/FONT]
[FONT=Verdana]Blog: http://clients.overthehillweb.com/an...s/anomalyblog/[/FONT]
[FONT=Verdana]or[/FONT]
[FONT=Verdana]Store: http://clients.overthehillweb.com/ha...=index&cPath=0[/FONT]
[FONT=Verdana]Blog: http://clients.overthehillweb.com/ha.../hairisleblog/[/FONT] - [FONT=Verdana]Now while the embedding part does not work well for many folks.. the WOZ sideboxes do in fact work.. (I have instructions posted in this thread for how to install ONLY the WOZ sideboxes if you are interested) In the REALLY BIG picture, this is (IMO) PLENTY adequate to link the blog to the store. [/FONT]
- [FONT=Verdana]There are also RSS add-ons which will alo serve well to link you store to your blog.[/FONT]
[FONT=Verdana]I know there are those who disagree, and that's fine.. Different strokes, but there is nothing IMO that is gained by wacking away at this dead mod for those of us who are not PHP savvy. I will continue to monitor this thread and this add-on for the next real release (with everything fixed). However, I'm done trying to get this thing to "work".. I will continue to use the WOZ sideboxes (they DO work) and skin my own WP templates to match my sites..[/FONT]
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
KT Naturals
I did Kiddos fix and then I did the other fix on functions.php THEN it worked... however, when I log in to the admin panel it shows:
Not Found
The requested URL /blog/http://www.ktnaturals.com/blog/wp-admin/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
So... what do I do now? It worked earlier before the 'fixes'.
I don't think Kiddo's fix would do that, what other fix did you do to functions.php? Reverse one change and upload and see if it works so we know which modification it is that is causing the error.
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
lankeeyankee
I believe that is because zen and wp share some id and class names, I had to go into the wordpress theme files and change the names of some of the classes and IDs for the formatting to completely assume my zen template. Some needed to be different than zen and some needed to be the same to get it to work.
If they do, it's because the default WP template's CSS and Zen Cart do.. I don't think this is true across the board for all WP templates.. Based on my experience, many of these WP templates do not use a standard set of IDs and classes...
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
If they do, it's because the default WP template's CSS and Zen Cart do.. I don't think this is true across the board for all WP templates.. Based on my experience, many of these WP templates do not use a standard set of IDs and classes...
Yeah, I should have clarified my point, I was referring to the default theme in wp.:D
-
Re: Wordpress On Zencart / Released
It was the functions.php that messed up the admin. So, now back to the same old original problem.
It may be easy for some to modify a WP theme to look like their ZC, but to me it's not and takes a lot of work.
Sigh, wish I could get this to work.
-
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
KT Naturals
It was the functions.php that messed up the admin. So, now back to the same old original problem.
It may be easy for some to modify a WP theme to look like their ZC, but to me it's not and takes a lot of work.
Sigh, wish I could get this to work.
It may help to find a WP template closer to the layout you desire.. I don't use ANY of the default WP templates EVER.. They are a PITA to modify, and I've NEVER had good success modifying either the classic or default templates..
But there are lots of other MUCH simpler templates that are great starting points.. Your site design in particular would be SUPER easy to do in WP.. In fact the template I used for the record company site would be a GREAT starting point for your site.. especially since the color palette of the original template is VERY similar to your site's color palette..
Anyway it's a suggestion.. if you can work your way through making your Zen Cart store look good (and you did..) trust me WP will be a breeze.. Quite honestly I started down the road of using this WOZ add-on because I was not "getting it" when it came to customizing WP templates.. Then I got some advice from the WP forums to NOT use the classic or default templates as a starting point, and off I went..