FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 2.3.8: Error when posting or PMing
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.3.8: Error when posting or PMing [message #10816] Tue, 10 June 2003 20:35 Go to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
Version 2.3.8

When creating or replying to posts and PMs this message displays at the top of the page:

Quote:

Warning: Compilation failed: nothing to repeat at offset 0 in /usr/home/web/users/a0012546/protected/forum-data/include/login.inc on line 92


It doesn't stop the posts from working.

Do you know why I get that and how to stop it?



Re: 2.3.8: Error when posting or PMing [message #10817 is a reply to message #10816] Tue, 10 June 2003 20:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Just say display_errors to off in your php settings.
This is not a harmful warning and it is fixed in 2.5 series.


FUDforum Core Developer
Re: 2.3.8: Error when posting or PMing [message #10946 is a reply to message #10817] Fri, 13 June 2003 23:27 Go to previous messageGo to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
Added that command to the php.ini file and all worked fine.

Now I moved to another webhost and they don't allow the .ini file (security reasons, they say), so, to get around this problem I added this to index.php:

error_reporting(0);

Seems to have done the trick. See any problem with this solution?
Re: 2.3.8: Error when posting or PMing [message #10948 is a reply to message #10946] Sat, 14 June 2003 00:32 Go to previous messageGo to next message
tgaastra is currently offline  tgaastra   United States
Messages: 90
Registered: June 2002
Karma: 0
Member
You probably want to mention to your webhost that leaving a default of error reporting ON is/can be something of a security problem in itself for its customers. Smile
Re: 2.3.8: Error when posting or PMing [message #10950 is a reply to message #10948] Sat, 14 June 2003 01:18 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is nothing with leaving error reporting on, however on production sites, it is a good idea to set display_errors to off and enable error_log. That way you have a record (for debugging) of any & all php errors and users do not see freaky error messages that scare them.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PM's all come in as "No message body"
Next Topic: Incorrect user tally on main page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 05 11:20:33 GMT 2024

Total time taken to generate the page: 0.02958 seconds