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

Home » FUDforum » FUDforum Installation Issues » fudforum error on windows 2000
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon4.gif  fudforum error on windows 2000 [message #21920] Tue, 28 December 2004 19:33 Go to next message
blackhawk is currently offline  blackhawk   United States
Messages: 2
Registered: December 2004
Karma: 0
Junior Member
I installed fudforum on my windows 2000, I found some problems.

When I want to add a Category CAT1, I saw the following warnings (in red) .
then I added forum FORUM1 under CAT1, I saw the same warnings

When I went to the index.php, surprisingly FORUM1 is under Test Category instead of CAT1

Warning: rename(D:/Program Files/Apache Group/Apache2/FUDforum/cache/cat_cache.inc.tmp,D:/Program Files/Apache Group/Apache2/FUDforum/cache/cat_cache.inc): File exists in D:\Program Files\Apache Group\Apache2\FUDforum\include\cat.inc on line 167

Warning: rename(D:/Program Files/Apache Group/Apache2/FUDforum/cache/idx.inc.tmp,D:/Program Files/Apache Group/Apache2/FUDforum/cache/idx.inc): File exists in D:\Program Files\Apache Group\Apache2\FUDforum\include\cat.inc on line 191

[Updated on: Tue, 28 December 2004 19:35]

Report message to a moderator

Re: fudforum error on windows 2000 [message #21948 is a reply to message #21920] Tue, 04 January 2005 20:12 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
What are the permissions of that file?

FUDforum Core Developer
Re: fudforum error on windows 2000 [message #21950 is a reply to message #21948] Tue, 04 January 2005 20:42 Go to previous messageGo to next message
blackhawk is currently offline  blackhawk   United States
Messages: 2
Registered: December 2004
Karma: 0
Junior Member
actually, I know what is going on now.

This is the limitation of php on window 2000 or XP.

if the file that is renamed to exist, php will not overwrite that. This happens only on windows php. not on unix.

the workaround is adding one line of code to delete that file, then do the renaming.
Re: fudforum error on windows 2000 [message #21951 is a reply to message #21950] Tue, 04 January 2005 20:54 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
The problem with deleting the file 1st is that this process destroyes the atomicity of the rename(), which is why this function is being used in the first place.

FUDforum Core Developer
Re: fudforum error on windows 2000 [message #21957 is a reply to message #21951] Tue, 04 January 2005 21:47 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
Patch for the problem has been applied.

FUDforum Core Developer
Re: fudforum error on windows 2000 [message #21961 is a reply to message #21957] Wed, 05 January 2005 10:11 Go to previous messageGo to next message
eHannes is currently offline  eHannes   Netherlands
Messages: 2
Registered: January 2005
Location: Amsterdam
Karma: 0
Junior Member
Hi,

Does this mean that the latest version (2.6.9) does not have this problem on windows 200 anymore?

Hans
Re: fudforum error on windows 2000 [message #21965 is a reply to message #21961] Wed, 05 January 2005 14:52 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
It means that the next version will have this fixed.

FUDforum Core Developer
Re: fudforum error on windows 2000 [message #22345 is a reply to message #21951] Fri, 28 January 2005 19:44 Go to previous messageGo to next message
sberry is currently offline  sberry   United States
Messages: 1
Registered: January 2005
Karma: 0
Junior Member
So what was the patch that was applied? I'm sure there are other users out here who are reading this and telling us that there was one without detailing exactly what it was doesn't help.

So far, out of the 50 odd forum packages I have looked at, this one has the most promise. I would like to use it, but really can't imagine the gruelling task of having to delete these two files EVERY time I make a new forum.
Re: fudforum error on windows 2000 [message #22346 is a reply to message #22345] Fri, 28 January 2005 19:48 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is the url to the patch: http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3262

If you upgrade to 2.6.10RC1 you'll get the patched version.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Can't Login or Register Users
Next Topic: can not display install.php
Goto Forum:
  

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

Current Time: Sun Nov 24 06:07:34 GMT 2024

Total time taken to generate the page: 0.02363 seconds