Broken Examples!!
Thu, 11/05/2009 - 16:17
Hello folks
in Examples section the header don't have a link to go back to home page; also SOAP example is broken http://examples.qcu.be/assets/_core/php/examples/communication/soap.php
regards,
enzo

also... in example Understanding Process Flow it is not possible to see function calls due to header div.
http://examples.qcu.be/assets/plugins/QPage/example/QPageExample.php
this is one comes to 404 too.
1) Process flow example fixed.
2) SOAP example: I know what the root cause is. Basically, one of the framework files is spitting out an extra tab character at the beginning of the file, which is causing the resulting XML to be invalid.
I have no idea how to track down that file. It's a huge pain in the ass. For now, I just added an ob_clean() call to the Run() method of a QSoapService - it takes care of that issue. Ideally, we should fine the place where that extra tab is, and remove it. I created ticket #370 to track this.
3) QPage example is not ready, I removed the link from the plugins directory. It should have never been there in the first place, sorry for the confusion.
4) Enzo, I don't understand what you mean by "in Examples section the header don't have a link to go back to home page". There is a link to go back to the home page in the upper left corner of the http://examples.qcu.be, it says "QCubed website". I don't believe any other examples page should have a link back to qcu.be - only to the main examples section.
Hello Alex
oic maybe the text "QCubed website" is too small. IMHO.
Thanks for the SOAP update.
enzo
The footer has 2 links back to qcu.be and one to the forum, btw.
Hello,
I've noticed that the examples are broken again, for example:
http://examples.qcu.be/assets/_core/php/examples/datagrid/intro.php
mysqli::mysqli() [function.mysqli-mysqli]: (28000/1045): Access denied for user 'examplesuser'@'localhost' (using password: YES)
We recently switched servers, and it appears the example database didn't make it in one piece. We'll get it sorted soon. :)
Thanks VexedPanda, it's now fixed :)