Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: zarzonis on December 22, 2011, 10:17:26 AM

Title: Huge problem with registration
Post by: zarzonis on December 22, 2011, 10:17:26 AM
hi guys i have a huge problem with registration on my forum... when a member trying to register the following message is appearing
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

if someone press refresh then it says that the email and the username has been used.
actually the registration has done as i can see in the mysql database
but when the user trying to login it says that he must activate his account. when he press to resend the email the email can't be sent. i searched the forum here for similar problems and i tried some solution. but nothing. no problem was exactly as mine.
i am using smf 2.0.1 and i have only 2 mods.
Disable 'last edit by...' for Administrators and simpleportal.
please help me! i can see about 40 members in my database but anyone can login!!!
Title: Re: Huge problem with registration
Post by: Huzzy on December 22, 2011, 10:35:01 AM
Have you checked the 'registration' settings in the admin area? Maybe you may have clicked something wrong in that area...

If not, You will have to upload the latest back up I think :S
Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 10:38:04 AM
yes i checked it very times... backup of what? thanks for the fast response!
Title: Re: Huge problem with registration
Post by: Illori on December 22, 2011, 10:38:24 AM
any errors in your error log?
Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 01:57:38 PM
yes i have 25 errors. 10 of them are general about email activation. 11 of them are undefined about the hide edit mod i have and 4 of them are about incorrect passwords during login
Title: Re: Huge problem with registration
Post by: Illori on December 22, 2011, 01:59:19 PM
well without any related error messages not much we can suggest to you.
Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 02:02:05 PM
the message that pops up after registration can't help you? is there any chance to be host related?
Title: Re: Huge problem with registration
Post by: Illori on December 22, 2011, 02:04:14 PM
no that does not tell much, i dont think it is host related
Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 02:08:19 PM
anything else i can do to help you helping me?
Title: Re: Huge problem with registration
Post by: Sir Osis of Liver on December 22, 2011, 02:15:05 PM

Uninstall the mod.

Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 02:31:24 PM
i did it. still nothing.... if i post any of my files can somebody take a look?
Title: Re: Huge problem with registration
Post by: Sir Osis of Liver on December 22, 2011, 02:38:42 PM

Link to your forum?

Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 02:51:35 PM
guitarbassforum.tk
Title: Re: Huge problem with registration
Post by: zarzonis on December 22, 2011, 03:35:03 PM
here is the register.php if someone can take a look
Title: Re: Huge problem with registration
Post by: kat on December 22, 2011, 03:45:53 PM
As that file's a different size to the original, I assume it's been modified. (Although, I can't see what the difference(s) are.

Try renaming it and putting a virgin copy of the file in it's place and see what happens. :)

Make sure it's read-enabled, too, just in case.
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 06:54:10 AM
i did it but still nothing. i also updated my forum on 2.0.2 and i still have the same problem.
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 06:56:18 AM
If you switch to the SMF default theme, does it still screw?
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:10:56 AM
yes the same thing
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 07:17:42 AM
Let's assume that this DID work, at some stage...

Before it started going weird, did you do anything?

Like, add a mod, or edit anything?
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:24:13 AM
no i have only 2 mods like i said before. the only changes i did was the banner and the row of home forum profile admin etc buttons
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 07:30:01 AM
Ah... I guess that might do it, if doing that screwed the template, somehow.

One way to find out...

Try renaming the file(s) that you edited and replace them with virgin versions and see if it sorts it.
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:34:47 AM
i forgot to mention some width and height modifications on my theme. nothing else
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:40:47 AM
still nothing.... :(
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 07:45:02 AM
"Something in the template's gone sour" says that some edit, somewhere, has gone screwy.

With PHP, that can simply mean that there's a bloody comma in the wrong place, or something THAT trivial, sadly.

You could always replace all of your files with virgin copies.

Obviously, you'll lose your edits and things, doing that, though. :(

Maybe try replacing everything in "Sources", first, to see how that goes?

Read my sig, first, though, so you're covered. ;)
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:47:08 AM
if i backup my database can i delete all files and reupload it? if yes can i restore the database without losing any post of members?
Title: Re: Huge problem with registration
Post by: Illori on December 23, 2011, 07:48:36 AM
you dont need to do anything to the database, just the files.
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:52:09 AM
ok, but if i delete all files and reupload i won't lose anything right?
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 07:53:37 AM
All members/posts will be as-was. :)

Mods'll get trashed and will need to be reinstalled. :(
Title: Re: Huge problem with registration
Post by: Illori on December 23, 2011, 07:54:01 AM
nothing but your mods that are installed but do NOT delete any file not included in the large upgrade package.
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 07:55:42 AM
DON'T OVERWRITE SETTINGS.PHP!!

Plus, you don't want to upload install.php (Or upgrade.php if you use the large upgrade).
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 07:57:31 AM
i replaced the folder sources but still nothing. i'm going to replace all files right now. i must donwload the big upgrade from the download section and just the script? or manually delete every file via ftp and then upload from scratch? or replace every file without delete the previous ones?
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 07:58:41 AM
Quote from: zarzonis on December 23, 2011, 07:57:31 AMreplace every file without delete the previous ones?

:) Read my last post CAREFULLY.
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 08:01:44 AM
ok thank you. i used the large uprgade and still replacing. should i upload the sql upgrades from the large upgrade?
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 08:04:25 AM
I wouldn't bother. :)
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 08:09:50 AM
now every file that has been replaced has a "~". now i have every file twice. for example i have subs.php and subs.php~ the second is the older one? is there any problem with that?
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 08:11:52 AM
You can ignore those.

They're backups made by some mods, when they install.
Title: Re: Huge problem with registration
Post by: zarzonis on December 23, 2011, 08:23:35 AM
ITS WORKING!!!!!!!!!!!!!!!!!! finally my forum is working properly again. thank so much guys for your interest. i'll mark this topic as solved.
Title: Re: Huge problem with registration
Post by: kat on December 23, 2011, 08:26:14 AM
WooHoo!

Anytime, matey! :)