Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

fatal error when clicking on cart icon in editor for short code

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › fatal error when clicking on cart icon in editor for short code

Tagged: Contact Form 7, html_entity_decode, MBCS, PHP 4

  • This topic has 14 replies, 3 voices, and was last updated 12 years, 3 months ago by amin007.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • December 16, 2010 at 5:24 am #2395
    judith
    Member

    HI, Thanks for the great plug in – wp eStore. I’m muddling my way through the set-up (just got it today). I received a fatal error when I click on the cart icon in the editor to get the short code for the product placement. The error says – Fatal error: Call to undefined function: wpcf7_add_tag_generator() in /home/content/c/a/l/calimon46/html/jsart/wp-content/plugins/contact-form-7/modules/text.php on line 129 –

    I’m just upgraded to WP 3.0.3. Thanks for your help.

    Judith

    December 16, 2010 at 2:52 pm #27475
    wzp
    Moderator

    Sounds like a conflict with the Contact Form 7 plugin. If you temporarily deactivate that plugin, does the error go away?

    December 16, 2010 at 11:28 pm #27476
    judith
    Member

    Hi, Thanks for the response. I deactivated Contact Form 7 plugin (which I need but for now..). That allowed the cart icon to work in the editor. So looks good in the editor but previewing the page this is what I see.

    Warning: cannot yet handle MBCS in html_entity_decode()! in /home/content/c/a/l/calimon46/html/jsart/wp-content/plugins/wp-cart-for-digital-products/eStore_misc_functions.php on line 642

    repeated over and over again to the end of the Store page.

    Could the fact that I changed the random code in the settings under “digital product delivery setting” be the problem? I did that before I watched the tutorial video about setting up the plugin. I tried deleting the plugin and then uploading it again but all the things I’d put in the settings stayed there w/the new upload.

    Thanks so much for the great support you offer with this plugin.

    Judith

    December 16, 2010 at 11:45 pm #27477
    wzp
    Moderator

    My understanding is that this message is being caused by a “bug” in the version of PHP 4 that you are using. Is there anything stopping you from upgrading to PHP 5?

    If you are not yet locked into Contact Form 7, I’d also like to recommend the use of FormBuilder, which is eStore compatible:

    http://wordpress.org/extend/plugins/formbuilder

    December 17, 2010 at 12:36 am #27478
    amin007
    Participant

    The older versions of PHP4 didn’t have proper UTF-8 decoding. This page has a workaround if you don’t want to upgrade to PHP5 (PHP5 upgrade is recommended for many other reasons):

    https://support.tipsandtricks-hq.com/forums/topic/wp-estore-php4-workaround

    December 17, 2010 at 2:02 am #27479
    judith
    Member

    Thanks for the recommendation on a better contact form. I’ll check out FormBuilder.

    As to the PHP4 or 5 issue, I am clueless as to what that actually means. I don’t speak CSS language (get help from my son for that kind of stuff). Is that upgrade something I can do from my editor or does it have to be done on the server? If it has to be done with CSS thru the server the I’ll have to wait till he’s back from Mexico (lucky guy).

    I’ll check out the workaround in the meantime. Hopefully I can manage that from the editor.

    Thanks again, you guys are awesome

    December 17, 2010 at 2:17 am #27480
    wzp
    Moderator

    This is a “server thing.” PHP is the primary language that WordPress and its plugins is written in. If you are using a hosting provider for your server, they can address the PHP 4 to 5 issue. If you are trying to host the server on your own system, it is something you have to work on.

    December 17, 2010 at 3:49 am #27481
    judith
    Member

    OK thanks a bunch. Looks like I’ll have to wait a bit before moving ahead.

    December 17, 2010 at 5:39 am #27482
    wzp
    Moderator

    Is this the http://judithshawart.com site we are talking about? I noticed it is being hosted by Go Daddy, and I’d be surprised that they would allow any of their servers to still run PHP 4.

    December 17, 2010 at 6:08 am #27483
    judith
    Member

    Yes that is my website. Do you have any other insights that might help. I just sent an email to my “go to” guy for all the PHP stuff see if he remembers off-hand if the server is running on PHP4 or PHP5. Don’t think I’ll get a quick response though since he’s having fun at the beach.

    I’ve encountered another problem trying to set up a “squeeze page”. I was able to put in the code and it looks good. See it here – http://judithshawart.com/creativity-information.

    I have it in the media library as a PDF (is that wrong?)

    I tested it by downloading the form to myself. I went to my spam folder and this it what it says

    … while talking to relay-hosting.secureserver.net:

    >>> MAIL From:<judithshaw20@gmail.com> SIZE=889

    <<< 553 sorry, your mail was administratively denied. (#5.7.1)

    501 5.6.0 Data format error

    at the very bottom of that denial I see the email with the link. When I click on the link it takes me to a page that shows the header of my website and nothing else.

    Perhaps this relates to the PHP problem also?

    thanks again

    December 17, 2010 at 1:43 pm #27484
    wzp
    Moderator

    Okay, here is what you should tell your “go to” guy…

    “The majority of the problems will likely be cleared up if the server is running under PHP 5, instead of PHP 4. That, and in a few months time, WordPress will no longer support PHP 4 systems…

    http://wordpress.org/news/2010/07/eol-for-php4-and-mysql4

    Because the site is being hosted on Go Daddy, they should be helpful in assisting you with a proper migration to PHP 5.

    After the site has been migrated to PHP 5, it will be much easier to troubleshoot any remaining problems.”

    December 17, 2010 at 6:59 pm #27485
    judith
    Member

    Thanks so much. Looks like dealing with this problem has given me a heads-up on future big problems (like WordPress no longer supporting PHP4 system).

    If my server is using PHP5 then I’ll post again for help. Otherwise … patience….

    thanks

    December 18, 2010 at 4:22 am #27486
    judith
    Member

    I heard back from my go to guy and apparently GoDaddy is the company that

    provides me with a server to host my website and he’s sure GoDaddy is using PHP5. He rents server space from GoDaddy.

    So since that isn’t the problem, what do I do know to solve the 2 issues discussed here.

    Thanks

    December 18, 2010 at 2:31 pm #27487
    wzp
    Moderator

    Has he actually done anything to verify that you are indeed running PHP 5? Please ask him to perform this simple test…

    Create a “test.php” file on the server, that contains the following line of code…

    <?php phpinfo(); ?>

    Next, execute the “test.php” file from a browser window. This will not only tell you what version (for sure) of PHP you are running, but also other information that will come in handy later.

    Make a printout of the results, and then delete the file.

    December 18, 2010 at 11:34 pm #27488
    amin007
    Participant

    If you are getting the “cannot yet handle MBCS in html_entity_decode()” error then there is no way you are running PHP5. Maybe your server has PHP5 capability and you might need to go to the control center and specify to use PHP5.

    Please do the test mentioned in the previous post yourself (it is really a simple test and you don’t have to rely on anyone else). If you need more help with the test let us know.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ