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

Home » FUDforum Development » Bug Reports » very terrible bug
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: very terrible bug [message #5995 is a reply to message #5993] Mon, 30 September 2002 18:35 Go to previous messageGo to previous message
artur4 is currently offline  artur4   United States
Messages: 20
Registered: September 2002
Karma:
Junior Member
The problem also happens when I'm changing footer.tmpl file.
Both changes I did using the web interface.

I think there're some Solaris restrictions with long strings. For example, I found out, that solaris "fgets" function is restricted with 256 bytes. I tested it with the following code:

#include <stdio.h>
int main(int argc,char **argv) {
char line[8192];
while((fgets(line,8192,stdin)) != EOF) {
printf("The line is '%s'\n",line);
}
}

Another symtom, I wasn't able to edit the above files with vi editor on Solaris, but was able on linux... There're restrictions for solaris "sed" and "awk" utilities. I'm quite sure there're some PHP functions, that also are restricted.
This actually is the reason I asked you for avoiding the long strings.
Alternatively, is it possible to use apache "include" function. You should add something like :
<!--#include file="header.tmpl"-->
in html document and activate "Includes" options for the directory in apache configuration file. In this case there's no need to edit all the files.

Thanks.
[Message index]
 
Read Message icon8.gif
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error when i try create new thread
Next Topic: import forum data problem
Goto Forum:
  

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

Current Time: Sat Nov 23 04:20:21 GMT 2024

Total time taken to generate the page: 0.08617 seconds