Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Blank page if too many characters in post (1 viewing) (1) Guest
TOPIC: Blank page if too many characters in post
#56126
Blank page if too many characters in post 4 Months, 3 Weeks ago  
I just discovered a bug in the forums posting.
If there are too many characters in a single post, the page displayed will just be blank.

I tested the maximum number of characters twice using the character "!" and the word "wassaaap! " repeated up to 3281 characters. Anything beyond that will cause a blank page.

Testing it again using return characters, I was only able to fill up to 820 return characters. It seems as though a return is treated as 4 times the length of a normal character as filling out 1 more normal character worked, whereas 2 more characters caused a blank page again.

Is this a known bug?
auron0 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#56128
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
Or might this be a PHP/MySQL problem?
auron0 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/14 21:52 By auron0.
 
 
#56131
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
What version?

Might be an issue with memory and PHP as some of the functions use regex. I just recently replaced a very expensive UTF8 check with a lighter code variant.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#56164
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
I'm running on the latest 1.0.5NB10 SVN release running on Joomla 1.5.6.
auron0 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#56188
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
auron0 wrote:
I'm running on the latest 1.0.5NB10 SVN release running on Joomla 1.5.6.

Would you mind trying here in the test section?
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#56197
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
It seems to work fine here on this forums.
Could it be a PHP settings issue?
auron0 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/15 10:57 By auron0.
 
 
#56198
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
Maybe you can wait for the next build (imminent). It could be that the regex I removed to detect UTF8 is the cause for this...
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#56199
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
FYI, the bug occurs when I click on the preview button as well.
I've tested in these forums again with preview and it gives the following error before outputting the actual message:

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/bestofjo/public_html/components/com_fireboard/template/default/smile.class.php on line 42

Warning: Variable passed to each() is not an array or object in /home/bestofjo/public_html/components/com_fireboard/template/default/smile.class.php on line 44


Not sure if that's related.

I'll give the new build a test run when it's out. Thanks!
auron0 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/15 11:09 By auron0.
 
 
#56200
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
auron0 wrote:
FYI, the bug occurs when I click on the preview button as well.
I've tested in these forums again with preview and it gives the following error before outputting the actual message:

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/bestofjo/public_html/components/com_fireboard/template/default/smile.class.php on line 42

Warning: Variable passed to each() is not an array or object in /home/bestofjo/public_html/components/com_fireboard/template/default/smile.class.php on line 44


Not sure if that's related.

I'll give the new build a test run when it's out. Thanks!


Too funny: I just found that bug while fixing something else. The preview bug only appears on installation with clexuspm (aka future firemessage). Its fixed and will be part of the RC1 build...
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#56201
Re:Blank page if too many characters in post 4 Months, 3 Weeks ago  
Excellent heh.

Thanks fxstein
Any idea when we can expect the next release?
auron0 (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top