Bugs

Discuss bugs with YAK here…

RSS feed

118 Comments »

Comment by anemec
2007-11-22 09:31:58

FYI - Permalink Redirect version 0.8.1 also breaks YAK. You will not be able to update quantities or delete items on the checkout page. Also, the buy button will not work when Permalink Redirect is activated.

Thanks for the plugin.

Comment by jrbriggs
2007-11-22 20:31:50

Thanks anemec. Will add to the forum.

 
 
Comment by jrbriggs
2007-11-25 09:15:23

XDForum does not appear to work with YAK at the moment. I haven’t been able to track down the problem in the YAK code, but am in contact (well… sent an email at least) with the XDForum developer(s).

Comment by AriK
2007-11-25 09:15:49

Quick, working fix (proposed by XDF developer) is to comment out a line

if (!$_SESSION) session_start();

from xdf_functions.php (file can be found in includes folder).

However, note that it means also that there is no prevention of double posting in XDF. More information from http://www.xdweb.net/

 
 
Comment by Caroline
2007-12-02 06:08:51

Hi, I am noticing that on the archive pages (i.e. if I bring up all pages relating to particular model of shoes), the price is missing after the dollar sign. How do I fix?

This is the coding on the archive.php:

Comment by jrbriggs
2007-12-02 11:21:16

Your code sample didn’t come through. Can you try again. Replace the < brackets with &lt; and it should work.

 
 
Comment by Caroline
2007-12-02 07:17:40

One more question: on the checkout page, if I empty out cart then click on link “shop” - it sends me to your homepage. How do I fix it so it links to my homepage? Thanks.

Comment by jrbriggs
2007-12-02 11:21:53

What link “shop”? You mean the link for your shopping cart page?

 
 
Comment by Caroline
2007-12-02 12:48:45

Hi, please ignore my first question - it actually wasn’t yak related - I only realized that afterwards.

For 2nd question: please visit my website http://tangospeak.com/shoes/

Pick any pair of shoes (use “Models” drop down menu to get started), add it to cart, go to checkout page, then look at the bottom left, under the product info table, you will see this word “shop” - it’s a link that links back to your website. How do I either change the link or delete it altogether?

Comment by jrbriggs
2007-12-02 17:51:24

I can’t explain it. From the source of your page, that “shop” link is the alternative text to the basket.gif image — which is no longer used in the YAK code.

Can you email me the content of your cart page, and perhaps the template as well?

 
 
Comment by Mattz
2008-01-04 10:52:28

When I enable the plugin, a whole wordpress MU install goes down and all pages are white or can’t be reached.

After removing the plugin, everything is working again.

What could be the issue ?

Comment by jrbriggs
2008-01-04 17:10:48

I’m afraid I don’t know anything about WordPress MU, and YAK has never been tested with it. I suspect there’s some major difference with the way pages are built or some of the functions — YAK will probably be interrupting that process, but it’ll take investigation to figure out why.

 
 
Comment by Andrea
2008-01-07 05:21:09

It spews an error in MU because there’s a conflict with user capabilities. pages are the same, it’s the way users are handled that’s different.

I’m also looking into it. :)

 
Comment by Shannon
2008-01-21 22:44:45

I get all the way to Confirm Order, then when I click it the whole site appears to just freeze up until I close my browser.

Do I need to make any directories writeable for the Confirm Order step?

Comment by jrbriggs
2008-01-22 08:42:40

YAK works from the database, so you shouldn’t need to make directories writable — unless there’s some weird PHP reason which I’m not aware of.

Is this a consistent problem, and can you send me a URL to try it out myself? Send to my email (see the Contact page).

 
 
Comment by Shannon
2008-01-22 10:27:11

It’s consistent and identical each time, even after I restart the installation from a clean wp database.

Comment by jrbriggs
2008-01-23 08:17:08

I’ve replied via email.

 
Comment by Shannon
2008-01-25 19:35:13

did you get my response? the site is stock except for a couple images changed. I tested it stock on a fresh db too.

 
Comment by jrbriggs
2008-01-26 07:59:52

Sorry yes I did. But after I’d already disconnected for the night.

The response from your site seems like a database lock. If you go to the cart page independently of an order, it works fine. If you go via the “Confirm Order” it hangs. It seems like a table lock of some kind, but I’m afraid I don’t know why.

What version of MySQL as a matter of interest?

 
 
Comment by Henning
2008-02-09 10:36:30

I’m trying to implement yak but it does not work with Wordpress 2.3.3 ?! During checkout it “forgets” the items which where ordered.

When the file yak_view-confirm.php is processed the table is cut of…

Artikel
Preis
Menge

Zwischensumme

Do you have any idea?

Comment by Henning
2008-02-09 10:39:39

Well, this did not get clear I think. In the file it is the lines 90-95 which are the last displayed in the browser:

name ?>

quantity ?>

and that’s it.

 
Comment by jrbriggs
2008-02-09 10:46:48

Just upgraded my test environment to 2.3.3 and had no problems at all. Do you have a url I can check?

 
 
Comment by Henning
2008-02-09 20:19:14

Thank you, the URL is:
http://www.selbstaendig-mit-erfolg.de
It’s in German but you should find your way through it.

Comment by jrbriggs
2008-02-09 22:10:49

It looks like the page just stops at the order table. Bizarre.

Couple of things to check — have you got any other plugins that might be conflicting (try disabling everything except YAK and see if the problem is still there).

Second thing would be to try to increase the memory limit in case there’s a problem there. At the beginning of the file yak-for-wordpress.php you’ll find something like:

if (yak_return_bytes(ini_get(’memory_limit’)) < 15728640) {
ini_set(”memory_limit”, “15M”);
}

Delete those 3 lines and replace with:

ini_set(”memory_limit”, “20M”);

 
 
Comment by Henning
2008-02-10 02:32:49

You were right, another plugin caused the problem. It’s the StatTraq plugin (http://www.sieker.info/stattraq/). It won’t be a big deal to find another tracking method.

But I am really happy YAK now works properly. It is great. Thank you very much for your help. As soon as we sold something (hopefully next month) there will be a donation :-)

Henning

PS: This cooperation between two people living on two edges of the world, thousands of miles apart, 10 hours time difference, is really amazing…

Comment by jrbriggs
2008-02-10 21:42:27

Except I’m not on the opposite edge of the world now…

…having moved to the UK in Jan. ;-)

 
 
Comment by h3lios
2008-03-11 10:00:01

Hello,

Im running wordpress 2.3.3 with PHP 4.4 and apache 2.

When I try to install (activate) your plugin, I get a blank page. Then when I go to my main page, its all blank. No errors.

Has anyone ran into this issue?

Comment by jrbriggs
2008-03-12 09:43:52

Could be a memory problem. Do you have access to your web server logs?

 
 
Comment by george I
2008-03-23 07:38:05

I am running Wordpress 2.3.3

I am brand new to Wordpress and having a problem with Yak item quantities.

I am at part three of “Enabling Wordpress for Ecommerce”.

When I click on the three dots to the right of the products list, the expanded view opens, but there are no boxes to place quantities in.

There is not box under quantity, weight, or the download file.

Help please?

Comment by jrbriggs
2008-03-23 07:48:25

Have you selected the “default” product category (step 6 of the installation manual) for your product post?

 
Comment by george I
2008-03-23 08:03:06

Yes…,

Manage/Yak/Settings and I selected the default that I have labeled as “E-Commerce”

 
Comment by jrbriggs
2008-03-23 08:37:31

You should have a category called “products” and a single sub-category called “default” (unless you have more than one type or style of product). This is detailed in the instructions.

 
Comment by george I
2008-03-23 14:20:23

Ok, I started from scratch. Deleted all the additional categories I created.

The first post worked out ok. Just like clockwork! Then the following posts will not include the price or add to cart options.

I place them in the post from the HTML part of the post. Odd that when I go back to edit the post, both of them were removed from the HTML and placed themselves in the “visual” editor.

Thanks for helping. I do appreciate it very much.

George I

 
Comment by jrbriggs
2008-03-23 23:25:05

Don’t use the visual editor to start with. It’s probably causing that problem.

 
 
Comment by george I
2008-03-23 14:22:09

You can see the posts I am talking about under the “gemstone” category.

 
Comment by George I
2008-03-24 13:36:03

Ok, got it working.

One of the last things I could use your help with is the Yak settings.

I am in the US.

What exactly should the money format,and currency format settings look like? I can’t make heads or tails of what is there.

Thanks again!

Comment by jrbriggs
2008-03-24 22:42:36

Money format would be: %01.2f

Currency format would be: %2$s%1$s

 
 
2008-03-24 22:14:00

Everything working ok except when I create any categories under the default category so that I can have more than one type or style of product.

When I do, then I am not able to enter quantities in the “price and add to cart options” box. Like before, it is not there.

Is there a way?

Comment by jrbriggs
2008-03-24 22:45:10

You don’t create the categories beneath “default”. You should have a “products” category. Beneath that you should have “default” and then any other types. For example:

products
|
|—- default
|
|—- small
|
|—- medium
|
|—- large

 
 
Comment by Trisha
2008-03-28 11:25:59

Jason will this work on a site that is already set up with categories (as it happens I already have a category called “products” with sub-categories within it - I added one called “default” under products. But even though my posts are tagged with “products”, and “default”, and other related categories, and I have the keys set up (yak_price) and yak_title), nothing shows up under my admin page for Yak > products…….

Comment by jrbriggs
2008-03-30 20:47:34

It should work. Can you check in Yak > Settings that the “Product category name” is actually set to the exact (slug) string you’re using as the products category name.

 
 
Comment by decop
2008-04-01 21:43:09

first: congratulations for this great piece of code!!!!

I’m testing YAK in Wordpress 2.5

in the admin section:
Manage/YAK/Products
click on [..] to edit product info,
but no fields appear :(

how to fix it?

thanks so much,

 
Comment by decop
2008-04-02 02:10:09

I double checked and I have the categories set correctly :(

products
- default
- - subdefault1
- - subdefault2
- default A
- default B

ant the test product belongs to (Products + Default)

any idea on what might be wrong?
thanks

Comment by jrbriggs
2008-04-02 06:24:18

The subdefault categories won’t work, but a post assigned to ‘default’ should work fine. You haven’t ticked the “products” super category as well have you?

 
 
Comment by Trisha
2008-04-02 09:27:48

I think I found what is causing the problem but I don’t know how to fix it. In the file “yak_view_products.php” on line 57 there is a php function “foreach ($product->types as $type) {” that may have a problem - when I view the source of that page in my browser (after going to my admin Manage>yak>products) nothing appears after the line right above that (the closing /tr) until the form closes - so the page is missing everything down to the closing php function on line 84. It goes straight from the close /tr to the close /form with nothing in between including the close /table - so it looks like it basically doesn’t keep writing the table, hence nothing displays.

I am using both WP 2.3.3 and have no other plugins at all - I just want to get this working first. Any ideas?

Comment by jrbriggs
2008-04-03 00:02:08

I don’t think there’s anything wrong with the code. More likely it’s a data issue. Can you confirm that the slug of your categories “products” and “default” are exactly the same… ie. “products” and “default”.

 
 
Comment by Trisha
2008-04-03 08:23:17

Hi Jason

Yep, the slugs read exactly like that - “products” and “default” - default is a child category of products, and I also have several other child categories - and the posts are assigned to “products” and “default” and other child categories as appropriate. But when I go to the Manage>yak>Products tab to enter inventory, nothing shows up at all. When I view source, the row (tr) with the class of “hidden” and it’s embedded table, as well as the closing for the parent table ( /table) tag are missing - it goes from the close of the row (tr) before the hidden rows to the close of the form tag, so the table where it would show my products, as well as the table where I would enter the inventory is just not displayed at all……because of these missing closing tags, the WordPress Footer is display over top of the table row header and partially covers the yak tabs (about, settings, orders, products, and reports) although this only happens on the Products tab - the other tabs appear correct even though there is no info (order or reports). That’s why I thought there might be something wrong with the code on the yak_view_products.php file….everything from line 57 down to line 84 seems to be ignored when that file is loaded.

Comment by jrbriggs
2008-04-03 09:21:28

Have to admit, I’m stumped. If you’d like me to take a look, setup a temporary admin account and send me (email) the details.

 
 
Comment by Frantisek Malina
2008-04-07 04:48:25

Hi Jason,
I am just updating the views for Yak to look great with WP 2.5.

I managed to sort out XHTML and CSS yesterday and I am working on the behaviour today.

The main job is a bit of JQuery to use sortable tables for products and orders (we updated JQuery tablesorter be able to use your expandable row UI element ;)

I also want to use JQuery tabs to break the options screen and make it easier to use.

Do you want to have a look on the testing server?

Comment by dee
2008-04-21 02:46:23

Does this mean that yak works on 2.5?

 
Comment by jrbriggs
2008-04-21 04:12:49

Well it works for me, and appears to work for others as well — although some have experienced problems.

The new look-and-feel created by Frank is going in the next release.

 
 
Comment by BebeGirl
2008-04-10 15:48:33

Hello!
Is there a fix available regarding: ‘when I go to the Manage>yak>Products tab to enter inventory, nothing shows up at all.’?
Any info or suggestions is most greatly appreciated as I have the same problem.

Comment by jrbriggs
2008-04-10 18:42:53

At the moment, it appears to be a problem with certain versions of MySQL. I’ve been unable to track down exactly why though. Nor have I been able to reproduce the problem. An upgrade to MySQL 5 fixed at least one of the issues.

 
Comment by dee
2008-04-21 02:45:33

I found that you need to be sure that you have the products in the sub categories UNDER the products category when posting a product. Try that and see if it works….

 
Comment by BebeGirl
2008-04-22 02:32:43

TY jr & dee. my ‘default’ category is a child under my ‘products’ catergory. Product shows properly in post. The problem is I am unable to add qty & wt. I go to Manage-Yak-Products and click on the … button, it opens up a set of tables but only shows type, qty, weight and download file headers. There are no boxes below to enter the quantity and weight. Since I am unable to enter any data, the product shows as out of stock. I am using yak-1.0.2a, wp 2.5 and just love the simplicity of Yak and hope to find the problem soon.

 
Comment by jrbriggs
2008-04-22 05:35:01

What version of MySQL are you using?

 
Comment by BebeGirl
2008-04-22 11:09:22

MySQL version 5.
I can confirm, as seen on other sites, that this plugin is definately awesome and working so for the few of us that are having problems, I don’t think it’s due to the plugin.
Great job on an excellent plugin!
TY, BebeGirl

 
 
Comment by Melissa O.
2008-04-16 09:29:04

I’m running Wordpress 2.5 and am also having the problem of not being able to add quanities. MySQL is version 5

Comment by jrbriggs
2008-04-17 10:01:36

Existing install? Or new?

 
 
Comment by dee
2008-04-21 03:02:34

Can someone give me a site where this plugin actually works…I need to see it in action.

I can’t get the buy now button to show on the post but it shows on the products page.

Is it supposed to show on the post?

 
Comment by Andi
2008-04-23 09:15:59

Same problem here, no possibility to add quantities. MySQL version 5, WP 2.5. Wish I wouldn’t have updated my WP…

Comment by jrbriggs
2008-04-23 19:22:35

Can you give me any more information about your environment? Windows or Unix? What version of php and mysql (exact version of mysql that is).

 
 
Comment by Charles
2008-04-23 12:40:18

Hi Jason, Am working with your excellent plugin again, but this time trying to get it to work with the french — and Les Bleus are being très difficile. I have a .po and a .mo — all valid — and localising for french is fr_FR. Problem is neither ‘yak-fr.po’ or ‘yak-fr_FR.po’ work. I am presuming that its the file name which has to be consistent with the WPLANG variable in the wp-config file. I have localised my install of WP no problems (it is 2.3.3 btw with latest version of YAK). Any immediate thoughts? I’m hoping I missed a config step which links Yak to the .po/.mo file. Thanks, Charles

Comment by jrbriggs
2008-04-23 19:24:19

I had this problem with another language. Can you try setting the WPLANG variable to “fr” and the file as “yak-fr.po”? Might not help, but just to make sure…

 
 
Comment by Charles
2008-04-23 21:40:13

Yep, did that one too. In fact did every combination I could think of … Any thoughts?

Comment by jrbriggs
2008-04-24 06:52:13

Send me the files and I’ll try on my dev instance, if you like…

 
 
Comment by Andi
2008-04-23 23:16:32

Hi jrbriggs,

it’s MySQL-Client-Version: 5.0.32, Server: Localhost via UNIX socket. Need more information?

Comment by jrbriggs
2008-04-24 06:55:21

Not far removed from the version I’m running without any problem. What are the categories you’re using?

 
Comment by Andi
2008-04-24 10:39:03

The one you’ve suggested, products and default… By the wy, it worked before 2.5! Here are some screens from my actual 2.5 installation:

http://www.jenbachweb.de/yak/yak1.jpg
http://www.jenbachweb.de/yak/yak2.jpg
http://www.jenbachweb.de/yak/yak3.jpg

 
 
Comment by Charles
2008-04-24 01:07:53

BTW I’ve had the inability to add quantities to products on both my last installations and in each case it was a problem to do with the categories I was placing products in, nothing to do with mySQL or PHP or server. It is something to double-check at least. FYI An example of an installation where this happened was scottishlaird.com

Comment by jrbriggs
2008-04-24 06:54:32

What was the problem with the categories?

 
 
Comment by Andi
2008-04-24 10:41:03

Hi Jason, I use the ones you suggested, products and default… By the way, it worked before wp 2.5! Here are some screens from my actual 2.5 installation:

http://www.jenbachweb.de/yak/yak1.jpg
http://www.jenbachweb.de/yak/yak2.jpg
http://www.jenbachweb.de/yak/yak3.jpg

Comment by jrbriggs
2008-04-24 11:18:01

Replied to your email…

 
 
Comment by Mei
2008-04-24 20:01:50

Hey jrbriggs.
I seem to be having a problem with my settings in Wordpress’ admin.

Under Shipping Options, where there is “Shipping by country”, there is an option to select all the countries.
I select all countries and update my options with the button at the bottom.

This doesn’t select every country, which is what I’m trying to achieve. It selects a few countries from the top, until Kyrgyzstan and from there onwards it only selects alternate countries.

I’ve tried to select the countries manually but that didn’t work either.

Comment by Mei
2008-04-24 20:10:08

Other times I try selecting all countries with that single checkbox, it doesn’t even alternate.

It checks the top 1/4 number of countries in the list and the rest are unchecked.

 
Comment by jrbriggs
2008-04-25 05:03:38

What browser?

 
Comment by Mei
2008-04-25 12:14:51

Mozilla Firefox 2.0.0.14