Calendar Not Displaying

Help with installation and general calendar setttings

Calendar Not Displaying

Postby nathan » Fri Feb 18, 2011 5:00 pm

http://bluewaterretreats.com/cottages-f ... cottage=32

As far as I can tell everything is in there properly, and the weirdest part is I can put the exact same code into a page in that same directory -
http://bluewaterretreats.com/cottages-for-rent/2.php

And as you can see the calendar appears? Any ideas as to what is wrong?
nathan
 
Posts: 7
Joined: Tue Feb 08, 2011 7:20 pm

Re: Calendar Not Displaying

Postby chris » Fri Feb 18, 2011 5:25 pm

Hi,
removed---- I think I was wrong with what I said....

Chris
User avatar
chris
Site Admin
 
Posts: 1089
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Calendar Not Displaying

Postby nathan » Fri Feb 18, 2011 5:42 pm

No problem, I didn't actually see what you originally said. In case this helps to I've also tried including this calendar page - http://bluewaterretreats.com/calendar/calendars/2.php - as a php include in my listings.php file and i get the same result. I would say that somewhere a path isn't working but those calendar files work in the same directory as the listing file.
nathan
 
Posts: 7
Joined: Tue Feb 08, 2011 7:20 pm

Re: Calendar Not Displaying

Postby chris » Fri Feb 18, 2011 5:46 pm

There seems to be a conflict with one of these files:
Code: Select all
<script src="../scripts/prototype.js" type="text/javascript"></script>
<script src="../scripts/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="../scripts/lightbox.js" type="text/javascript"></script>

If you can remove those the calendar works :)
However clearly you might actually need them for something though I haven't been able to work out what.

Chris
User avatar
chris
Site Admin
 
Posts: 1089
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Calendar Not Displaying

Postby nathan » Fri Feb 18, 2011 6:37 pm

Thanks, that appears to have it however if you go here now - http://bluewaterretreats.com/cottages-f ... cottage=32 - you'll see that somewhere along the way it's confusing the table name. Any ideas?
nathan
 
Posts: 7
Joined: Tue Feb 08, 2011 7:20 pm

Re: Calendar Not Displaying

Postby chris » Fri Feb 18, 2011 11:57 pm

I don't know why it is like this but the table name constant variable should be in capital letters:
Code: Select all
T_bookings_items

should be
Code: Select all
T_BOOKING_ITEMS

Chris
User avatar
chris
Site Admin
 
Posts: 1089
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest