Template and Administration problems [message #12994] |
Thu, 18 September 2003 20:23 |
hiegl
Messages: 11 Registered: June 2003
Karma: 0
|
Junior Member |
|
|
When modifying the Template via the Template Editor FUD sometimes shows no reaction on my mouseclicks. The browser stopps activity and nothing happens. When trying to open single tmpls by clicking the [+]I get no reaction or only a reaction after 2 or up to 6 mousclicks. After changing something like table width in the template and clicking "save changes" often nothing happens and unfortunately once I had a browser activity and afterwards a complete deletion of the content of the Template-File. It would be great to know if this is a MySql-Problem or a PHP-Problem or what else. Here is my System Info:
PHP built On: Linux www1 2.4.8-ac9 #1 SMP Wed Aug 22 15:34:10 MEST 2001 i686 unknown
Database Version: 3.23.55-Max-log
PHP Version: 4.2.2
Web Server: Apache/1.3.26 (Unix) PHP/4.2.2 mod_perl/1.27 mod_auth_pam/1.0a mod_ssl/2.8.10 OpenSSL/0.9.6e
WebServer to PHP interface: apache
Forum Version: 2.5.3RC1
Relavent PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Disabled Functions: none
PSpell Support: No
This behaviour seems to extend now to the whole admin-area and sometimes to the posting process when clicking preview.
Would be great to have some advice how to solve this problem.
Addition: Permissions are set via Windows on a Virtual Host Area.
Thanks in Advance
B. Hiegl
|
|
|
Re: Template and Administration problems [message #12995 is a reply to message #12994] |
Thu, 18 September 2003 20:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
When you click save changes, the forum saves the template the rebuilds the templates. This process can take up to several seconds (depending on the speed & load of your server). This would explain the lack of responsivness by your browser. However, most browsers do indicated in someway that the page is loading.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
Re: Template and Administration problems [message #13013 is a reply to message #13005] |
Thu, 18 September 2003 23:16 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Most unusual, first time I hear about such a problem...
There could be serveral reasons for this:
1) Your webhost has set a maximum number of apache children that can exist at any one time. Which means that if that maximum is reached all other users will need to wait for existing children to free up.
2) Your PHP could be crashing due to buggy version, badly compiled PHP and host of other problems with PHP installation.
3) Your webhost has a VERY stringent cpu limitations on inidvidual apache processes, and when a complex task is request it is sometimes 'killed' by the server prior to having a chance to finish.
FUDforum Core Developer
|
|
|
|
|
Re: Template and Administration problems [message #13567 is a reply to message #13566] |
Fri, 17 October 2003 20:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
By default FUDforum puts .htaccess files that sets magic_quotes_gpc to OFF since it is not needed and only leads to performance loss. However, on some systems where it is not possible it should still work fine.
I no longer PHP 4.2.X running anywhere, but I'll see how the forum behaves with that setting ON on 4.3.X which I have, it should work ok.
FUDforum Core Developer
|
|
|
|
Re: Template and Administration problems [message #13569 is a reply to message #13568] |
Fri, 17 October 2003 20:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Uhm not ALWAYS, but new (2.5.X+) releases will try to put one if it is possible. Some systems do not support php directives via .htacces and on those systems .htaccess will not be created.
FUDforum Core Developer
|
|
|
|
|
|
Re: Template and Administration problems [message #13573 is a reply to message #13572] |
Fri, 17 October 2003 22:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
FUD uses the same .htaccess file all the time
here are it's contents:
php_value output_buffering 16000
php_value variables_order GPCS
php_flag implicit_flush 0
php_flag register_globals 0
php_flag register_argc_argv 0
php_flag magic_quotes_gpc 0
php_flag session.use_trans_sid 0
FUDforum Core Developer
|
|
|
|
Re: Template and Administration problems [message #13575 is a reply to message #13574] |
Fri, 17 October 2003 23:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Turning register_globals will make your forum work faster and more securly and turning off register_argc_argv will also make the forum faster.
FUDforum Core Developer
|
|
|