Page 1 of 1

Updating Profile = Error

Posted: Tue Aug 04, 2009 10:41 pm
by JeRicHoOL
phpBB Version: 3.0.5
Mods:
AJAX Chat 2.0.0 Beta 8
Anti-Spam ACP 1.0.1
ReIMG Image Resizer 1.0.0
Alightner's Calendar 1.0.0

Whenever you go to your profile to update it or even if you just "Submit" the default information it gives you the following error.
The submitted form was invalid. Try submitting again.
Does anyone know how to fix this problem?

Re: Updating Profile = Error

Posted: Wed Aug 05, 2009 7:45 am
by JimA
Please fill out the Support Request Template Generator and post it back here to enable us to assist you better.

Re: Updating Profile = Error

Posted: Sun Aug 16, 2009 2:06 am
by JeRicHoOL
Support Request Template
What version of phpBB are you using? phpBB 3.0.5
What is your board's URL? http://mma-caf.com/index.php
Who do you host your board with? GoDaddy.com
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Fresh Install
Do you have any MODs installed? Yes
What MODs do you have installed? AJAX Chat 2.0.0 Beta 8
Anti-Spam ACP 1.0.1
ReIMG Image Resizer 1.0.0
Alightner's Calendar 1.0.0
When did your problem begin? After I installed the Calender MOD. Though, the installation went perfectly, no errors or anything.
Please describe your problem. Whenever a user wants to update his profile information it gives the following error.

"The submitted form was invalid. Try submitting again."
What styles do you currently have installed? Bl@ck
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 4
What is your level of experience? New to PHP but not phpBB
Generated by SRT Generator ($Rev: 3036 $)

Re: Updating Profile = Error

Posted: Sun Aug 16, 2009 7:46 am
by JimA
Do you have this error too when using the default prosilver style?
As this error sometimes comes up when styles are out of date.

Re: Updating Profile = Error

Posted: Sun Aug 16, 2009 10:15 am
by JeRicHoOL
I just checked it with proSilver and subSilver and the same error occured. :(

Re: Updating Profile = Error

Posted: Sun Aug 16, 2009 10:19 am
by JimA
Okay, then I think it is an issue with the Calendar MOD.
If it started after you installed the MOD, and it's not a problem with your style, it's the MOD.

You need to ask support for this where you got the MOD, or uninstall it.

Re: Updating Profile = Error

Posted: Sun Aug 16, 2009 8:34 pm
by JeRicHoOL
The problem is fixed. I did a wrong file edit for the Anti-Spam modification.

Wrong:

Code: Select all

if (!check_form_key('ucp_profile_info'))

// START Anti-Spam ACP
					antispam::ucp_profile($data, $error);
					// END Anti-Spam ACP
					{
						$error[] = 'FORM_INVALID';
					}

Right:

Code: Select all

if (!check_form_key('ucp_profile_info'))
					{
						$error[] = 'FORM_INVALID';
					}
// START Anti-Spam ACP
					antispam::ucp_profile($data, $error);
					// END Anti-Spam ACP