Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • what is this v2.0.4 update ? I am also facing the same issue, can anyone help ?

    Thread Starter ranjan154

    (@ranjan154)

    Hi,

    Thanks for writing but the link has just instruction on how to set up catablog.. this all i know. I need some help at the code level, I need to know when a image is being assigned to category while in the edit, it must be updating the total number of items in the categories, as i have mentioned in my post above.

    a:22:{i:0;s:3:”445″;i:1;s:3:”446″;i:2;s:3:”447″;i:3;s:3:”448″;i:4;s:3:”449″;i:5;s:3:”450″;i:6;s:3:”451″;i:7;s:3:”452″;i:8;s:3:”453″;i:9;s:3:”454″;i:10;s:3:”455″;i:11;s:3:”456″;i:12;s:3:”457″;i:13;s:3:”458″;i:14;s:3:”459″;i:15;s:3:”460″;i:16;s:3:”461″;i:17;s:3:”462″;i:18;s:3:”463″;i:19;s:3:”464″;i:20;s:3:”466″;i:21;s:3:”465″;}

    Its not adding now the new items in this category, I am not able to reach in the code, where the above data is serialized and saved in table wp_posts, so that I can check why the new items are not getting assigned.

    That’s the problem, I can install the plugin and try again, but I will have to add all items again, I dont want to do it as of now, so I hardcoded the new items. I know I can’t do this for long.

    Please suggest.

    Regards
    Ranjan

    Thread Starter ranjan154

    (@ranjan154)

    Can you guide which that functions/line of code that assigns an image to categories? As I said it was working fine for me too..till 22 item.

    Thread Starter ranjan154

    (@ranjan154)

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    Hi

    Please check following link http://houstonfineartfair.com/media-sponsors/

    As you can see there are 25 items in this category “media-sponsors”, the last three items I have inserted by hardcoding in CataBlogItem.class and CataBlog.class files.

    $gallery_item_ids = $gallery->getItemIds();
    Just after this I added.
    array_push($gallery_item_ids, "1050");
    array_push($gallery_item_ids, "1070");
    array_push($gallery_item_ids, "1071");

    I had to do this because at the backend the total count of items in media-sponsors is not increasing after 22, though I am to add new items like 1050, 1070 and 1071.

    So somewhere the category assignment has stopped I guess, I searched in the database and I found that wp_posts table the record holding this category has items only till 22.

    a:22:{i:0;s:3:"445";i:1;s:3:"446";i:2;s:3:"447";i:3;s:3:"448";i:4;s:3:"449";i:5;s:3:"450";i:6;s:3:"451";i:7;s:3:"452";i:8;s:3:"453";i:9;s:3:"454";i:10;s:3:"455";i:11;s:3:"456";i:12;s:3:"457";i:13;s:3:"458";i:14;s:3:"459";i:15;s:3:"460";i:16;s:3:"461";i:17;s:3:"462";i:18;s:3:"463";i:19;s:3:"464";i:20;s:3:"466";i:21;s:3:"465";}

    This field should have been updated as I added new items in this category that didn’t happened to somewhere the category assignment/updating of items has stopped after 22.

    Please help me out..

Viewing 4 replies - 1 through 4 (of 4 total)