Code: Select all
Warning: require(../../jude/admin/vars2.php) [function.require]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\jude\appointments\requester-export.php on line 4
Fatal error: require() [function.require]: Failed opening required '../../jude/admin/vars2.php' (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\jude\appointments\requester-export.php on line 4
I've tried several permutations, but each time no joy.
phpscheduler is in the root directory
the script is in /jude/appointments/export-requesters.php
the common access file settings are in /jude/admin/vars2.php (as above)
As a short-term fix I've included the DB access info in each file, but I'd prefer to use the relative pathnames if poss so that when copying from test to live I don't have to change/check each file for such mundane info...