script works but it doesnt...
Heres my dilema, I'm working with the creator of Amfichat to try and figure out why it doesn't work on a certain server. I have installed this on my test server, among other peoples server's and I have never had troubles with it.
Since you have to pay for the script I wont post it, but you can give me are ideas on why it's not working on this certain server.
I have ruled out:
PHP version incompatiablity
PHP register_globals off/on
PHP safe mode off/on
PHP errors off/on
Chmod on any file not set right
Any ideas? Even those that include the 'its a random act of nature'. :(
P.S. It's a mix of SWF/PHP mostly PHP though (like 3 swf files).
Re: script works but it doesnt...
how much is the script.... ill pay for it... if you post it....hehe... riiight..
Re: script works but it doesnt...
Can you tell us about this certain server? - What errors you get, wat OS and software its running?
Re: script works but it doesnt...
OS = FreeBSD 5.3 Stable
PHP Ver = 4.3.11
Configure Command = './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd5.3'
It stops at 100% loaded, and the admin doesn't work.
Could someone explain that configure command, I use windows so I have never saw that before :(, (what does the parameter "--disable-all" really disable?).
Re: script works but it doesnt...
Re: script works but it doesnt...
--disable-all disables all extensions, the --enable-extension-name options enable certain extensions at compile time. Unlike windows, on UNIX, extensions must be compiled into PHP. My guess is that your application uses an extension which has not been compiled into that version of PHP.
Set the error reporting to E_ALL on the scripts that fail and see what you get. You should get an error message. To set error reporting put this at the top of the script:
PHP Code:
error_reporting(E_ALL);
Or, chamnge it in the php.ini configuration file if you have access to it.
Re: script works but it doesnt...
Ahh, that explains it. Because it works on my version of PHP (4.3.11 on windows out of the box).
Oh, and I tried that, it just stops at 100%. No errors or anything (its using the swf).
Thanks though :).
Re: script works but it doesnt...
In that case, you would need to display it as text. Send a content type header and it should come up in the browser:
PHP Code:
header('Content-Type: text/plain');