|
|
|
|
Re: Malformed header from script error [message #7809 is a reply to message #7790] |
Mon, 16 December 2002 16:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
make a script with:
<?php phpinfo(); ?> and run it, this will not only tell you the version of your PHP, but also allow you to see what modules are avaliable & other PHP settings.
FUDforum Core Developer
|
|
|
Re: Malformed header from script error [message #7811 is a reply to message #7809] |
Mon, 16 December 2002 18:21 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
I've uploaded a script like that at www.paulholman.com/forum/phpver.php it reports PHP installed version 4.2.3 etc etc.
Other php scripts work fine it just seems to be FUD install files don't work at the moment.
Any ideas ?
Paul
|
|
|
Re: Malformed header from script error [message #7816 is a reply to message #7811] |
Mon, 16 December 2002 21:19 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
How did you upload the file to the server as ASCII or as Binary? You need to upload the installer as binary for it to work.
FUDforum Core Developer
|
|
|
Re: Malformed header from script error [message #7818 is a reply to message #7816] |
Mon, 16 December 2002 22:22 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
It was uploaded as binary.
This is the second time I've tried to install FUD.
The first time worked fine (once I knew what to put in the configuration pages), but after a month started to misbehave (not displaying icons etc). I vaped the installation completely, but despite using the same settings and files it now won't install.
My hosting company reckon there's no problem with PHP and the version detecting script I've placed on the server works OK, as do other PHP based scripts I've tried.
So I'm at a bit of a loss as to what to try next.
Paul
|
|
|
Re: Malformed header from script error [message #7820 is a reply to message #7818] |
Mon, 16 December 2002 23:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You've mentioned you have used old configuration files, how did you do that? Are you installing over an existing forum?
FUDforum Core Developer
|
|
|
|
Re: Malformed header from script error [message #7830 is a reply to message #7820] |
Tue, 17 December 2002 07:24 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
No I didn't say I used the same configuation files. I should have been clearer, I used the same configuration for the FTP program (ie binary transfer) and the same file I used previously, so there shouldn't be any issues with incorrect ransfer or unzipping.
For reference; I've also tried unpacking two different archives, so have tried three different install.php scripts now with the same results.
Paul
|
|
|
|
|
Re: Malformed header from script error [message #7858 is a reply to message #7836] |
Wed, 18 December 2002 07:18 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
Are you sure you want a 3mb mail ?
I can send one to you, but which one of the three scripts would you like ? I haven't altered them at all anyway.
As one did work previously and someone else has the same problems, it seems more likely that something might have happened to other servers, rather than the scripts.
Paul
|
|
|
|
|
Re: Malformed header from script error [message #7987 is a reply to message #7836] |
Sun, 05 January 2003 17:10 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
I've just tried to run the install.php script from 2.3.6RC4 and still get the error
[Sun Jan 5 17:10:25 2003] [error] [client 62.3.124.241] malformed header from script. Bad header=
: /domains/p/a/paulholman.com/public_html/forum/install.php
Is there anything that my ISP may have done that would cuse these errors ?
I've had no errors with other PHP scripts, should I just give up with FUD ?
Paul
|
|
|
|
Re: Malformed header from script error [message #8001 is a reply to message #7991] |
Mon, 06 January 2003 09:13 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
Still same error.
Script now starts
----------------cut----------------------------------------
<?php
if( !ini_get("track_errors") ) ini_set("track_errors", 1);
if( !ini_get("display_errors") ) ini_set("display_errors", 1);
-------------------cut-------------------------------------
What interests me is that both pinkandblue and myself have had similar errors. Both happened after the icons stopped displaying on the forum pages.
Is it possible that some odd configuration change has happened to our, virtual, servers that made the "icon" problem happen and now makes it impossible to install the script ?
The script installed perfectly a couple of months ago.
If it's a problem at our hosting we need to know what to try and chase. My company claims PHP is OK, which it seems to be with other scripts, could mySQL be causing this sort of error ?
Ta
Paul
|
|
|
|
|
Re: Malformed header from script error [message #8014 is a reply to message #8013] |
Mon, 06 January 2003 19:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ok, I see that you are using CGI sapi, which may be what is causing this problem.
Let's go step by step, at the bottom of the file there is a BIG binary data string, if you remove that 'string' does the script begin to work?
FUDforum Core Developer
|
|
|
|
Re: Malformed header from script error [message #8017 is a reply to message #8015] |
Mon, 06 January 2003 23:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Very unusual.
At the top of the script there are some enviroment (PHP) modifying settings, if you remove them
error_reporting(E_ALL & ~E_NOTICE);
ini_set("memory_limit", "20M");
ignore_user_abort(true);
set_magic_quotes_runtime(0);
@set_time_limit(600);
does the problem remain?
FUDforum Core Developer
|
|
|
Re: Malformed header from script error [message #8023 is a reply to message #8017] |
Tue, 07 January 2003 09:16 |
paulholman
Messages: 15 Registered: October 2002
Karma: 0
|
Junior Member |
|
|
I'm afraid it still fails with the same error.
Header now reads;
-----------------cut----------------------------------
<?php
if( !ini_get("track_errors") ) ini_set("track_errors", 1);
if( !ini_get("display_errors") ) ini_set("display_errors", 1);
/* Determine SafeMode Limitations */
if( !ini_get("safe_mode") )
$SAFE_MODE = 0;
else
$SAFE_MODE = 1;
$SLASH = ( !empty...............etc
-----------------cut----------------------------------
Paul
|
|
|
Re: Malformed header from script error [message #8027 is a reply to message #8023] |
Tue, 07 January 2003 12:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
By removing chunks of the install script could you try to narrow down to the problem to the smaller possible piece of code. I am unfortunately unable to replicate the problem you describe on any of my test systems.
FUDforum Core Developer
|
|
|
|
|