OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



blank pages

Forum for PKP's Lemon8-XML.

Moderators: jmacgreg, mj

Forum rules
Questions about Lemon8-XML testing and development can go here. You may also want to check out our Lemon8 page.

blank pages

Postby brunoj1 » Tue Oct 06, 2009 9:01 am

hello,
I installed Lemon8 XML, but I encounter some problems. Some link display blank pages or partial. I went to "error_reporting = E_ALL & ~ E_NOTICE" to "error_reporting = E_ALL" in php.ini to get more details on the problem. Now when I connect I have the following error:

"Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in / home/illuvec/www/l8x/cake/libs/configure.php on line 292"

Can you help me?
brunoj1
 
Posts: 1
Joined: Wed Sep 30, 2009 9:23 am

Re: blank pages

Postby rcave » Tue Feb 02, 2010 1:18 pm

It seems that E_NONE is not supported in PHP 5.2.10. I was able to get around this error by changing E_NONE to '0'
rcave
 
Posts: 1
Joined: Tue Feb 02, 2010 1:16 pm

Re: blank pages

Postby jerico » Thu Feb 04, 2010 6:21 am

Hi guys,

this is actually a bug of CakePHP. Lemon8 comes with an older dev version of CakePHP 1.3 which used the E_NONE constant. I looked in the PHP source code and it seems that E_NONE never existed. There is a PHP bug that indicates that E_NONE was (wrongly) contained in the PHP documentation but never implemented (see http://bugs.php.net/16330 and http://bugs.php.net/16004).

As rcave said, you can solve this problem by replacing E_NONE with the number "0" (or any other valid E_* constant) in the source code.

We won't provide an "official" patch for this as we no longer actively develop Lemon8. All Lemon8 functionality will be directly included in our applications (starting with OJS) and the Lemon8-functionality will also be usable stand-alone as a programmer's library to be included in your custom code.

Please have a look at http://pkp.sfu.ca/wiki/index.php/Lemon8-XML_Roadmap for our plans re Lemon8.

Kind regards,
Florian
jerico
 
Posts: 94
Joined: Sat May 16, 2009 2:45 pm


Return to Lemon8-XML

Who is online

Users browsing this forum: No registered users and 1 guest