Recent Topics

1 Jun 29, 2004 14:49    

Just installed final "oslo" b2evolution-0.9.0.8.zip.

Had to change $sleep_after_edit in conf/_advanced.php to 1.

If set to 0, I was getting the IE page titled "Cannot find server"
after posting a new item (the Blog This! button).

By changing to $sleep_after_edit = 1, the flush() function
is called. I note however, that the echo's after the flush
are not performed:

At approx line 125

if (isset($sleep_after_edit) && $sleep_after_edit > 0)
{
echo '<p>', T_('Sleeping...'), "</p>\n";
flush(); <<< required otherwise server error screen
sleep($sleep_after_edit);
}
echo '<p>'.T_('Done.').'</p>'; <<<<< This does not show on screen
echo "</div>\n";

Any ideas why this is happening?

--dougedmunds

2 Jun 29, 2004 05:55

Do you have an .htacess file in your /admin folder ?

try to remove it.

does it make a difference?

3 Jun 29, 2004 08:08

fplanque wrote:

Do you have an .htacess file in your /admin folder ?
try to remove it.
does it make a difference?

Sorry, I tried your suggestion, but it didn't make any difference.
I need $sleep_after_edit = 1 to get
any follow up screen at all after a new posting.
If $sleep_after_edit = 0, I always get the Cannot find server screen.


If $sleep_after_edit = 1, after posting, b2e goes to
the Browse/Edit tab, but with only one box, with this content:

Recording post...
Sleeping...

And there it stops.

The word "Done" does not appear, and no other boxes appear
below that point on the screen.

I am no expert, but this may have something to do with the php
flush() command (called in admin/edit_actions.php).
If flush() is commented out, then I get the Cannot find server,
screen, so obviously I need the flush() statement.
The php manual has a cryptic note about some kind of buffer
problem using flush() and Internet Explorer.

-dougedmunds

4 Jun 29, 2004 14:50

What webserver are you running? (exact version?)

And what exact version of IE are you using?

Can you try with a different browser?

5 Jun 29, 2004 17:29

fplanque wrote:

And what exact version of IE are you using?
Can you try with a different browser?

Using IE 6.0 on Win2000 w/Service Pack 4
1 - If $sleep_after_edit = 0, I always get the Cannot find server screen.

2 - If $sleep_after_edit = 1, after posting, b2e goes to
the Browse/Edit tab, but with only one box, with this content:

Recording post...
Sleeping...

And there it stops.

Using Netscape 7.1 on Win98 SE, more strange results:

1 - If $sleep_after_edit = 0, I the record posts, but the screen
returns to the New Record tab, with the same data
as the record just posted. So clicking "Blog This" again,
creates a duplicate post, just like the first, without any
indication that the record was posted.

2 - If $sleep_after_edit = 1, just like on the Win2000-IE6 machine:
after posting, b2e goes to
the Browse/Edit tab, but with only one box, with this content:

Recording post...
Sleeping...

And there it stops.

fplanque wrote:

What webserver are you running? (exact version?)

I culled this info by running phpinfo(). Maybe you'll see something
in here:

PHP Version 4.3.4
System FreeBSD host122.ipowerweb.com 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Tue Jan i386
Build Date Jan 31 2004 06:16:37
Configure Command './configure' '--with-apache=/root/vdeck/1.0/work/apache_1.3.27' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib' '--with-mcrypt' '--with-gd' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--enable-safe-mode' '--with-ming=/root/vdeck/1.0/work/ming-0.2a'

Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with Zend Extension Manager v1.0.0, Copyright (c) 2003, by Zend Technologies with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF9900 #FF9900
highlight.default #0000CC #0000CC
highlight.html #000000 #000000
highlight.keyword #006600 #006600
highlight.string #CC0000 #CC0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/lib/php .:/usr/local/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time -1 -1
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals Off On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir /home/vdeck/tmp /home/vdeck/tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance Off Off

Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 9 disabled
Optimization Pass 10 disabled
Zend Loader enabled
License Path no value

apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.27 (Unix) mod_log_bytes/0.3 FrontPage/5.0.2.2635 PHP/4.3.4 mod_ssl/2.8.14 OpenSSL/0.9.7c
Apache Release 10327100
Apache API Version 19990320
Max Requests Per Child: 5 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Server Root /usr/local/apache
Loaded Modules mod_log_bytes, mod_frontpage, mod_php4, mod_ssl, mod_setenvif, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core

Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0

-- dougedmunds


Form is loading...