loaded php script but it doesn't work. help.

by myfit
6 replies
I'm trying to install a coaching program on my website that uses the db. I followed the instructions and loaded some php script into the right file under my file management in the control panel, but when I try and run the admin.php on the net, nothing happens in my browser. any ideas? there is no support to call for the software. thanks.
#loaded #php #script #work
  • Profile picture of the author rwil02
    View the page source in your browser.
    Does it have nothing in it, or does it contain PHP script?

    (post a sample of it here if you're not sure)
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[119872].message }}
    • Profile picture of the author myfit
      Hi,
      Thanks for the interest in helping me out. When I open the page in the browser, nothing comes up in the browser. The page I'm trying to open is www.coaching4growth.com/admin.php. Thanks again for your help.
      {{ DiscussionBoard.errors[121379].message }}
  • Profile picture of the author rwil02
    And it basically outputs an empty HTML document.
    OK. That means PHP is probably actually running on your server, otherwise you'd get either an error message, or the PHP sent to the browser.

    So it probably means some sort of configuration issue that causes a silent failure.

    Does the script require access to a MySQL database or anything like that?
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[121416].message }}
    • Profile picture of the author praskuma
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[121773].message }}
      • Profile picture of the author Floyd Fisher
        I got a "500 internal server error" accessing the link.

        Did you upload as ASCII or Binary? Try setting the ftp to ascii and try uploading again.
        {{ DiscussionBoard.errors[121816].message }}
        • Profile picture of the author myfit
          Hi. Thanks again for your help. I entered the php script as ascii with notepad and it did upload as a php file. Also, the script does link to sql db and i did import the file into the sql as the instructions said to do.
          {{ DiscussionBoard.errors[122106].message }}
          • Profile picture of the author tim_buchalka
            Did you by chance edit any of the php files (or admin.php) ?

            Probably one of the most common reason for a blank screen is that you are missing a character somewhere.

            If you leave out a ' or a } or a ; you generally don't get an error, you just get a blank screen like this.

            You probably had to enter the database details into this php or another file like config.php or something like that.

            Check for the missing characters and see how you go.

            If all else fails get a fresh copy of the php files again (before you did any modifications) and upload it and see if you at least get something on the screen (even if it says failed to connect to database you know then that the problem was in your editing).

            Cheers

            Originally Posted by myfit View Post

            Hi. Thanks again for your help. I entered the php script as ascii with notepad and it did upload as a php file. Also, the script does link to sql db and i did import the file into the sql as the instructions said to do.
            {{ DiscussionBoard.errors[123348].message }}

Trending Topics