You are viewing the PKP Support Forum | PKP Home Wiki

File Browser "Create Directory" fails

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.

File Browser "Create Directory" fails

Postby drunix » Fri Jun 09, 2006 10:08 am

In the Journal Manager "Files Browser" page I enter anything as a directory name and click "Create Directory". It fails with this message

The requested URL /index.php/hpej/manager/fileMakeDir/:"/" was not found on this server.

Apache/2.0.55 (Trustix Secure Linux/Linux) PHP/5.0.5 DAV/2 mod_perl/2.0.0 Perl/v5.8.7 Server at ojs.ihpva.org Port 80

I am using the latest download of OJS,
Any suggestions on how to get it going would be greatly appreciated.
Posts: 2
Joined: Fri Jun 09, 2006 9:23 am
Location: Corvallis, Oregon

Postby asmecher » Fri Jun 09, 2006 10:37 am

Hi drunix,

See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2246 for the Bugzilla entry for this issue, including a patch to fix it. If you're not familiar with patch tools, you can fix the problem as follows:
  • Edit templates/manager/files/index.tpl
  • Go to line 74, which reads:
    Code: Select all
    <form method="post" action="{url op="fileMakeDir" path=$currentDirexplode:"/"}" enctype="multipart/form-data">
  • Add a "pipe" character, |, between "currentDir" and "explode" to end up with:
    Code: Select all
    <form method="post" action="{url op="fileMakeDir" path=$currentDir|explode:"/"}" enctype="multipart/form-data">
This will be fixed in our next release, which is due in under a month.

Alec Smecher
Open Journal Systems Team
Last edited by asmecher on Wed Dec 13, 2006 12:19 pm, edited 1 time in total.
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby drunix » Fri Jun 09, 2006 10:51 am


It worked.
Posts: 2
Joined: Fri Jun 09, 2006 9:23 am
Location: Corvallis, Oregon

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests