OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Blank page after clicking on Create issue

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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

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 OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Blank page after clicking on Create issue

Postby Ajakss » Thu Jul 12, 2012 1:29 am

Dear,

As a editor I would like to create new issue but after clicking on Create issue (or Future issue) I get the blank page. I have changed the permissions but the problem remains the same. Furthermore, some of the management pages are unavailable (e.g. file browser). I do not know what should I do. The errors does not explain the solution:

ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at .../ojs/lib/pkp/classes/core/PKPApplication.inc.php:368) In file: .../ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php At line: 295 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(2, "Cannot modify header information - headers already sent by (output started at .../ojs/lib/pkp/classes/core/PKPApplication.inc.php:368)", ".../ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php", 295, Array(7)) File: .../ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php line 295 Function: header("Content-Type: text/html; charset=utf-8") File: .../ojs/lib/pkp/classes/form/Form.inc.php line 209 Function: PKPTemplateManager->display("editor/issues/createIssue.tpl", Null, Null, True) File: .../ojs/lib/pkp/classes/form/Form.inc.php line 148 Function: Form->fetch(Null, Null, True) File: .../ojs/classes/issue/form/IssueForm.inc.php line 62 Function: Form->display() File: .../ojs/pages/editor/IssueManagementHandler.inc.php line 147 Function: IssueForm->display() File: (unknown) line (unknown) Function: IssueManagementHandler->createIssue(Array(0), Object(Request)) File: .../ojs/lib/pkp/classes/core/PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(0), Object(Request)) File: .../ojs/lib/pkp/classes/core/PKPPageRouter.inc.php line 266 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False) File: .../ojs/lib/pkp/classes/core/Dispatcher.inc.php line 129 Function: PKPPageRouter->route(Object(Request)) File: .../ojs/lib/pkp/classes/core/PKPApplication.inc.php line 180 Function: Dispatcher->dispatch(Object(Request)) File: .../ojs/index.php line 65 Function: PKPApplication->execute()

ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at .../ojs/lib/pkp/classes/core/PKPApplication.inc.php:368) In file: .../ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php At line: 298 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(2, "Cannot modify header information - headers already sent by (output started at .../ojs/lib/pkp/classes/core/PKPApplication.inc.php:368)", ".../ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php", 298, Array(7)) File: .../ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php line 298 Function: header("Cache-Control: no-store") File: .../ojs/lib/pkp/classes/form/Form.inc.php line 209 Function: PKPTemplateManager->display("editor/issues/createIssue.tpl", Null, Null, True) File: .../ojs/lib/pkp/classes/form/Form.inc.php line 148 Function: Form->fetch(Null, Null, True) File: .../ojs/classes/issue/form/IssueForm.inc.php line 62 Function: Form->display() File: .../ojs/pages/editor/IssueManagementHandler.inc.php line 147 Function: IssueForm->display() File: (unknown) line (unknown) Function: IssueManagementHandler->createIssue(Array(0), Object(Request)) File: .../ojs/lib/pkp/classes/core/PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(0), Object(Request)) File: .../ojs/lib/pkp/classes/core/PKPPageRouter.inc.php line 266 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False) File: .../ojs/lib/pkp/classes/core/Dispatcher.inc.php line 129 Function: PKPPageRouter->route(Object(Request)) File: .../ojs/lib/pkp/classes/core/PKPApplication.inc.php line 180 Function: Dispatcher->dispatch(Object(Request)) File: .../ojs/index.php line 65 Function: PKPApplication->execute()


I would be very appreciate for your help.

Kind regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am

Re: Blank page after clicking on Create issue

Postby asmecher » Thu Jul 12, 2012 9:12 am

Hi Adam,

Errors of the form "WARNING: Cannot modify header information - headers already sent" are happening because some earlier part of the code has already started sending output to the browser. Often this is an error message. Generally speaking, if you resolve that error message, this one will go away too.

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

Re: Blank page after clicking on Create issue

Postby Ajakss » Thu Jul 12, 2012 9:53 am

Hi Alec,

thanks for your reply. I am quite newbie. Does my admin resolve this problem? What should I do in order to fix it? Many thanks in advance for your help.

Kind regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am

Re: Blank page after clicking on Create issue

Postby asmecher » Thu Jul 12, 2012 10:01 am

Hi Adam,

Is there nothing further in your error log?

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

Re: Blank page after clicking on Create issue

Postby Ajakss » Thu Jul 12, 2012 10:09 am

Hi Alec,

there is a full message after clicking on button Create Issue. I tried to change permissions but no effect. Any help would be greatly appreciate.

Kind regards,

Adam

ojs2 has produced an error Message: WARNING: Missing argument 1 for PaymentManager::PaymentManager(), called in /var/www/plain/infotezy/ojs/classes/payment/ojs/OJSPaymentManager.inc.php on line 35 and defined In file: /var/www/plain/infotezy/ojs/lib/pkp/classes/payment/PaymentManager.inc.php At line: 22 Stacktrace: File: /var/www/plain/infotezy/ojs/lib/pkp/classes/payment/PaymentManager.inc.php line 22 Function: PKPApplication->errorHandler(2, "Missing argument 1 for PaymentManager::PaymentManager(), called in /var/www/plain/infotezy/ojs/classes/payment/ojs/OJSPaymentManager.inc.php on line 35 and defined", "/var/www/plain/infotezy/ojs/lib/pkp/classes/payment/PaymentManager.inc.php", 22, Array(0)) File: /var/www/plain/infotezy/ojs/classes/payment/ojs/OJSPaymentManager.inc.php line 35 Function: PaymentManager->PaymentManager() File: /var/www/plain/infotezy/ojs/classes/template/TemplateManager.inc.php line 115 Function: OJSPaymentManager->getManager() File: /var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php line 340 Function: TemplateManager->TemplateManager(Null) File: /var/www/plain/infotezy/ojs/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php line 36 Function: PKPTemplateManager->getManager() File: /var/www/plain/infotezy/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php line 62 Function: ExternalFeedPlugin->register("generic", "plugins/generic/externalFeed") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php line 137 Function: PluginRegistry->register("generic", Object(ExternalFeedPlugin), "plugins/generic/externalFeed") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/Dispatcher.inc.php line 127 Function: PluginRegistry->loadCategory("generic", True) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php line 180 Function: Dispatcher->dispatch(Object(Request)) File: /var/www/plain/infotezy/ojs/index.php line 65 Function: PKPApplication->execute() Server info: OS: Linux PHP Version: 5.3.3-7+squeeze13 Apache Version: Apache DB Driver: mysql DB server version: 5.1.63-0+squeeze1
ojs2 has produced an error Message: USER NOTICE: Deprecated import of a partially qualified class name. In file: /var/www/plain/infotezy/ojs/lib/pkp/includes/functions.inc.php At line: 34 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(1024, "Deprecated import of a partially qualified class name.", "/var/www/plain/infotezy/ojs/lib/pkp/includes/functions.inc.php", 34, Array(3)) File: /var/www/plain/infotezy/ojs/lib/pkp/includes/functions.inc.php line 34 Function: trigger_error("Deprecated import of a partially qualified class name.") File: /var/www/plain/infotezy/ojs/plugins/generic/booksForReview/classes/BookForReviewDAO.inc.php line 16 Function: import("db.DAO") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/plugins/PKPPlugin.inc.php line 378 Function: require_once("/var/www/plain/infotezy/ojs/plugins/generic/booksForReview/classes/BookForReviewDAO.inc.php") File: /var/www/plain/infotezy/ojs/plugins/generic/booksForReview/BooksForReviewPlugin.inc.php line 33 Function: PKPPlugin->import("classes.BookForReviewDAO") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php line 62 Function: BooksForReviewPlugin->register("generic", "plugins/generic/booksForReview") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php line 137 Function: PluginRegistry->register("generic", Object(BooksForReviewPlugin), "plugins/generic/booksForReview") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/Dispatcher.inc.php line 127 Function: PluginRegistry->loadCategory("generic", True) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php line 180 Function: Dispatcher->dispatch(Object(Request)) File: /var/www/plain/infotezy/ojs/index.php line 65 Function: PKPApplication->execute() Server info: OS: Linux PHP Version: 5.3.3-7+squeeze13 Apache Version: Apache DB Driver: mysql DB server version: 5.1.63-0+squeeze1
ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php:368) In file: /var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php At line: 295 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(2, "Cannot modify header information - headers already sent by (output started at /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php:368)", "/var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php", 295, Array(7)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php line 295 Function: header("Content-Type: text/html; charset=utf-8") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/form/Form.inc.php line 209 Function: PKPTemplateManager->display("editor/issues/createIssue.tpl", Null, Null, True) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/form/Form.inc.php line 148 Function: Form->fetch(Null, Null, True) File: /var/www/plain/infotezy/ojs/classes/issue/form/IssueForm.inc.php line 62 Function: Form->display() File: /var/www/plain/infotezy/ojs/pages/editor/IssueManagementHandler.inc.php line 147 Function: IssueForm->display() File: (unknown) line (unknown) Function: IssueManagementHandler->createIssue(Array(0), Object(Request)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(0), Object(Request)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php line 266 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/Dispatcher.inc.php line 129 Function: PKPPageRouter->route(Object(Request)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php line 180 Function: Dispatcher->dispatch(Object(Request)) File: /var/www/plain/infotezy/ojs/index.php line 65 Function: PKPApplication->execute() Server info: OS: Linux PHP Version: 5.3.3-7+squeeze13 Apache Version: Apache DB Driver: mysql DB server version: 5.1.63-0+squeeze1
ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php:368) In file: /var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php At line: 298 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(2, "Cannot modify header information - headers already sent by (output started at /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php:368)", "/var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php", 298, Array(7)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php line 298 Function: header("Cache-Control: no-store") File: /var/www/plain/infotezy/ojs/lib/pkp/classes/form/Form.inc.php line 209 Function: PKPTemplateManager->display("editor/issues/createIssue.tpl", Null, Null, True) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/form/Form.inc.php line 148 Function: Form->fetch(Null, Null, True) File: /var/www/plain/infotezy/ojs/classes/issue/form/IssueForm.inc.php line 62 Function: Form->display() File: /var/www/plain/infotezy/ojs/pages/editor/IssueManagementHandler.inc.php line 147 Function: IssueForm->display() File: (unknown) line (unknown) Function: IssueManagementHandler->createIssue(Array(0), Object(Request)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPRouter.inc.php line 370 Function: call_user_func(Array(2), Array(0), Object(Request)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php line 266 Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/Dispatcher.inc.php line 129 Function: PKPPageRouter->route(Object(Request)) File: /var/www/plain/infotezy/ojs/lib/pkp/classes/core/PKPApplication.inc.php line 180 Function: Dispatcher->dispatch(Object(Request)) File: /var/www/plain/infotezy/ojs/index.php line 65 Function: PKPApplication->execute() Server info: OS: Linux PHP Version: 5.3.3-7+squeeze13 Apache Version: Apache DB Driver: mysql DB server version: 5.1.63-0+squeeze1
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am

Re: Blank page after clicking on Create issue

Postby asmecher » Thu Jul 12, 2012 10:32 am

Hi Adam,

There are a number of cosmetic error messages there, i.e. they will not affect OJS's operation. You can fix them by patching https://github.com/pkp/ojs/commit/62424bde7950c54ff72c6598b8765ebcc3ffb009 and http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7229. The only reason they're causing you trouble is that your PHP is configured to display error messages to the browser. You should change your PHP configuration, i.e. using the display_errors directive, to direct error messages to a log file rather than to the viewer's browser. This will cause the "Cannot modify header information" error to disappear.

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

Re: Blank page after clicking on Create issue

Postby Ajakss » Thu Jul 12, 2012 11:30 am

Hi Alec,

thank you very much for your assistance. I have fix them and these errors dissapeared. I think the php configuration has to do my admin.

Thank you again.

Kind regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 4 guests