Windows file path issues

A place for users and developers of the Xataface to discuss and receive support.

Windows file path issues

Postby strast » Sat Jan 30, 2010 1:32 pm

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
Attachments
winslash.PNG
Debugger Screenshot
winslash.PNG (15.7 KiB) Viewed 871 times
Last edited by strast on Sun Jan 31, 2010 11:22 am, edited 1 time in total.
strast
 
Posts: 29
Joined: Thu Feb 05, 2009 6:14 pm

Re: Windows file path issues

Postby strast » Sun Jan 31, 2010 11:20 am

Nevermind.

I used a shorttag in my conf/ApplicationDelegate.php script and shorttags was disabled at the Wamp server.
strast
 
Posts: 29
Joined: Thu Feb 05, 2009 6:14 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved