Custom Locale Plugin not working

Dear,

I have problems with the Custom Locale Plugin. When I try to use change certain XML wile with it I get 404 error (File or directory not found). First I thought the problem is with permissions of the public\journals directory, but everything else is working (issuing issues,…), so I guess this is not the issue.

Any idea what to investigate?

Regards, Primož

Can you detail the steps you take to get the error?

Also, what is the URL that results in the 404?

Hello,

The steps? Nothing special:

  • the plugin is enabled
  • Journal Manager → System Plugins → Generic Plugins → Custom Locale Plugin (CUSTOMIZE)
  • selecting English locale (EDIT)
  • editing whatever file (lets say the first, common.xml) results in error

The URL is:
manager/plugin/generic/customlocaleplugin/editLocaleFile/en_US/lib%25252Fpkp%25252Flocale%25252Fen_US%25252Fcommon.xml

It is a Windows IIs system.

Regards, Primož

That URL seems like it should be OK. Because there is no “index.php” or journal prefix, I assume you using URL rewriting to shorten the path in combination with the restful_urls option?

What version of OJS are you using?

Hello,

I am sorry, the ful path is
http://vestnik.szd.si/index.php/ZdravVest/manager/plugin/generic/customlocaleplugin/editLocaleFile/en_US/lib%252Fpkp%252Flocale%252Fen_US%252Fcommon.xml

Does that make a difference?

Regards, Primož

Hmmmm… no, I don’t see why that would be returning a 404.

What OJS version are you running? What version of IIS?

Hello,

I have two installations, both OJS 2.4.3; one is IIS 6 and the other is IIS 8.

Regards, Primož

This looks like a security restriction in IIS. See, for example:

1 Like

Hello,

Great, that was exactly the problem. Thank you very much!

Regards, Primož