Error trying to deploy

Login or register to post comments
1 reply [Last post]
LaCeja's picture
Offline
Joined: 11/04/2009

I'm having a problem trying to deploy a new QCubed based application. It seems like it's problem a problem with configuration, but I can't find it. Maybe someone will have had the same experience.

I've put several classpath statements into prepend.inc.php. Here's an example:

QApplicationBase::$ClassFile['testitpanel'] = __COMPONENTS__ . '/testitpanel.class.php';

I'm getting the error "QApplicationBase" is not found. I checked to be sure __INCLUDES__ is set correctly, and it is.

Help!

Thanks.

LaCeja's picture
Offline
Joined: 11/04/2009

I figured this one out. there was a dot in the wrong place.

However, I'm still having a problem. It's hanging, with no error messages, when preloads are being set in qcubed.inc.php. For example:

QApplicationBase::$PreloadedClassFile['_enumerations'] = __QCUBED_CORE__ . '/base_controls/_enumerations.inc.php';

I've verified that error_reporting is set to E_ALL & ~E_NOTICE & ~E_DEPRECATED in the php.ini.

Help!

EDIT:

Actually, the problem is in qcubed.inc.php. It hangs on ob_start('__ob_callback');

If I comment out that statement, things seem to start up okay, so long as I turn off ~E_NOTICE.

Am I causing myself a problem doing this?

EDIT:

Well, the answer is yes.

If anyone else has this problem, change output_buffering = off to output_buffering = 4096, or however large you want your output buffer to be.