|
ivytony wrote:
[quote]I got big problem after upgrading to 1.0.4.
When I click the 'forums' link on the front end, it says:
Parse error: syntax error, unexpected '}' in public_html/components/com_fireboard/fireboard.php on line 922
When I go to the backend, it is huge mess:
[code:1]; // no negatives! if($since // finding the biggest chunk (if the chunk fits, break) if (($count = floor($since / $seconds)) != 0) { break; } } // set output var $output = ($count == 1) ? '1 '.$name : $count.' '.$names ; // step two: the second chunk if ($i + 1 FINE('_MESSAGE', 'Message'); DEFINE('_NO_SMILIE', 'no'); DEFINE('_FORUM_UNAUTHORIZIED', 'This forum is open only to registered and logged in users.'); DEFINE('_FORUM_UNAUTHORIZIED2', 'If you are already registered, please log in first.'); DEFINE('_MESSAGE_ADMINISTRATION', 'Moderation'); DEFINE('_MOD_APPROVE', 'Approve'); DEFINE('_MOD_DELETE', 'Delete'); //NEW in RC1 DEFINE('_SHOW_LAST', 'Show most recent message'); DEFINE('_POST_WROTE', 'wrote'); DEFINE('_COM_A_EMAIL', 'Board Email Address'); DEFINE('_COM_A_EMAIL_DESC', 'This is the Boards email address. Make this a valid email address'); DEFINE('_COM_A_WRAP', 'Wrap Words Longer Than'); DEFINE('_COM_A_WRAP_DESC', 'Enter the maximum number of characters a single word may have. This feature allows you to tune the output of FireBoard Posts to your template.
70 characters is probably the maximum for fixed width templates but you might need to experiment a bit.
URLs, no matter how long, are not affected by the wordwrap'); DEFINE('_COM_A_SIGNATURE', 'Max. Signature Length'); DEFINE('_COM_A_SIGNATURE_DESC', 'Maximum number of characters allowed for the user signature.'); DEFINE('_SHOWCAT_NOPENDING', 'No pending message(s)'); DEFINE('_COM_A_BOARD_OFSET', 'Board Time Offset'); DEFINE('_COM_A_BOARD_OFSET_DESC', 'Some boards are located on servers in a different timezone than the users are. Set the Time Offset FireBoard must use in the post time in hours. Positive and negative numbers can be used'); //New in RC2 DEFINE('_COM_A_BASICS', 'Basics'); DEFINE('_COM_A_FRONTEND', 'Frontend'); DEFINE('_COM_A_SECURITY', 'Security'); DEFINE('_COM_A_AVATARS', 'Avatars'); DEFINE('_COM_A_INTEGRATION', 'Integration'); DEFINE('_COM_A_PMS', 'Enable private messaging'); DEFINE('_COM_A_PMS_DESC', 'Select the appropriate private messaging component if you have installed any. Selecting Clexus PM will also enable ClexusPM user profile related options (like ICQ, AIM, Yahoo, MSN and profile links if supported by the FireBoard template used'); DEFINE('_VIEW_PMS', 'Click here to send a Private Message to this user'); //new in RC3 DEFINE('_POST_RE', 'Re:'); DEFINE('_BBCODE_BOLD', 'Bold text: [b]text[/b] '); DEFINE('_BBCODE_ITALIC', 'Italic text: [i]text[/i]'); DEFINE('_BBCODE_UNDERL', 'Underline text: [u]text[/u]'); DEFINE('_BBCODE_QUOTE', 'Quote text: [quote]text[/quote]'); DEFINE('_BBCODE_CODE', 'Code display: [code:1]code[/code:1]'); DEFINE('_BBCODE_ULIST', 'Unordered List: [ul] [li]text[/li] [/ul] - Hint: a list must contain List Items'); DEFINE('_BBCODE_OLIST', 'Ordered List: [ol] [li]text[/li] [/ol] - Hint: a list must contain List Items'); DEFINE('_BBCODE_IMAGE', 'Image: [img size=(01-499)]http://www.google.com/images/web_logo_left.gif[/img]'); DEFINE('_BBCODE_LINK', 'Link: [url=http://www.zzz.com/]This is a link[/url]'); DEFINE('_BBCODE_CLOSA', 'Close all tags'); DEFINE('_BBCODE_CLOSE', 'Close all open bbCode tags'); DEFINE('_BBCODE_COLOR', 'Color: [color=#FF6600]text[/color]'); DEFINE('_BBCODE_SIZE', 'Size: [size=1]text size[/size] - Hint: sizes range from 1 to 5'); DEFINE('_BBCODE_LITEM', 'List Item: [li] list item [/li]'); DEFINE('_BBCODE_HINT', 'bbCode Help - Hint: bbCode can be used on selected text!'); DEFINE('_COM_A_TAWIDTH', 'Textarea Width'); DEFINE('_COM_A_TAWIDTH_DESC', 'Adjust the width of the reply/post text entry area to match your template.
The Topic Emoticon Toolbar will be wrapped accross two lines if width [/code:1]
What can I do??? downgrade to 1.0.3??? help pls!![/quote]
First of, this is NOT an FB 1.0.4 problem. Looks like you have an incorrect ftp setup, that messed up the files. I assume you uploaded the files from Windows. That looks like a CR/LF issue.
Check your ftp client and how it is setup. ASCII/BIN
|