This topic is locked
[SOLVED]

 Unable to process users

6/21/2008 9:10:18 AM
Members Template General Questions
W
wypman author

It was working I think, but now upon registration by a user, I get the following error.
2 Error descriptionWrong parameter count for str_replace() URLwww.yorkshireindexers.co.uk/members/register.php? Error file/usr/local/4admin/apache/vhosts/yorkshireindexers.co.uk/httpdocs/members/include/events.php Error line241 SQL queryinsert into `users` (`Username`, `Password`, `Email`) values ('testing23', '827ccb0eea8a706c4c34a16891f84e7b', 'testing@gmail.com')

The user can then login to the site without being taken to the paypal payment screen.
Any Ideas

W
wypman author 6/24/2008

Looking at the PHP code in events.php it looks as though there is a possible error in the code a comma ',' instead of a concatenation '.' This seems to stop the error - but people are still allowed access without being taken to the payment screen.
Any ideas?

Whats causes the divert to the payment screen?

What settings in the database?
I don't see to be getting any response from admins in this part of the forum. I normally have a very speedy response in other sections.
Regards

W
wypman author 6/26/2008

Now getting payments being made, but the database is not getting updated when a payment is made.
Any ideas what the problem is?
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=30598&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> Is anybody out there !! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=30598&image=2&table=forumreplies' class='bbc_emoticon' alt=':(' />

D
david lee 7/7/2008

i got the same problem as yours, i am still waiting for reply from technical support. this template pack can not be for commercial use. i have uploaded 4 templates, shopping cart and news are ok, calendar and membership payment return error messages. appreciate if you can let me know if you got a solution.
thanks

david lee

admin 7/9/2008

wypman and david lee,
you need to post your application to Demo Account and send the URL to support@xlinesoft.com for investigation.

J
jetacera 8/26/2008

Was this issue ever resolved? I just purchased and installed the the template pack today and I'm getting this same error just doing a straight build from the template (no modifications - just testing to see how it worked).
Following the tip provided above regarding changing the comma to a concatenation, I changed the error line from this:
[codebox]$emailtext=str_replace("##payment_link##",$http_full . "login.php?a=pp0&uid=" , $_SESSION["ppuid"],$emailtext);[/codebox]
to this:
[codebox]$emailtext=str_replace("##payment_link##",$http_full . "login.php?a=pp0&uid=" . $_SESSION["ppuid"],$emailtext);[/codebox]
Is this the correct fix? Is there anything else I need to fix to make this work? It appears that this has been an issue for at least the past 2 months. Why hasn't it been fixed in at least the new downloads of the template pack?

J
Jane 9/3/2008

Yes, it's correct fix.

We'll update templates pack with new version.

W
wypman author 12/28/2008

Yes, it's correct fix.

We'll update templates pack with new version.


When will the templates be updated. I see it is still generating the same error.

J
Jane 1/20/2009

We plan to update templates in a month.