Make forum datadump => the document contains no data. [message #22529] |
Sun, 06 February 2005 16:23 |
ogoth
Messages: 6 Registered: February 2005
Karma: 0
|
Junior Member |
|
|
Hello,
I've strange problem when i try to make a forum datadump ( Forum Version: 2.6.10RC1 ).
After few time à js-error mesage appears: "The document contains no data" and stop. Not other message, just grey page. Final résult is corrupted archive .gz ( With or without compress option ).
I install the forum and copy all data on my localhost and on my localhost that's work perfectly! May be a misconfiguration on the distant host? If yes what? Here are the configs:
----- DISTANT HOST DATADUMP DON'T WORK ---------
System Configuration
PHP built On: Windows NT PHOENIX 5.0 build 2195
Database Version: 4.0.16-nt
PHP Version: 4.3.4
Web Server: Apache/1.3.29
WebServer to PHP interface: apache
Forum Version: 2.6.10RC1
Relavent PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: No
Disabled Functions: rmdir
Tokenizer Support: Yes
PSpell Support: No
Zlib Support: Yes
---------------------------------
------ MY LOCAL HOST DATADUMP WORK -------
PHP built On: Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686
Database Version: 3.23.58
PHP Version: 4.3.10
Web Server: Apache/2.0.51 (Fedora)
WebServer to PHP interface: apache2handler
Forum Version: 2.6.10RC1
Relavent PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: OFF
Output Buffering: No
Disabled Functions: none
Tokenizer Support: Yes
PSpell Support: Yes
Zlib Support: Yes
----------------------------------------------
Note: I import all FUDForum databases on my local host in one operation with PHPMyadmin and i must up the memory_limit in my php.ini ( From 8Mo To 16 Mo. ) before that's work. Don't know if this can help to solve problem.
Except this small problem very good work! Easy to instal and esasy to use. Thank's.
|
|
|
|
|
|
Re : Re: Re : Re: Make forum datadump => the document contains no data. [message #22588 is a reply to message #22561] |
Mon, 07 February 2005 19:22 |
ogoth
Messages: 6 Registered: February 2005
Karma: 0
|
Junior Member |
|
|
I don't believe that the problem come from time out.
The first line off admdump.php is:
@set_time_limit(6000);
I try to change value, comment the line, remove the @ ( to see if i can find mesage about this ) and nothing more.
I do some tests and i find what happen but no why.
1: When i click "make backup" the navigator say:
waiting for my domain... Nothing else.
I try to do this:
Insert of this lines:
echo "<br>----- START ------<br>";
echo $_POST['btn_submit']."<br>";
At the begin off the script admdump.php.
and Modify somme parts off the form like this:
echo "<br>------".$_SERVER['REMOTE_ADDR']." -- ".$_SERVER['HTTP_HOST']." --".$_SERVER['PHP_SELF']."--------<br>";
//print_r($_SERVER);
echo "<form method=\"post\" action=\"".$_SERVER['PHP_SELF']."\" target=\"_blank\">";
//echo "<form method=\"post\" action=\"./admdump.php\" target=\"_blank\">";
//echo "<form method=\"post\" action=\"admdump.php\" target=\"_blank\">";
( I've try all this combinations. At the first call all the values in array $_SERVER are right ).
When i click "make backup" that's open my blank windows and nothing else... Nothing in the url bar, no message in windows, just waiting for my domain, my upload graph stay flat. Sounds like something loose my distant host.
If i remove this line:
<input type="hidden" name="submitted" value="1">
The form work in new windows but of course nothing else hapen's.
I do all this tests on my localhost and on my localhost no problem, all tests work's perfectly.
That's make me crazy...
[Updated on: Mon, 07 February 2005 19:23] Report message to a moderator
|
|
|
|
|
Re: Re : Re: Re : Re: Re : Re: Make forum datadump => the document contains no data. [message #22596 is a reply to message #22595] |
Tue, 08 February 2005 01:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This script sends periodic progress indicators.
Ex: 10000 queries completed
When output buffering is enabled (default buffer size 4k) it may take quite a bit of time for the buffer to become filled and output to be sent to the browser. As you can imagine backup script is not fast since it need to backup all data on disk & sql.
FUDforum Core Developer
|
|
|
|
|
Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Make forum datadump => the document contains no data [message #22663 is a reply to message #22649] |
Thu, 10 February 2005 14:54 |
ogoth
Messages: 6 Registered: February 2005
Karma: 0
|
Junior Member |
|
|
Citation : | Does the webserver use output compression?
|
About this:
My local host:
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib
The distant host:
Registered PHP Streams => php, http, ftp, compress.zlib
Here it's the same parameters on the two servers.
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
-------------
May be post a link to phpinfo on distant host can help?
May be increase the allocate memory for execution of script do something? But i can't find instruction to do that from a script.
|
|
|
|