Qcodo in Ubuntu 10.04

thread: 3 messages  |  last: a year ago  |  started: tuesday, may 11, 2010, 2:49 pm pdt


#1  |  ddurand Venezuela
Tuesday, May 11, 2010, 2:49 PM PDT

Hi every one,...

I am changing a full functional application from Ubuntu 9.10 to Ubuntu
10.04 but something is wrong.

When I try to access to my application the only thing I can see in my browser is a
beatifull-perfectly-empty page.

The apache2 log says:

PHP   2. require_once() /var/www/html/liberty/index.php:3
PHP   3. require() 
/var/www/html/liberty/generador/includes/prepend.inc.php:22
PHP Fatal error:  Class 'QApplication' not found in 
/var/www/html/liberty/generador/includes/qcodo/_core/qcodo.inc.php on 
line 47
PHP Stack trace:
PHP   1. {main}() /var/www/html/liberty/index.php:0
PHP   2. require_once() /var/www/html/liberty/index.php:3
PHP   3. require() 
/var/www/html/liberty/generador/includes/prepend.inc.php:22
PHP   4. __ob_callback() 
/var/www/html/liberty/generador/includes/qcodo/_core/qcodo.inc.php:0
PHP   5. __autoload() 
/var/www/html/liberty/generador/includes/qcodo/_core/qcodo.inc.php:0
bc.

Does any one have any idea about what's going on?

I am working with:

*QCodo:* 3.32
*MySQL:* 5.1.41-3ubuntu12 (Ubuntu)
*Php:* PHP 5.3.2-1ubuntu4 with Suhosin-Patch (cli) (built: Apr  9 2010 
08:23:39) 
*Ubuntu:* 10.04 Lucid Lynx

Thanks in advance...
#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Tuesday, May 11, 2010, 6:40 PM PDT

Hmm... odd.  I know there are some incompatibilities with Qcodo 0.3.x and PHP 5.3.x, however, the error messages you are getting does not seem to indicate it is an incompatibility issue.

However, out of curiosity, which version of PHP were you using with the previous version of Ubuntu?

#3  |  apselico (Trujillo, PE) Peru
Sunday, June 6, 2010, 10:16 PM PDT

Ubuntu 9.10 has php 5.2.*

About the error, as the log says it seems that you are trying to use the QApplication class but that class is not yet loaded
make sure that before line 23 of your prepend.inc.php file the QApplication class was declared.

I had the same incompatibility issues and i also got empty page without errors in my log (in Ubuntu 10.04) so i decided to update my qcodo version from 0.3.x to last stable release and now all is working well.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.