Need to register new users to my SMF but also to another database.

Started by City Builder, August 16, 2006, 04:56:40 AM

Previous topic - Next topic

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

City Builder

Thanks,
I get this error just by clicking on the Profile link to the Profile.php file.
Parse error: parse error, unexpected T_IF in /home/site1/public_html/Sources/Profile.php on line 815

Line 815 has: if ($copyToTable === false)


This happens just by clicking the link to view a profile.  No profile is shown, instead the error message is shown instead of the normal profile itself.

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

City Builder

I really hate to say this, since you've been trying so hard to help me out with this but.....

An Error Has Occurred!
Hacking attempt... 

message pops up with the Profile.php file you just attached.


JayBachatero

You get the error while viewing the page or when you save the profile?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

City Builder

When trying to save the profile.

I had thought it might be because I am logged in with one of my administrator accounts, but I just tried it being logged in as a regular member, and it produced the same hacking attempt message.

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

City Builder

Quote from: Jay The Code Monkey on August 21, 2006, 05:01:25 PM
Try this.

Oh boy, you are the best!

I really can't express how thankfull I am.  It works perfectly now.

Perhaps you can tell me what all you had to do to get this working so that when final release comes around for SMF, then I can duplicate it if the profile.php file has to be overwritten.

Thanks again.
CB.

JayBachatero

I added backticks (`) on the table names.  Seems like since some of those column names are part of the reserved words for MySQL they need to be n ticks.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: