[SOLVED] Unable to process users
Posted 21 June 2008 - 01:10 PM
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', 'email@example.com')
The user can then login to the site without being taken to the paypal payment screen.
Posted 24 June 2008 - 07:52 AM
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.
Posted 08 July 2008 - 12:55 AM
Posted 26 August 2008 - 06:47 PM
Following the tip provided above regarding changing the comma to a concatenation, I changed the error line from this:
$emailtext=str_replace("##payment_link##",$http_full . "login.php?a=pp0&uid=" , $_SESSION["ppuid"],$emailtext);
$emailtext=str_replace("##payment_link##",$http_full . "login.php?a=pp0&uid=" . $_SESSION["ppuid"],$emailtext);
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?