Chris
Garry
> --
> 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.
>
Anyway, It looks like you will have to make the changes to the
cal.inc.php file manually to adjust the AC_DIR_ROOT path manually to
suit your server needs.
This is the line that you need to look for and adjust:
define("AC_ROOT", str_replace("ac-includes","",dirname(__FILE__)));
You will probably have the same problem with the ajax files that are
in "ac-includes" > "ajax"
Sorry to not be able to help more, I must admit to not understanding
why the initial error occurs if you haven't modified the file manually
but then again I don't really have much (read any) knowledge as to
server set up :(
Chris
I had a quick look with this issue and it's to do with the way windows
reports it's paths, more importantly the slashes:
i.e.
UNIX: /var/www/mysite/
WINDOWS: C:\xampp\htdocs\calendar\
The best solution I came up with and maybe in a future version, you
could add windows compatibility as follows:
i.e. replace all:
__FILE__ --> str_replace("\\", "/", __FILE__)
__DIR__ --> str_replace("\\", "/", __DIR__)
It then works.
Kind Regards
Stephen Mackay
PS Great script