Wired! php usage. Simple examples does not works. - Printable Version +- WuBook Community Forum (https://en.wubook.net/forum) +-- Forum: WuBook Suite (https://en.wubook.net/forum/forumdisplay.php?fid=1) +--- Forum: Support for the Booking Engine (https://en.wubook.net/forum/forumdisplay.php?fid=2) +--- Thread: Wired! php usage. Simple examples does not works. (/showthread.php?tid=262) |
Wired! php usage. Simple examples does not works. - EK013 - 06-02-2014 Where can i find last stable version of Wired "framework", please? I always get an errors even trying to execute example code. Errors like: PHP Code: Fatal error: Call to a member function get_facility() on a non-object in /public_html/app/lib/wiredx.php on line 693 PHP Code: $wubook= new WuBook(); As you can see this is standard example… What am i doing wrong? Another example: PHP Code: Fatal error: Call to a member function arraymem() on a non-object in /public_html/app/lib/wiredx.php on line 222 PHP Code: $wubook= new WuBook(); Trying to do something with these errors second day. Downloaded Wired from wubook.net and xmlrpc.inc from official website. Really need help. RE: Wired! php usage. Simple examples does not works. - yellow - 06-04-2014 Hello, the PHP client you have downloaded on our site is a very old sample. Wired must be considered stable, we receive ~1 milion queries / day and it's a core service!!! But we have dropped from years the version of Wired to allow third parts to develop a booking engine. So, it seems you're using an old library which uses a not existent service. If you need to develop an engine, check the Fount system and the Alien Plugin. Some links: - Wired / Alien docs: https://sites.google.com/site/wubookdocs/wired - Fount docs: https://sites.google.com/site/wubookdocs/online-booking/wubook-fount I'm sorry for the misunderstanding. Let me know if I can help you RE: Wired! php usage. Simple examples does not works. - EK013 - 06-04-2014 Thanks for info, i've already realized that even the host url is obsolete. I've started to develop own library based on documentation here: https://sites.google.com/site/wubookdocs/wired/wired-pms-xml-examples It can manage rooms, prices for defined dates already. If you are interested i can send it when it will be ready or, if you open for me a repository, we can develop it together. Here is first lines of it as example: (any critics, advices, notices will be appreciated!) PHP Code: <? RE: Wired! php usage. Simple examples does not works. - yellow - 06-05-2014 Oh, it would be nice to develop an abstract PHP library for Wired. Can we eventually work on Github? If you have an account, feel free to publish your library there. And if you will alert us, for sure I will follow the project with my Github account. Or let me know how you prefere to go on!! RE: Wired! php usage. Simple examples does not works. - PI005 - 10-16-2014 Good, but what about push request-answer. does anyone have examples? RE: Wired! php usage. Simple examples does not works. - DS051 - 10-16-2014 (10-16-2014, 02:20 AM)PI005 Wrote: Good, but what about push request-answer. Since then we forced the progress on our project, so we didn't finished this library. Unfortunately, we haven't more examples that these. But when we will continue our work for Wired! I can swear to contribute our code to public. (10-16-2014, 02:20 AM)PI005 Wrote: Good, but what about push request-answer. Since then we forced the progress on our project, so we didn't finished this library. Unfortunately, we haven't more examples that these. But when we will continue our work for Wired! I can swear to contribute our code to public. RE: Wired! php usage. Simple examples does not works. - steel - 10-20-2014 Hi! We don't have more examples of those already published. All requests are documented here: https://sites.google.com/site/wubookdocs/wired If you have some particular request, please ask: we're glad to help! |