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 13 years, 11 months ago by amin007.
-
AuthorPosts
-
December 16, 2010 at 5:24 am #2395judithMember
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 #27475wzpModeratorSounds 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 #27476judithMemberHi, 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 #27477wzpModeratorMy 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:
December 17, 2010 at 12:36 am #27478amin007ParticipantThe 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 #27479judithMemberThanks 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 #27480wzpModeratorThis 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 #27481judithMemberOK thanks a bunch. Looks like I’ll have to wait a bit before moving ahead.
December 17, 2010 at 5:39 am #27482wzpModeratorIs 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 #27483judithMemberYes 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 #27484wzpModeratorOkay, 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 #27485judithMemberThanks 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 #27486judithMemberI 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 #27487wzpModeratorHas 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 #27488amin007ParticipantIf 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.
-
AuthorPosts
- You must be logged in to reply to this topic.