OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Add Publication Format error

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

Forum rules
What to do if you have a technical problem with OMP:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OMP Discussion subforum; if you have a development question, try the OMP Development subforum.

Add Publication Format error

Postby thanasis » Mon Nov 05, 2012 2:13 am

Hi all!
When i reach the production stage and i click the add publication format button, i get an "Failed Ajax request or invalid JSON returned." error window.The error log entry looks like this:
omp has produced an error Message: WARNING: assert(): Assertion failed In file: /var/www/omp-1.0b/lib/pkp/classes/codelist/ONIXCodelistItemDAO.inc.php At line: 90 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(2, "assert(): Assertion failed", "/var/www/omp-1.0b/lib/pkp/classes/codelist/ONIXCodelistItemDAO.inc.php", 90, Array(16)) File: /var/www/omp-1.0b/lib/pkp/classes/codelist/ONIXCodelistItemDAO.inc.php line 90 Function: assert(False) File: (unknown) line (unknown) Function: ONIXCodelistItemDAO->_cacheMiss(Object(FileCache), Null) File: /var/www/omp-1.0b/lib/pkp/classes/cache/GenericCache.inc.php line 62 Function: call_user_func_array(Array(2), Array(2)) File: /var/www/omp-1.0b/lib/pkp/classes/cache/FileCache.inc.php line 118 Function: GenericCache->get(Null) File: /var/www/omp-1.0b/lib/pkp/classes/codelist/ONIXCodelistItemDAO.inc.php line 179 Function: FileCache->getContents() File: /var/www/omp-1.0b/controllers/grid/catalogEntry/form/PublicationFormatForm.inc.php line 105 Function: ONIXCodelistItemDAO->getCodes("List7") File: /var/www/omp-1.0b/controllers/grid/catalogEntry/PublicationFormatGridHandler.inc.php line 240 Function: PublicationFormatForm->fetch(Object(Request)) File: /var/www/omp-1.0b/controllers/grid/catalogEntry/PublicationFormatGridHandler.inc.php line 218 Function: PublicationFormatGridHandler->editFormat(Array(2), Object(Request)) File: (unknown) line (unknown) Function: PublicationFormatGridHandler->addFormat(Array(2), Object(Request)) File: /var/www/omp-1.0b/lib/pkp/classes/core/PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(2), Object(Request)) File: /var/www/omp-1.0b/lib/pkp/classes/core/PKPComponentRouter.inc.php line 245 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(2)) File: /var/www/omp-1.0b/lib/pkp/classes/core/Dispatcher.inc.php line 133 Function: PKPComponentRouter->route(Object(Request)) File: /var/www/omp-1.0b/lib/pkp/classes/core/PKPApplication.inc.php line 189 Function: Dispatcher->dispatch(Object(Request)) File: /var/www/omp-1.0b/index.php line 63 Function: PKPApplication->execute() Server info: OS: Linux PHP Version: 5.3.10-1ubuntu3.4 Apache Version: Apache/2.2.22 (Ubuntu) DB Driver: mysql DB server version: 5.5.24-0ubuntu0.12.04.1
{"status":true,"content":"\n


I have included all the recommended patches.Any suggestions?
Thanks in advance

Thanasis Kordas
University of Patras
thanasis
 
Posts: 21
Joined: Mon Oct 15, 2012 3:44 am

Re: Add Publication Format error

Postby asmecher » Mon Nov 05, 2012 7:47 am

Hi Thanasis,

Your PHP installation probably doesn't have an XSL toolset configured. Try enabling your XSL module, or if that's not possible, configuring an external XSL transformer e.g. Xalan via the xslt_command option in config.inc.php. (You'll probably have to flush your cache before any of these changes take effect.)

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8315
Joined: Wed Aug 10, 2005 12:56 pm

Re: Add Publication Format error

Postby thanasis » Thu Nov 08, 2012 1:30 am

Hi everyone!
Thanks Alec that solved the problem.

Regards,
Thanasis Kordas
University of Patras
thanasis
 
Posts: 21
Joined: Mon Oct 15, 2012 3:44 am


Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests