• Re: VSCode, Liveserver and Chrome

    From Ozed machina@21:1/5 to Call Me Tom on Wed Jun 1 03:42:57 2022
    On Monday, August 19, 2019 at 2:26:37 PM UTC-4, Call Me Tom wrote:
    On Mon, 19 Aug 2019 06:53:48 +0200, "J.O. Aho" <us...@example.net>
    wrote:
    On 19/08/2019 04.49, Jerry Stuckle wrote:
    On 8/18/2019 7:43 PM, Call Me Tom wrote:
    <lew.p...@digitalfreehold.ca> wrote:

    Call Me Tom wrote:

    I'm using VS Code for creating my PHP files. I'm trying to get
    liveserver to work with PHP files.It works fine with an HTML file. I >>>>> have installed the live server extension in chrome and the live reload >>>>> button is on. When I go live in VSC all I get in Chrome is a
    directory listing. I am using a default XAMPP installation.

    First of all, I'm not a XAMPP user, I prefer a OS that comes with simple >install all php/mariadb/apache.

    What is the actual server address that should be entered in Chrome? >>>>> Any other suggestions would be appreciated.

    Apparently, some variation of http://localhost/ or http://127.0.0.1/ >>>>
    At least, according to the XAMPP FAQ

    Thanks Lew. I tried both of those and all I get is a directory
    listing.


    You get a directory listing if you just request a directory and do not
    have a default home page (often index.html) in that directory.

    At least in the world most used OS, apache comes with a default >configuration which enables index.php as a default page if the php
    module is loaded (-D PHP).


    This is an Apache configuration problem and has nothing to do with PHP.

    Could be that the OP just don't have a index.php but say default.php as
    the starting point of his site in which case the error should be between >the keyboard and the chair.
    Yes, I have alll these things. I can run PHP directly from the
    browser and I also run without any problems from Netbeans. It's Live
    Server that I couldn't get running in Visual Studio Code.

    I posted here because I thought one of the mnany PHP programmers here
    might use VSCode as their IDE and could give me a little help with
    Live Server. Because this does not seem to be the case, I will
    continue with Netbeans. Thanks for trying to help.



    I posted here

    Were you able to get this working?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From J.O. Aho@21:1/5 to Ozed machina on Wed Jun 1 14:26:08 2022
    On 01/06/2022 12.42, Ozed machina wrote:
    On Monday, August 19, 2019 at 2:26:37 PM UTC-4, Call Me Tom wrote:
    On Mon, 19 Aug 2019 06:53:48 +0200, "J.O. Aho" <us...@example.net>
    wrote:
    On 19/08/2019 04.49, Jerry Stuckle wrote:
    On 8/18/2019 7:43 PM, Call Me Tom wrote:
    <lew.p...@digitalfreehold.ca> wrote:

    Call Me Tom wrote:

    I'm using VS Code for creating my PHP files. I'm trying to get
    liveserver to work with PHP files.It works fine with an HTML file. I >>>>>>> have installed the live server extension in chrome and the live reload >>>>>>> button is on. When I go live in VSC all I get in Chrome is a
    directory listing. I am using a default XAMPP installation.

    First of all, I'm not a XAMPP user, I prefer a OS that comes with simple >>> install all php/mariadb/apache.

    What is the actual server address that should be entered in Chrome? >>>>>>> Any other suggestions would be appreciated.

    Apparently, some variation of http://localhost/ or http://127.0.0.1/ >>>>>>
    At least, according to the XAMPP FAQ

    Thanks Lew. I tried both of those and all I get is a directory
    listing.


    You get a directory listing if you just request a directory and do not >>>> have a default home page (often index.html) in that directory.

    At least in the world most used OS, apache comes with a default
    configuration which enables index.php as a default page if the php
    module is loaded (-D PHP).


    This is an Apache configuration problem and has nothing to do with PHP. >>>
    Could be that the OP just don't have a index.php but say default.php as
    the starting point of his site in which case the error should be between >>> the keyboard and the chair.
    Yes, I have alll these things. I can run PHP directly from the
    browser and I also run without any problems from Netbeans. It's Live
    Server that I couldn't get running in Visual Studio Code.

    I posted here because I thought one of the mnany PHP programmers here
    might use VSCode as their IDE and could give me a little help with
    Live Server. Because this does not seem to be the case, I will
    continue with Netbeans. Thanks for trying to help.



    I posted here

    Were you able to get this working?

    For issues with Live Stream visit: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer

    For issue with Apache config ask your question at:
    alt.apache.configuration

    --

    //Aho

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kristjan Robam@21:1/5 to Lew Pitcher on Sat Oct 14 04:00:00 2023
    Check out:

    futureplacewheretobetogether.medianewsonline.com futuremeetupplace.medianewsonline.com
    futurechatplace.medianewsonline.com gettingtoknowyourfutureplace.medianewsonline.com thegettogetherplace.medianewsonline.com
    themeetupplace.medianewsonline.com gettingtoknowyourfuturehusband.medianewsonline.com gettingtogether.medianewsonline.com
    gettingknownnewpeople.medianewsonline.com forthosewhofeellonely.medianewsonline.com forlonelypeopletogettogether.medianewsonline.com lonelypeoplegettingtogetherplace.medianewsonline.com meetupingforlonelyones.medianewsonline.com meetupingforthelonely.myartsonline.com meetupingforthelonelyones.medianewsonline.com gettingtogetherplaceforthelonely.medianewsonline.com lonelypeoplemeetupplace.medianewsonline.com
    gettintogether.web1337.net
    forgettingtogether.10001mb.com
    gettingtogether.10001mb.com

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


    On Monday, August 19, 2019 at 10:10:25 PM UTC+3, Lew Pitcher wrote:
    Call Me Tom wrote:

    <lew.p...@digitalfreehold.ca> wrote:

    Call Me Tom wrote:

    I'm using VS Code for creating my PHP files. I'm trying to get
    liveserver to work with PHP files.It works fine with an HTML file. I
    have installed the live server extension in chrome and the live reload >>> button is on. When I go live in VSC all I get in Chrome is a
    directory listing. I am using a default XAMPP installation.

    What is the actual server address that should be entered in Chrome?
    Any other suggestions would be appreciated.

    Apparently, some variation of http://localhost/ or http://127.0.0.1/

    At least, according to the XAMPP FAQ

    Thanks Lew. I tried both of those and all I get is a directory
    listing.
    See other post.
    Plus, you might also look at the faq question

    "What are "Automatic start pages" for the WWW directories?"
    The standard filename for the Apache function "DirectoryIndex" is "index.html" or "index.php". Every time you are just browsing to a
    folder (e.g. "http://localhost/xampp/"), and Apache can find such a
    file, Apache is displaying this file instead of a directory listing.

    Note that last line

    HTH
    --
    Lew Pitcher
    "In Skills, We Trust"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)