Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
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, michael, jheckman, barbarah, btbell, bdgregg, 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.
by imtechnology » Mon Sep 24, 2012 8:04 pm
Think I've found another bug.
It affects v2.3.7 and also v2.4.0
404 pages are not handled correctly if URLs are in the following format
- Code: Select all
http://www.domainname.com/index.php?option=com_k2
As someone who has merged from a Joomla installation where the URLs were all formatted like this, it is extremely important that these sorts of URLs are handled appropriately and a 404 page is displayed.
You can see what I mean in a live example by visiting the demo website using this address:
http://pkp.sfu.ca/ojs/demo/present/index.php?option=com_k2Any help in resolving this issue would be greatly appreciated.
Ed.
-
imtechnology
-
- Posts: 13
- Joined: Sat Jun 23, 2012 6:46 pm
by asmecher » Mon Sep 24, 2012 9:26 pm
Hi Ed,
Do you mean that you're expecting to see a 404 when e.g. the "option" parameter is something OJS doesn't recognize? That's not a bug -- I can't think of any application will respond that way to a parameter it doesn't use.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5758
- Joined: Wed Aug 10, 2005 12:56 pm
-
by imtechnology » Tue Sep 25, 2012 5:13 pm
Hi Alec!
I do indeed mean that I am expecting a 404 page.
Is there a work around for something like this?
Thanks!
-
imtechnology
-
- Posts: 13
- Joined: Sat Jun 23, 2012 6:46 pm
by asmecher » Tue Sep 25, 2012 10:11 pm
Hi imtechnology,
You would either have to modify the code (lib/pkp/classes/core/PKPPageRouter.inc.php for the most conceptually clean modification, or index.php for the quickest hack OTOH) or make use of mod_rewrite rules or some other Apache-level configuration options. In my opinion, configuring Apache to catch these would be the cleanest solution.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5758
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Technical Support
Who is online
Users browsing this forum: No registered users and 3 guests