home

Units not linking to Business

Project:OpenResort Community
Version:5.5.0-0
Component:Code
Category:bug
Priority:normal
Assigned:Unassigned
Status:active
Description

Re: www.villacompeta.com/openresort

Hi

I seem to be posting a lot here at the moment, sorry about that!

Anyway - I've ecnountered another issue relating to the booking/accomodation functionality of the site...

I have managed to add a business (for a villa), but when trying to add a unit there seems to be a glitch. The final 'submit' option for creating a unit just takes me to a blank white screen, with no confirmation the unit has been added. When I check the content of the site I can see that the unit has actually been added, but it is not linked to the main business and seems to stand seperate from it.

Therefore whenever I click on edit for the business type, and then 'bookable units' it repeatedly tells me that there are no units available for booking, however repeating the process of adding a new 'multi-room unit' simply creates more units which remain unlinked to the main business, and so therefore cannot be used.

To check out more head to www.villacompeta.com/openresort and click on the booking section. the main business node is setup as the main page on this and then one of the (unlinked) units I've set up is on the 'Availability' sub menu.

It seems like it must just be a slight glitch? Any help appreciated (trying to get the site finished as a Christmas present for someone!)

Thanks

Tom

Updates

#1 submitted by admin on Tue, 12/11/2007 - 18:53

Tom

I have just tried to replicate this on my dev environment and can't replicate it.

I even went as far as creating an openresort install in a sub directory to see if I that might be the cause but I had no joy. I wonder if you might be hitting a memory limit or something on your host??

Marc

#2 submitted by Tom Buckham on Tue, 12/11/2007 - 23:08

Hi

Definitely not a memory issue I've discovered - is there anyway I can send an error log or give screen shots which might showcase the issue better?

I'm sure it must be a simple thing as its right at the final stage off adding a bookable unit where clicking submit freezes each time I try it (the pages only goes to a blank white screen). the unit is still added, but isn't linked to the business - is there anyway of linking the unit to the business other than in the 'edit' the business section (maybe this could bypass it!)

Thanks

Here's the error message by

Here's the error message by the way! (forgot to post earlier)

* warning: Invalid argument supplied for foreach() in /home/nowaks/public_html/openresort/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /home/nowaks/public_html/openresort/modules/node/node.module on line 525.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/nowaks/public_html/openresort/includes/database.mysql.inc on line 172.

(No subject)

It's a strange one to be

It's a strange one to be honest - I had the business and unit running okay previously to this (although not much configuation had been done on them) so I can't see what has changed.

A reinstall hasn't changed anything unfortunately - although the unit and business have been installed, but aren't linked together which is the only sticking point really.

It's strange as if it worked okay previously I'm not sure why it should be different now - who knows!

Thanks for looking into it anyway!

© OpenResort