Results 1 to 8 of 8

Thread: script works but it doesnt...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    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).
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  2. #2
    Hyperactive Member PlaGuE's Avatar
    Join Date
    Jun 2005
    Location
    in ur mind.
    Posts
    445

    Re: script works but it doesnt...

    how much is the script.... ill pay for it... if you post it....hehe... riiight..
    Without balance, there could only be chaos.
    Without chaos, there could be no balance.
    I live with karma. Eat with destiny. Dream of life without shackles....
    Yet. If life had no consequences, life could not exist, nor could it flourish.


    If at first you dont succeed.You're screwed.

    C++/Java NOOB.

    I aint a professional at PHP, but if i can help i will.

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: script works but it doesnt...

    Can you tell us about this certain server? - What errors you get, wat OS and software its running?
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    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?).
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: script works but it doesnt...

    Anyone? .
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    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 .
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  8. #8
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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'); 
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width