Broken Examples!!

Login or register to post comments
8 replies [Last post]
enzo's picture
Offline
Joined: 03/31/2008

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

Offline
Joined: 09/11/2009

also... in example Understanding Process Flow it is not possible to see function calls due to header div.

Offline
Joined: 11/23/2008
alex94040's picture
Offline
Joined: 11/06/2008

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.

enzo's picture
Offline
Joined: 03/31/2008

Hello Alex

oic maybe the text "QCubed website" is too small. IMHO.

Thanks for the SOAP update.

enzo

scottux's picture
Offline
Joined: 11/07/2008

The footer has 2 links back to qcu.be and one to the forum, btw.

Offline
Joined: 03/06/2009

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)

Offline
Joined: 03/31/2008

We recently switched servers, and it appears the example database didn't make it in one piece. We'll get it sorted soon. :)

Offline
Joined: 03/06/2009

Thanks VexedPanda, it's now fixed :)