FSDIR_ROOT

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • monomaniac21

    #1

    FSDIR_ROOT

    Hi all

    Im transferring a site to our servers and the previous developer used
    something called "FSDIR_ROOT " which i guess takes you to the root of
    the site in question and then adds the next bit of the path to file.

    Im getting an error mssg similar to this all over the place and I need
    some help to solve the problem. Can anyone tell me exactly what
    FSDIR_ROOT does and whether this might be caused by the site being in a
    subdirectory on our sever not a directory of its own and also whether
    it might be that our host does not support this function and how i
    would know this was the case? I cant find anything about this function
    in php.net or on google so any help woudl be greatly appreciated!

    Warning: main(FSDIR_ROOT includes/meta-tags.php): failed to open stream:
    No such file or directory in...

  • Alan Little

    #2
    Re: FSDIR_ROOT

    Carved in mystic runes upon the very living rock, the last words of
    monomaniac21 of comp.lang.php make plain:
    [color=blue]
    > Im transferring a site to our servers and the previous developer used
    > something called "FSDIR_ROOT " which i guess takes you to the root of
    > the site in question and then adds the next bit of the path to file.[/color]

    It most likely is a constant defined somewhere in the application's
    files. If there's a config file, it's most likely in there. Otherwise, do
    a text search through the files for

    define('FSDIR_R OOT
    or
    define("FSDIR_R OOT

    --
    Alan Little
    Phorm PHP Form Processor

    Comment

    • monomaniac21

      #3
      Re: FSDIR_ROOT

      Hi Alan nice to hear from you again. Yeah it was a constant. Thanks.

      Regards

      Marc


      Alan Little wrote:[color=blue]
      > Carved in mystic runes upon the very living rock, the last words of
      > monomaniac21 of comp.lang.php make plain:
      >[color=green]
      > > Im transferring a site to our servers and the previous developer used
      > > something called "FSDIR_ROOT " which i guess takes you to the root of
      > > the site in question and then adds the next bit of the path to file.[/color]
      >
      > It most likely is a constant defined somewhere in the application's
      > files. If there's a config file, it's most likely in there. Otherwise, do
      > a text search through the files for
      >
      > define('FSDIR_R OOT
      > or
      > define("FSDIR_R OOT
      >
      > --
      > Alan Little
      > Phorm PHP Form Processor
      > http://www.phorm.com/[/color]

      Comment

      Working...