Page 1 of 1

Windows file path issues

PostPosted: Sat Jan 30, 2010 1:32 pm
by strast
Hello All

I have set up a Wamp server on Windows so I can develop an application that will run on a Linux server. After setting up my database and configuring my conf.ini everything works fine. Next I set up the site wide delegation class, c:\wamp\www\calendar\conf\ApplicationDelegate.php to configure the users permissions as instructed on the http://xataface.com/documentation/tutorial/getting_started/permissions page.

I get this error:
Fatal error: Class 'conf_ApplicationDelegate' not found in C:\wamp\www\xataface\Dataface\Application.php on line 1144

There is no error and this does work on the Linux machine.

From the screenshot of my debugger, you can see that the $delegate_path is set to C:/wamp/www/calendar/conf/ApplicationDelegate.php

Why does the error indicate the wrong path?

I couldn't find anything in the forum addressing this problem. Anybody know how to get this to work?

BTW, the is_readable($delegate_path) conditional on line 1142 does succeed.

Thanks, Steve

Wamp setup:
Apache 2.2.11
PHP 5.2.11
MySQL 5.1.36

Re: Windows file path issues

PostPosted: Sun Jan 31, 2010 11:20 am
by strast
Nevermind.

I used a shorttag in my conf/ApplicationDelegate.php script and shorttags was disabled at the Wamp server.