Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Script Settings Configuration Question

Discussion in 'Database Discussion' started by jehosting, Dec 30, 2016.

  1. jehosting

    jehosting Registered

    Joined:
    Dec 30, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    united states
    cPanel Access Level:
    Reseller Owner
    I became clueless when being asked to edit these lines for an ebook selling script

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)


    how do y know where my filesystem directories and webserver directories are. this is where the index.php is located for my website since I'm only testing the script
    http://www.mywebsite.com/2/index.php

    maybe with this info it might help

    thanks
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    42
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can check your directories path through cPanel file manger. Login your cPanel and check your index.php path through File manger.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jehosting

    jehosting Registered

    Joined:
    Dec 30, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    united states
    cPanel Access Level:
    Reseller Owner
    I guess what I'm trying to say is I don't understand what filesystem directories and webserver directories are. so I don't know how to define it to the script and type in where those directories are located.
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    729
    Likes Received:
    248
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    This will be the absolute file path on the server eg /home/username/public_html/folder-you-installed-the-script-to/file

    So the admin folder may be something like: _FS_ADMIN', '/home/username/public_html/catalog/admin/'


    This is the path relative to your web root eg /folder-you-installed-the-script-to/file

    So if you installed the application into the /calalog/ folder it would look something like : _WS_CATALOG', '/catalog/'

    Please note: examples given are from an old OSCommerce script - newer versions, or other applications, may differ in their usage and syntax
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @jehosting,

    The previous post should help to answer your question. Let us know if you require any additional assistance.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice