Previous Thread
Next Thread
Print Thread
Rate Thread
#181192 03/21/2003 3:52 PM
Joined: Jan 2003
Posts: 87
Member
Member
Offline
Joined: Jan 2003
Posts: 87
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

Sponsored Links
#181193 03/21/2003 4:06 PM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
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)

#181194 03/21/2003 4:06 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
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...


UBB.classic: Love it or hate it, it was mine.
#181195 03/22/2003 12:09 AM
Joined: Jan 2003
Posts: 87
Member
Member
Offline
Joined: Jan 2003
Posts: 87
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

#181196 03/22/2003 12:56 AM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Re-hack ubb_profile.cgi file for the Quick Reply. smile

Sponsored Links
#181197 03/22/2003 3:25 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I, didn't, do it! :-x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)