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

Home » FUDforum Development » FUDforum 3.0+ » Bugs
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Bugs [message #1582] Fri, 19 April 2002 09:17 Go to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
I think I have found a bug in the admin control panel code. When I try to add or edit forums in the category management I get this error: "Parse error: parse error in /var/www/html/forum2/adm/admforum.php on line 134"

[Updated on: Fri, 19 April 2002 09:18]

Report message to a moderator

Re: Bugs [message #1596 is a reply to message #1582] Fri, 19 April 2002 15:28 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
Fixed in latest CVS.

FUDforum Core Developer
Re: Bugs [message #1650 is a reply to message #1582] Sat, 20 April 2002 19:06 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
I installed the CVS version as of 10:08 PM local time and got this error right after logging in the first time:

Fatal error: Call to undefined function: fmt() in /var/www/html/forum2_data/include/static/widgets.inc on line 44


Update: forgot to say it was in the Global Configuration, in the admin panel, right where the Forum Enabled box should appear.

[Updated on: Sat, 20 April 2002 19:07]

Report message to a moderator

Re: Bugs [message #1651 is a reply to message #1650] Sat, 20 April 2002 19:09 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
local time?

Up until about 1-1.5 hours ago the compiler was broken. So compiled files were unreliable at that.

I recommend getting the entire tree and doing a re-install from scratch.


FUDforum Core Developer
Re: Bugs [message #1652 is a reply to message #1651] Sat, 20 April 2002 19:12 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
prottoss wrote on Sat, 20 April 2002 10:09 PM

local time?



Should have been more specific. What I mean by local time is EEST, which equals GMT+2.

Quote:


Up until about 1-1.5 hours ago the compiler was broken. So compiled files were unreliable at that.

I recommend getting the entire tree and doing a re-install from scratch.

I have installed a rather new version. When writing this it was 15 minutes since I pulled the code by CVS.
Re: Bugs [message #1653 is a reply to message #1652] Sat, 20 April 2002 19:16 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 cannot replicate this problem so I'm going to need your help on this one.

If possible please answer the following questions:

1) Does file "/var/www/html/forum2_data/include/rev_fmt.inc" exist?
2) If the file exists is it empty and if not what are its permissions?
3) Does "/var/www/html/forum2_data/include/static/widgets.inc" file contain the following code: "fud_use('rev_fmt.inc');" ?

Also, which version of PHP are you running?


FUDforum Core Developer
Re: Bugs [message #1654 is a reply to message #1653] Sat, 20 April 2002 19:32 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
prottoss wrote on Sat, 20 April 2002 10:16 PM


If possible please answer the following questions:

1) Does file "/var/www/html/forum2_data/include/rev_fmt.inc" exist?


Yes, it does.
Quote:


2) If the file exists is it empty and if not what are its permissions?


It is empty as in 0 bytes. Its permissions are 666.
Quote:


3) Does "/var/www/html/forum2_data/include/static/widgets.inc" file contain the following code: "fud_use('rev_fmt.inc');" ?


Yep.
Quote:


Also, which version of PHP are you running?

Running 4.0.6.
Re: Bugs [message #1657 is a reply to message #1654] Sat, 20 April 2002 20:21 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 is that the file "/var/www/html/forum2_data/include/rev_fmt.inc" is empty.

Did you run of drive space while compiling?

If no, check the size of the rev_fmt.inc.t file and verify the permissions on that file.


FUDforum Core Developer
Re: Bugs [message #1659 is a reply to message #1657] Sat, 20 April 2002 20:28 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
prottoss wrote on Sat, 20 April 2002 11:21 PM


Did you run of drive space while compiling?

If no, check the size of the rev_fmt.inc.t file and verify the permissions on that file.


No, there's plenty of space left. The file rev_fmt.inc.t is 1069 bytes large and has permissions 666. It is owned by user apache.
Re: Bugs [message #1660 is a reply to message #1659] Sat, 20 April 2002 20:29 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 try recompiling the forum and see if that'll fix the problem?

FUDforum Core Developer
Re: Bugs [message #1661 is a reply to message #1660] Sat, 20 April 2002 20:31 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
prottoss wrote on Sat, 20 April 2002 11:29 PM

Can you try recompiling the forum and see if that'll fix the problem?


I recompiled, but that didn't fix the problem. Same error, same place.
Re: Bugs [message #1662 is a reply to message #1661] Sat, 20 April 2002 20:33 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
djupsjob wrote on Sat, 20 April 2002 4:31 PM

prottoss wrote on Sat, 20 April 2002 11:29 PM

Can you try recompiling the forum and see if that'll fix the problem?


I recompiled, but that didn't fix the problem. Same error, same place.


Okie I see...

1 last question Smile hopefuly after this I can fix this.

Can you tell me the names of ALL the files inside the
"/var/www/html/forum2_data/include/" directory that are 0 bytes in size.

Thanks


FUDforum Core Developer
Re: Bugs [message #1663 is a reply to message #1662] Sat, 20 April 2002 20:36 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
prottoss wrote on Sat, 20 April 2002 11:33 PM


Can you tell me the names of ALL the files inside the
"/var/www/html/forum2_data/include/" directory that are 0 bytes in size.


Allright, here goes:

attach.inc
rev_fmt.inc
ssu.inc

That's it.
Re: Bugs [message #1664 is a reply to message #1663] Sat, 20 April 2002 20:41 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'd say there is a bug with the compiler...

On the 2 machines I've compiled the forum on 2 files

ipoll.inc & isearch.inc are blank, while they should have code in them...

I guess the compiler still needs a little work Razz


FUDforum Core Developer
Re: Bugs [message #1665 is a reply to message #1664] Sat, 20 April 2002 20:45 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
OK. I'll wait for the new compiler before doing more work on forum then.

I have a couple of questions.

Would you rather see that I create a new tread for every bug I discover, or that I post the all under this thread?

Would you be happier if I sent you patches directly whenever possible, instead of just pointing out what needs to be fixed? I guess I can't commit files directly to CVS, but even patch files might be handier than simply comments.

If you'd like patch files, could you please tell me how to create them so that they fit in your system?

Re: Bugs [message #1666 is a reply to message #1665] Sat, 20 April 2002 21:00 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Okie I found the compiler bug, the new compiler is in the CVS, check out and re-compile the forum, that should fix the 0 byte file problem.


A new thread for each bug would be rather convenient, although simular bugs can be lumped together into a single thread.

Well if you find a bug and know how to solve send me a patch (standard diff -ur ) or the patched file would be fine.

Of course if you see a bug report it before you try fixing it, it may already be fixed but not yet commited, etc...


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Suggestions for fud2
Next Topic: Missing default option for "Show avatars"
Goto Forum:
  

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

Current Time: Sat Jul 27 00:56:16 GMT 2024

Total time taken to generate the page: 0.02399 seconds