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

Home » FUDforum » How To » Add topic and Preview Topic error.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Add topic and Preview Topic error. [message #7663] Mon, 09 December 2002 13:10 Go to next message
sorha2   Sweden
Messages: 23
Registered: December 2002
Karma: 0
Junior Member
I have installed FUDforum 2.3.6RC3 and I am running it on a Red Hat 7.1 box, using Mysql 3.23.43 and PHP4.
I have added both categories and forums, but when I try to add a new topic, I get an error, saying
"ERROR: System Error
System error has occurred, ..."
The admin error log is empty.
I get the same message when I try to preview the new topic.
Any ideas?

[Edit]
I just updated to MySQL 3.23.53 and the problem persists. I can't seem to find any error logs anywhere in my system. The
/errors/ dir is empty.

[Updated on: Mon, 09 December 2002 13:53]

Report message to a moderator

Re: Add topic and Preview Topic error. [message #7668 is a reply to message #7663] Mon, 09 December 2002 15:44 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
Can you show the complete error message?

FUDforum Core Developer
Re: Add topic and Preview Topic error. [message #7670 is a reply to message #7663] Mon, 09 December 2002 16:04 Go to previous messageGo to next message
sorha2   Sweden
Messages: 23
Registered: December 2002
Karma: 0
Junior Member
I don't know where to look for error logs... I get redirected to the error page, and the internal error log is empty.
I get no message explaining what the problem could be, but because I can add users, categories and forums I think the error is connected to parsing of the new message.
None of the message functions (preview, spell-check or submit) works for me.
Re: Add topic and Preview Topic error. [message #7671 is a reply to message #7670] Mon, 09 December 2002 16:48 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
There is an admin control panel called 'Error Log Viewer', I'm sure you can guess what it does.

FUDforum Core Developer
Re: Add topic and Preview Topic error. [message #7680 is a reply to message #7671] Tue, 10 December 2002 09:29 Go to previous messageGo to next message
sorha2   Sweden
Messages: 23
Registered: December 2002
Karma: 0
Junior Member
Smile
I have found that one, yes... I also looked in the /errors/ lib.
Nothing there.
I guess the error redirection hides the "real" error message from the user, but I would like to turn that off, to get sort of a stack trace.

I get the same fault behaviour when I try to preview or spell-check a message, which leads me to believe that these functions have something in common, and that my problem lies there. I don´t expect any of these functions to make a database connection, and the fact that I am able to create forums and users tells me that the db connections and rights are ok.

[Updated on: Tue, 10 December 2002 09:34]

Report message to a moderator

Re: Add topic and Preview Topic error. [message #7683 is a reply to message #7680] Tue, 10 December 2002 17:22 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
I think I know the cause for the problem.

I believe it is due to the file_uploads being off and a bug in PHP which causes the POST data to be lost when file_uploads is off.
This may also happen if file_uploads are ON but PHP cannot write to the temporary directory where file uploads are to be stored in.

The error you see is occuring because essential post data is missing.


FUDforum Core Developer
Re: Add topic and Preview Topic error. [message #7690 is a reply to message #7683] Wed, 11 December 2002 09:28 Go to previous messageGo to next message
sorha2   Sweden
Messages: 23
Registered: December 2002
Karma: 0
Junior Member
OK, so it is a PHP configuration problem then? Any pointers on how to fix this?
Thanks for the help and for a nice product.
[Update]
I turned on file_uploads and now it works like a charm Smile
Thanks!

[Updated on: Wed, 11 December 2002 09:47]

Report message to a moderator

Re: Add topic and Preview Topic error. [message #7697 is a reply to message #7690] Wed, 11 December 2002 17:21 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It is actually a bug in older versions of PHP, later versions are no longer vunreable to this problem.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PM folder question
Next Topic: Cookie login?
Goto Forum:
  

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

Current Time: Fri Nov 22 14:27:26 GMT 2024

Total time taken to generate the page: 0.02732 seconds