UBB.Dev
Posted By: Bob Ferguson Profile Error - 03/21/2003 10:52 PM
When someone attempts to View/Edit their Profile, they're getting the following error:

Quote
quote:
An error has occurred:

(RequireCode) CGIPath/ubb_profile.cgi: syntax error at CGIPath/ubb_profile.cgi line 980, near ") {"
syntax error at CGIPath/ubb_profile.cgi line 1002, near "} else"
Can anyone assist me with this problem? help
Posted By: Burak Re: Profile Error - 03/21/2003 11:06 PM
have you installed any mods or changed the code yourself?

If you cant solve the problem, you can try to upload un-modified version of this file (and related files if this happened after adding a mod)
Posted By: Charles Capps Re: Profile Error - 03/21/2003 11:06 PM
Determine what you did to break it, then undo it. laugh

Okay, that's a little oversimplifying it... however, it's impossible for us to figure out what the exact syntax error is, so the real solution really is to undo whatever you last did to the file...
Posted By: Bob Ferguson Re: Profile Error - 03/22/2003 7:09 AM
I looked at lines 980 & 1002 in the ubb_profile.cgi file, and it appears to be the quickreply that is in conflict with it (I'm running UBB.Classic v6.4.0):

Line 980 = || ($quickreply ne $user_profile[61]) {
Line 1002 = } else {

Any suggestions? help
Posted By: PrimeTime Re: Profile Error - 03/22/2003 7:56 AM
Re-hack ubb_profile.cgi file for the Quick Reply. smile
Posted By: Gizmo Re: Profile Error - 03/22/2003 10:25 AM
I, didn't, do it! :-x...
© UBB.Developers