bug
Ajax Bug on Long Running Action?
Hello,
I am experiencing a issue when I create a button with a QAjax Action attached to it running a long action (like a button with a click event). If you try to hit a URL on the page before the action is complete, it gives an error message (with an empty error window). It in fact sounds like what Mike Ho describes on this forum about a bug in QCodo (now fixed apparently): http://www.qcodo.com/forums/forum.php/3/2281
I'm wondering if this was fixed in QCubed as well, as I'm still getting this problem for some reason (using QCubed 2.0).
QFireBug OutputDatabaseProfile not working
Hello,
It seems that the database output profiling does not work in the QFirebug example. It seems that the profile array returned by the function 'debug_backtrace' in QDatabaseBase::LogQuery has a different structure than QFireBug expects. Any idea why, because it seems to work with Postgres?
Thanks
Helge
Two QDataRepeater on single page. ItemPerPage is somehow shared
This seems like a bug. I'm trying to create two listing using QDataRepeater. One for local listing and one for general. I'm trying to make the local one be short and show up on top, and the rest just below it. When I change the ItemsPerPage for all items, it seems to affect both grid.
Here are my codes:
// Data grid for All items
$this->dtrItems = new QDataRepeater($this);
$this->dtrItems->Paginator = new QPaginator($this);
$this->dtrItems->ItemsPerPage = 10;
$this->dtrItems->PaginatorAlternate = new QPaginator($this);
$this->dtrItems->UseAjax = false;
$this->dtrItems->Template = 'dtr_item.tpl.php';
$this->dtrItems->SetDataBinder('dtrItems_Bind');
// Data grid for Local items
$this->dtrLocalItems = new QDataRepeater($this);
$this->dtrLocalItems->Paginator = new QPaginator($this);
$this->dtrLocalItems->ItemsPerPage = 5;
$this->dtrLocalItems->PaginatorAlternate = new QPaginator($this);
$this->dtrLocalItems->UseAjax = false;
$this->dtrLocalItems->Template = 'dtr_item.tpl.php';
$this->dtrLocalItems->SetDataBinder('dtrLocalItems_Bind');The items are showing up, and paginator is showing correct number of pages between the two grids. But the actual items shown is both 10 for this instance. Instead of 5 and 10. Any idea if this is a bug with qcubed?
Authenticating user and redirect doesn't seem to work. Page won't load
I have an AuthenticateUser function in prepend's QApplication class. This basically checks if the user is logged in, if not, it'll redirect to login page.
public static function AuthenticateUser() {
if (!QApplication::$User) {
QApplication::Redirect(__AB_MAIN__ . '/login/SessionExpired/rURL' . urlencode(QApplication::$RequestUri));
}
When I open the page "Post", which AuthenticateUser at ForumCreate, the browse is redirected to the proper path in google chrome, but shows page not found. If I just hit Go again on the browser address bar, the page does load. Address bar shows "domain.com/login/SessionExpired/rURL/post"
In Internet Explorer 8, it's not updating the address bar, and just show "domain.com/post" and webpage cannot be found message. Any idea why this redirect is not working?
QForm bug
Hi,
I don't know if i call it a bug or whatever..
1) In the form drafts generated by qcodo... if you are in text field and press enter.. the page get refreshed.. (probably form get submitted) but nothing happens.
2) If you do same in ajax dashbord (instead of pressing save button, hit the enter key while curser in any text field) .. it will through the direct xml on page... You probably need to put the same event on < form onSubmit ... that is fired onClick of save button.
Please Help with Qdrupal nodes revisions bug
Hi,
I was working with Qdrupal, I updated a Qdrupal node with the qdrupal editing node form and tried to test the Revision fields (create new revision and description). Now after saving the node I got a require_once() error for that node php file that Drupal now can't find. Everytime I try to access that Qdrupal node either for viewing or editing, Drupal returns the same "can't find the node file" error because it tries to look for it at a wrong path that its created for each access attempt following this format:
/sites/default/files/qdrupal/0/nodes/3.php
