As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:

As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.

Hello,I'm trying to install Lemon8 for an University project (in Spain), because we would like to transform thousands of documents into XML.Installing Lemon8 ( WAMP server in Windows Vista) when I try to upload a document I see:

"Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in C:\Program Files\wamp\www\web_XML\cake\libs\configure.php on line 292"

and when I try to do it with the sample doc, i find the same error message and: "The requested address '/users/sample-document.odt' was not found on this server."

Do I have to change sth else to upload documents? Is there a problem with the PHP of my WAMP server?

I will be very grateful if somebody can help me. Thank you in advance!

What version of WAMP (and the respective Apache, PHP) are you running? Lemon8-XML is based on the CakePHP framework, which requires PHP 5.1 or greater, and mod_rewrite enabled in Apache in order to run correctly. I'd strongly suspect that the "requested address" error you're seeing is related to mod_rewrite not being enabled. The E_NONE notice may be a PHP4/PHP5 issue -- I'd try setting it to E_ERROR and see if that resolves it.

I'm using WAMP server 2.0 also and I'm getting the same error. I checked and mod_rewrite is enabled. Changed the e_none to e_error and that seems to have fixed the problem but now I'm getting the webpage cannot be found error 404.

I'd suggest taking a look at the WAMP Apache logs to see what's getting recorded there when you get a 404 error or another issue. Any problems relating to mod_rewrite or PHP should be getting logged. If you're able to copy some error information here, I'd be happy to make some suggestions as to what may be the cause.

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).

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.

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).

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.