I'm trying to get 6.0 (downloaded from phpnuke.com) installed and am having some real odd problems.
When I try to load the index or any pages all I get back is a bunch of garbage as if my browser was trying to open a binary file. View source comes up the same and I can't even cut and paste the stuff it's such garbage. View Info in Mozilla says its type text/html but in Quirks Render mode. If I try to load any of the page in IE it tries to start a download.
I installed the DB by hand since the auto-install didn't seem to be working and I can create a file called 'test.php' with:
Quote:
<?php phpinfo(); ?>
in it and when I drop in in the same directory wtih Nuke it works fine.
I also grabbed the nukecops analyzer and it worked fine though it did warn me that my version of MySQL needs to be upgraded.
But the domain is in the process of transfering from one server to another so to bring it up you'll have to put it in your hosts file to make it resolve to 204.255.128.23 (it's being hosted as a virtual domain so this is the only way I know of to trick it into loading.)
The transfer should go through in the next few hours however.
I'm running PHP 4.1.2 on Redhat (7 something or other with lots of patches and fixes) with Apache 1.3.23
I've been searching Nuke sites all day and can't find any reference to what kind of config problem could cause this. Nothing was uploaded to the server except for the main tar.gz file which was then extracted right where I needed it. The analyzer and other .php files with <?php opening tags work fine even in that same directory so I assume it's not a Apache issue.
Juggle Nuke Cadet
Joined: Feb 07, 2003
Posts: 6
Location: USA
Posted:
Fri Feb 07, 2003 9:34 pm
Ah ha - got it working!
For some reason the zlib compression was causing the problem. I saw the output blocking and zlib compression being used in the code and in the analyzer output noticed that
[zlib.output_compression] => 1
Was listed. So I added a .htaccess file with:
Quote:
php_value zlib.output_compression 0
in it and I've got Nuke coming up now! Wierd thing is...it still shows as being set to 1 when I run analyze....oh well, it's working so I won't think too hard about it!
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Sat Feb 08, 2003 12:49 am
Can't recall right now, but there are two ways to view php.ini data. Why? Because after a certain php release you can read the global and local real time settings. From your copy/paste it appears 4.1.2 doesn't support the new real time global/local read. Ergo, the older php versions display back only the global settings. What you have done is set it locally via .htaccess, and analyzer won't spot that unless your host upgrades php to a newer version.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Juggle Nuke Cadet
Joined: Feb 07, 2003
Posts: 6
Location: USA
Posted:
Sat Feb 08, 2003 1:23 am
I figured it was something like that causing the discrepancy. I'm my own host so since I'm already going to have to update MySQL this weekend I may also dig in a update PHP.
Then again on one of my other machines I'm running RH8.0 and the combo of Apahce 2.0 and PHP 4.something has given me way too many sleepless nights already...so I may just stick with "if it ain't obviously broke don't mess with it!"
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum