Forum Search:
FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.
Calendar
Search
Help
Members
Control Panel
Logout [ CommonCrawl [Bot] ]
Home
Post Form
Logged in user:
CommonCrawl [Bot] [
logout
]
Forum:
Plugins and Code Hacks
Title:
Poll:
[CREATE POLL]
Message Icon:
No Icon
Smiley Shortcuts:
[
list all smilies
]
Formatting Tools:
Size
1
2
3
4
5
6
7
Color
Sky Blue
Royal Blue
Blue
Dark Blue
Orange
Orange Red
Crimson
Red
Firebrick
Dark Red
Green
Lime Green
Sea Green
Deep Pink
Tomato
Coral
Purple
Indigo
Burly Wood
Sandy Brown
Sienna
Chocolate
Teal
Silver
Font
Arial
Times
Courier
Century
Body:
Forum Options:
HTML
code is
off
BBcode
is
on
Images
are
on
Smilies
are
on
Editing Time Limit
: Unlimited
[quote title=BugLaden wrote on Wed, 27 November 2019 17:21]Been hitting the FUDAPI pretty hard, integrating it into my site. Have run across these two bugs: 1) When fud_new_topic() or fud_new_reply() is called a [code]Notice (8): Undefined index: usr [ROOT/FUDforum/include/theme/default/isearch.inc, line 18][/code] is thrown. This is because $GLOBALS['usr']->lang is not set because it is coming from out of the environment. I changed the line to: [code]$lang = isset($GLOBALS['usr']->lang) ? $GLOBALS['usr']->lang : '';[/code] 2) When fud_new_topic() or fud_new_reply() is called a [code]Warning (512): Unable to emit headers. Headers sent in file=/home2/bugladen/cake/tobacconerd/FUDforum/include/theme/default/post_proc.inc line=730 [CORE/src/Http/ResponseEmitter.php, line 51][/code] is thrown. This is because there is an extra CRLF at the bottom of the file. I removed that extra linefeed. Diff file attached. This is against 3.1 FYI. [/quote]
File Attachments:
Allowed File Extensions:
jpg jpeg png gif txt doc gz bz2 inc php zip diff
Maximum File Size:
1024KB
Maximum Files Per Message:
5
Options:
Post Notification
Notify me when someone replies to this message.
Include Signature
Include your profile signature.
Disable smilies in this message
Topic View
Re: FIX: FUDAPI niggles
Mon, 16 December 2019 09:14
naudefj
Karma:
Great patch! Thank you so much.
PS: I cannot apply it right away, but will do so later.
Post by BugLaden is ignored
Current Time:
Sat Dec 07 07:34:49 EST 2024
Total time taken to generate the page: 0.04769 seconds