ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Tell a Friend form Blank (maybe only on imported entries)

August 31, 2011 5:10pm

Subscribe [2]
  • #1 / Aug 31, 2011 5:10pm

    kellypacker

    138 posts

    I have a tell_a_friend form working on the articles section of my site, but the same form in the products section displays nothing. The entries in this section were import via the Datagrab addon. When I create a new entry it works fine. So I think it has something to do with importing the entries. How is the tell-a-friend form triggered?

    This is the output from the profiler of the one that works:
    (0.378853 / 14.90MB)    Calling Class/Method: Email/tell_a_friend
    (0.378987 / 14.89MB)    -> Class Called: Email
    (0.379026 / 14.89MB)    -> Method Called: tell_a_friend

    This one from the one that doesn’t:
    (0.308286 / 11.83MB) Calling Class/Method: Email/tell_a_friend
    (0.308384 / 11.83MB) -> Class Called: Email
    (0.308421 / 11.83MB) -> Method Called: tell_a_friend
    (0.309166 / 11.83MB) -> Data Returned

    Any ideas as to why this is happening? Thanks.

    ee 2.2.2

  • #2 / Sep 01, 2011 4:48am

    John Henry Donovan

    12339 posts

    Hi Kelly,

    If you re-save one of your product entries does that work?

    Can you compare an entry row in your exp_channel_titles table from the articles section and the products section?

    Is there any obvious missing information?

  • #3 / Sep 01, 2011 1:18pm

    kellypacker

    138 posts

    Hi John Henry,

    No change after a save. I just tried it and we also went through and added images to each entry after they were imported.

    I compared 2 rows of the exp_channel_titles table (one that is working and one that isn’t) and nothing looks amiss, the data matches up.

    I also compared 2 rows of exp_channel_data table and the only difference is the one that works some of the field_ft_xx columns have a value of NULL while the same columns of the one that doesn’t work have values of “none”. But it doesn’t seem like this would affect anything.

    Any ideas of other things to look at? Thanks. Kelly

  • #4 / Sep 01, 2011 7:45pm

    kellypacker

    138 posts

    I fixed it, I didn’t realize a /view segment was getting into some of the product entry view pages. I fixed the links and everything’s good. Thanks for the help.

  • #5 / Sep 02, 2011 2:59pm

    Lisa Wess

    20502 posts

    Glad you figured it out, Kelly!  Thanks for posting the solution.

    Please do let us know if anything else comes up.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases