473,396 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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_ROOTincludes/meta-tags.php): failed to open stream:
No such file or directory in...

Jun 7 '06 #1
2 1127
Carved in mystic runes upon the very living rock, the last words of
monomaniac21 of comp.lang.php make plain:
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.


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_ROOT
or
define("FSDIR_ROOT

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jun 7 '06 #2
Hi Alan nice to hear from you again. Yeah it was a constant. Thanks.

Regards

Marc
Alan Little wrote:
Carved in mystic runes upon the very living rock, the last words of
monomaniac21 of comp.lang.php make plain:
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.


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_ROOT
or
define("FSDIR_ROOT

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/


Jun 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.