Updating Profile = Error

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Updating Profile = Error

Post 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?

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7748
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Updating Profile = Error

Post by JimA »

Please fill out the Support Request Template Generator and post it back here to enable us to assist you better.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Updating Profile = Error

Post 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 $)

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7748
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Updating Profile = Error

Post 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.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Updating Profile = Error

Post by JeRicHoOL »

I just checked it with proSilver and subSilver and the same error occured. :(

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7748
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Updating Profile = Error

Post 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.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Updating Profile = Error

Post 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

Locked

Return to “[3.0.x] Support Forum”