OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Error on registering new journal title

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.

Error on registering new journal title

Postby drjhf » Thu Mar 09, 2006 4:39 pm

When registering a new journal title, I get this error:

Warning: mkdir(public/journals/10): File exists in /usr/local/ojs-2.0.2-1/classes/file/FileManager.inc.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/ojs-2.0.2-1/classes/file/FileManager.inc.php:239) in /usr/local/ojs-2.0.2-1/classes/core/Request.inc.php on line 32

It appears to be a spurious error, though, as I can go back to the main listing of journal titles and the new one is there and working fine for setup purposes. I did not see this error mentioned in the Forum.
drjhf
 
Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

Postby asmecher » Thu Mar 09, 2006 5:58 pm

Hello drjhf,

Is this a repeatable error, or did it only appear once? (For example, if you create another journal, does the message appear repeatably?)

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 9208
Joined: Wed Aug 10, 2005 12:56 pm

Consistent error

Postby drjhf » Thu Mar 09, 2006 8:01 pm

This has repeated for each of 5 journals on the one site. Same error precisely. And yet the new journal title is always created properly.
drjhf
 
Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

Postby asmecher » Thu Mar 09, 2006 9:29 pm

Hmm... Are you running Apache 2.0? What version of PHP are you running? I've had one report of a similar problem, but I wasn't able to track it down. If you provide me with some details, I can investigate further.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 9208
Joined: Wed Aug 10, 2005 12:56 pm

Postby drjhf » Tue Mar 14, 2006 12:39 pm

We are running PHP 4.3.10-16 and Apache 1.3.33.

In addition, when I went into one existing journal and, as journal manager, created a new user, I received this error:

Fatal error: Call to a member function on a non-object in /usr/local/ojs-2.0.2-1/classes/manager/form/UserManagementForm.inc.php on line 232

Interestingly enough, when refreshing the user list, the person was listed.

Thanks
drjhf
 
Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

Postby asmecher » Tue Mar 14, 2006 1:02 pm

Hi drjhf,

The error message you mention has been corrected in OJS 2.1 (see http://research2.csci.educ.ubc.ca/cgi-b ... 27;r2=1.28); the earlier problem with duplicate journals, however, is still an unknown and I can't reproduce it. If you're able to discover the cause, please let me know.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 9208
Joined: Wed Aug 10, 2005 12:56 pm

New problem in 2.1 on creating new title

Postby drjhf » Wed Jun 07, 2006 1:51 pm

In a completely new installation on a different server, when I create a new journal title and save it, the screen refreshes and becomes a blank screen, with this code as viewable (see below). Any thoughts? Going to the journal page and refreshing shows that the new title was created...
Thanks, Alec


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Journal Settings</title>
<meta name="description" content="" />
<meta name="keywords" content="" />

<link rel="stylesheet" href="http://scholarlyexchange.acons.com/ojs/styles/common.css" type="text/css" />

<script type="text/javascript" src="http://scholarlyexchange.acons.com/ojs/js/general.js"></script>

</head>
<body>
<div id="container">

<div id="header">
<div id="headerTitle">
<h1>
Scholarly Exchange
</h1>
</div>
</div>

<div id="body">

<div id="sidebar">

<div class="block">
<a href="http://pkp.sfu.ca/ojs/" id="developedBy">Open Journal Systems</a>
</div>

<div class="block">
<a href="javascript:openHelp('http://scholarlyexchange.acons.com/ojs/index.php/index/help/view/site/topic/000002')">Journal Help</a>
</div>

<div class="block">

<span class="blockTitle">User</span>
You are logged in as...<br />
<strong>context1</strong>

<ul>
<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/user">My Journals</a></li>
<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/user/profile">My Profile</a></li>

<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/login/signOut">Log Out</a></li>
</ul>
</div>



<div class="block">
<span class="blockTitle">Journal Content</span>

<span class="blockSubtitle">Search</span>

<form method="post" action="http://scholarlyexchange.acons.com/ojs/index.php/index/search/results">
<table>
<tr>
<td><input type="text" id="query" name="query" size="15" maxlength="255" value="" class="textField" /></td>
</tr>
<tr>
<td><select name="searchField" size="1" class="selectMenu">
<option label="All" value="">All</option>

<option label="Authors" value="1">Authors</option>
<option label="Title" value="2">Title</option>
<option label="Abstract" value="4">Abstract</option>
<option label="Index terms" value="120">Index terms</option>
<option label="Full Text" value="128">Full Text</option>

</select></td>
</tr>
<tr>

<td><input type="submit" value="Search" class="button" /></td>
</tr>
</table>
</form>

<br />

</div>

</div>

<div id="main">
<div id="navbar">

<ul class="menu">
<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/index">Home</a></li>
<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/about">About</a></li>
<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/user">User Home</a></li>
<li><a href="http://scholarlyexchange.acons.com/ojs/index.php/index/search">Search</a></li>
</ul>
</div>

<div id="breadcrumb">
<a href="http://scholarlyexchange.acons.com/ojs/index.php/index/index">Home</a> &gt;
<a href="http://scholarlyexchange.acons.com/ojs/index.php/index/user" class="hierarchyLink">User</a> &gt;
<a href="http://scholarlyexchange.acons.com/ojs/index.php/index/admin" class="hierarchyLink">Site Administration</a> &gt;
<a href="http://scholarlyexchange.acons.com/ojs/index.php/index/admin/updateJournal" class="current">Journal Settings</a>

</div>

<h2>Journal Settings</h2>

<div id="content">
<br />

<form method="post" action="http://scholarlyexchange.acons.com/ojs/index.php/index/admin/updateJournal">


<p>
<span class="formError">Errors occurred processing this form:</span>
<ul class="formErrorList">

<li>The selected path is already in use by another journal.</li>
</ul>
</p>

<p><span class="instruct">You will automatically be enrolled as the manager of this journal. After creating a new journal, enter it as a manager to continue with its setup and user enrollment.</span></p>

<table class="data" width="100%">
<tr valign="top">
<td width="20%" class="label"><label for="title">Journal title*</label></td>
<td width="80%" class="value"><input type="text" id="title" name="title" value="Test Journal 4" size="40" maxlength="120" class="textField" /></td>

</tr>
<tr valign="top">
<td class="label"><label for="description">Journal description</label></td>
<td class="value"><textarea name="description" id="description" cols="40" rows="10" class="textArea"></textarea></td>
</tr>
<tr valign="top">
<td class="label"><label for="title">Path*</label></td>

<td class="value">
<input type="text" id="path" name="path" value="TJ4" size="16" maxlength="32" class="textField" />
<br />

<span class="instruct">The journal's URL will be http://scholarlyexchange.acons.com/ojs/index.php/path</span>
</td>
</tr>
<tr valign="top">
<td colspan="2" class="label">

<input type="checkbox" name="enabled" id="enabled" value="1" checked="checked" /> <label for="enabled">Enable this journal to appear publicly on the site</label>
</td>
</tr>
</table>

<p><input type="submit" value="Save" class="button defaultButton" /> <input type="button" value="Cancel" class="button" onclick="document.location.href='http://scholarlyexchange.acons.com/ojs/index.php/index/admin/journals'" /></p>

</form>

<p><span class="formRequired">* Denotes required field</span></p>


</div><!-- content -->
</div><!-- main -->
</div><!-- body -->



</div><!-- container -->
</body>
</html>
drjhf
 
Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

Postby asmecher » Wed Jun 07, 2006 2:22 pm

Hi Julian,

This kind of odd behavior usually indicates an out-of-memory situation; check to make sure that your system's php.ini has a high enough memory_limit (generally 12M or 16M suffices).

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 9208
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests