You are viewing the PKP Support Forum | PKP Home Wiki

Import error

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Import error

Postby makemywish » Sun Sep 29, 2013 2:40 pm


Would be glad if someone can help me here:

I am trying to import users into a new install. After uploading the users.xml file, you see the "Confirm that these are the users you would like to import into the system:" message with the "Cannot use passwords hashed with sha1; OJS is configured to use md5. If you continue, you will need to reset the imported users' passwords." message and the list of users. On clicking the import users button, the following error message is generated:


You don't have permission to access /index.php/journal/manager/importexport/plugin/UserImportExportPlugin/import on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The server error log returned this:

[29-Sep-2013 21:27:46 UTC] ojs2 has produced an error
Message: WARNING: set_time_limit() [<a href='function.set-time-limit'>function.set-time-limit</a>]: Cannot set time limit in safe mode
In file: /home/subalternmedia/public_html/widescreenjournal.org/plugins/importexport/users/UserImportExportPlugin.inc.php
At line: 70
Server info:
OS: Linux
PHP Version: 5.3.23
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.32-cll

I am on a shared hosting and have placed a php.ini file with safe mode = off.

Posts: 34
Joined: Tue Jul 22, 2008 12:30 pm

Re: Import error

Postby makemywish » Sun Sep 29, 2013 2:56 pm

Hosting was kind enough to turn off PHP safe mode, yet the problem is not resolved.
Posts: 34
Joined: Tue Jul 22, 2008 12:30 pm

Re: Import error

Postby asmecher » Sun Sep 29, 2013 9:29 pm

Hi Kishore,

I don't think that "forbidden" error is coming from OJS; check to make sure you haven't got a firewall or mod_security configuration that's intervened. This should be captured somewhere in the server log files, depending on your specific configuration.

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

Return to OJS Technical Support

Who is online

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