Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › First time user, 2 questions. | Error on checkout and removing :
Tagged: customer input, PHP4
- This topic has 10 replies, 6 voices, and was last updated 14 years, 8 months ago by amin007.
-
AuthorPosts
-
November 6, 2009 at 9:38 am #396bhadawayMember
Note: I’m using the latest WordPress template and I have not altered the source code of the WP eStore Plugin.
1. What could be causing this error when trying to checkout to PayPal:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ xxx/wp-content/plugins/wp-cart-for-digital-products/lib/gateway/Paypal.php on line 13
Line 13 is:
public function __construct()
2. When adding a variation I don’t want to title the drop down menu, but leaving it blank still adds the : How can I remove that?
I signed an NDA and can’t show the exact page.
Thanks, Bryan
November 6, 2009 at 11:50 pm #15843amin007Participant@bhadaway, Looks like your server is using PHP4. PHP4 is old and doesn’t support a lot of things but I have a work around for you. I will email you an alternative file which will work fine on PHP4.
2) To remove the “:” after the title, please open the “eStore_button_display_helper.php” file and search for the following:
$var_output .= $variation1_name.” : “;
Once you find it remove the colon( and you are done.
November 13, 2009 at 4:58 pm #15844jamesashfordMemberHI,
I have the same problem with the parse error. Could i get the file from you too?
Cheers,
James
November 14, 2009 at 1:24 am #15845amin007Participantsent it to you.
November 18, 2009 at 7:34 am #15846bhadawayMemberLooks like the very best solution for this is to update/upgrade your server to PHP5.
Quick question; is there anyway to add a custom field/textarea so the user can leave a note with a purchase?
November 18, 2009 at 9:51 pm #15847amin007Participant@bhadaway, yes, you can display a text field so customers can input a note for the item. Please look for the following field under the “Additional Product Details” section:
Collect Customer Input
March 28, 2010 at 10:29 pm #15848JFPMemberI’m testing my Shopping Cart and Paypal now. I received this error when I clicked the ‘Check Out with Paypal button’
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/j/e/f/jeffreyfried/html/jumpingfrogphotography/wp-content/plugins/wp-cart-for-digital-products/lib/gateway/Authorize.php on line 25
I read the previous posts on this page and contacted my my hosting provider and upgraded to PHP 5. But I’m still receiving the same error.
March 28, 2010 at 10:32 pm #15849JFPMemberProblem solved
I deactivated then reactivated eStore after upgrading to PHP 5 and that solved the problem and a few other issues I was having.
March 28, 2010 at 10:34 pm #15850IvyMemberHi, I am glad you got this working. Please let us know if you need anything else.
Cheers,
Ivy
March 29, 2010 at 5:29 pm #15851stephenniMembercould I also have the php4 file? just purchased the plugin and need to get it working asap for a client.
thanks!!
March 30, 2010 at 2:56 am #15852amin007ParticipantThe latest version of eStore should work fine. I was going to send you an update but I couldn’t find your email address in my customer database… I will send you an email and take it from there.
-
AuthorPosts
- You must be logged in to reply to this topic.