Results 1 to 5 of 5

Thread: Page doesn't render

  1. #1

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Page doesn't render

    I've got a customer that downloaded a open-source PHP product called DRUPAL. They installed this with MySQL and Apache onto a server.

    When you visit the page (//FPSREAD/DRUPAL in the browser addr) it shows a list of files in that folder, as opposed to rendering the INDEX.PHP. One of those files was the index.php - which we could click on and get the page.

    We messed with the apache config - changing the default page from INDEX.HTML to INDEX.PHP - restarted the service - but that did not work.

    Now we changed it back to INDEX.HTML - back to displaying the file list.

    But now when we click on INDEX.PHP it will no longer ever render that page.

    Help!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Page doesn't render

    post what version of PHP/Apache you're using, and post the lines in the httpd.conf that add the PHP module.

    as for the DirectoryIndex, make sure you're not using commas. this should work fine:
    Code:
    DirectoryIndex index.php index.html index.htm

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Page doesn't render

    Quote Originally Posted by szlamany
    //FPSREAD/DRUPAL in the browser addr
    Unless I am mistaken this notation causes the browser to browse to a remote file share.

    You want to use http://... instead. This makes a request to the remote web server.

  4. #4

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Page doesn't render

    Thanks - but didn't change anything...
    Attached Images Attached Images  

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  5. #5
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Page doesn't render

    you need to give us more information. what is your DirectoryIndex set as in httpd.conf? is PHP executing the files now? if not, what errors are you getting, if any?

    create a separate page with the text:
    Code:
    <?php phpinfo(); ?>
    and open it in your browser. does that pull anything up?

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