Chris
Chris
i.e. replace all:
__FILE__ --> str_replace("\\", "/", __FILE__)
__DIR__ --> str_replace("\\", "/", __DIR__)
On Mar 11, 12:25 pm, cbolson <ch...@cbolson.com> wrote:
> You might want to take a look at this thread incase you are having the
> same problem:http://groups.google.com/group/ajax-availability-calendar/browse_thre...
>
> Chris
>
> On 11 mar, 12:23, cbolson <ch...@cbolson.com> wrote:
>
>
>
> > Hi,
> > I'm afraid I have no experience or knowledge of windows servers.
> > That said, just incase I or anybody else can help, exactly what
> > problem are you having?
>
> > Chris
>
> > On 11 mar, 12:20, Wheeling <bennied...@gmail.com> wrote:
>
> > > This calendar does not work on a Windows Server is there a solution
> > > for??- Hide quoted text -
>
> - Show quoted text -
eg. In "ac-includes" > "cal.inc.php" you have this line:
define("AC_ROOT", str_replace("ac-includes","",dirname(__FILE__)));
That should probably be changed to this on a window machine:
define("AC_ROOT", str_replace("ac-includes","",dirname(str_replace("\
\", "/",__FILE__))));
Unfortunatley I really don't have a clue about how this all works on
Windows - I really must find out more about it and find away of
testing this sort of thing.
Chris
Chris
the admin wil not work
i replaces in ac-admin/index.php
define("AC_ROOT", str_replace("/ac-admin","/",__DIR__));
to
define("AC_ROOT", str_replace("\\ac-admin", "/",__DIR__));
this error: ac-config.inc.php not found
Bennie
> > > > - Show quoted text -- Hide quoted text -
ie.
<?php
echo __DIR__;
...rest of code
Maybe you have more than just "ac-admin" to remove...?
Chris
if i do __File__ C:\domains\..................\calendar\ac-admin
\index.phpac-config.inc.php not found
Is it on the web somewhere so that I can take a look or do you just
have it locally in your computer?
Chris
I really can't see what is going on.
For some reason the code is now trying to use __DIR__ as a constant.
Any chance of seeing the first few lines of the php code or even you
sending me (via email) your ftp connection so that I can take a closer
look?
Chris
On 11 mar, 14:33, Wheeling <bennied...@gmail.com> wrote:
> i understand the echo __DIR__; code
> i is to show the paht
>
> it is on te webhttp://wheeling.nl/ffynnon/calendar/ac-admin/
> --
> You received this message because you are subscribed to the Google Groups "Ajax Availability Calendar" group.
> To post to this group, send email to ajax-availabi...@googlegroups.com.
> To unsubscribe from this group, send email to ajax-availability-c...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ajax-availability-calendar?hl=en.
>