If i send e-mail as an Journal Managers everything is ok, if i try send email as editors e-mail is send but redirect site is wrong:
404 Not FoundStack Trace:
File: /home/www/organizacja/zz/public_html/lib/pkp/classes/core/PKPPageRouter.inc.php line 184
Function: Dispatcher->handle404()
File: /home/www/organizacja/zz/public_html/lib/pkp/classes/core/Dispatcher.inc.php line 134
Function: PKPPageRouter->route(Object(Request))
File: /home/www/organizacja/zz/public_html/lib/pkp/classes/core/PKPApplication.inc.php line 178
Function: Dispatcher->dispatch(Object(Request))
File: /home/www/organizacja/zz/public_html/index.php line 67
Function: PKPApplication->execute()
Version OJS 2.4.7.1
PHP version 5.4.45
Apache/2.2.15 (CentOS)
Database driver mysql
Database server version 5.1.73
In OJS systems is 3 journals with separate domains
My test .htaccess` Options +FollowSymLinks
RewriteEngine On
RewriteBase /
I assume from that page you click on the “Notify Author” mail link. That link should look like “https:// zz2.uek.krakow.pl /zz2/sectionEditor/emailEditorDecisionComment?articleId=301”
Does the address bar reflect that URL on the next page? I assume that next page is where you see the 404 error.
Can you clarify the workflow you are seeing? For example,
I’m on “#6015 Review” (/index.php/journal/editor/submissionReview/6015). I click on the “Notify Author” email link (/index.php/journal/editor/emailEditorDecisionComment?articleId=6015).
I fill out the “Send Email” screen (/index.php/journal/editor/emailEditorDecisionComment?articleId=6015) and click “Send” (POST /index.php/journal/editor/emailEditorDecisionComment/send)
The form post successfully sends the email and initiates a redirect to (/index.php/journal/editor/submissionReview/6015).
Where I actually end up is “#6015 Review” again (/index.php/journal/editor/submissionReview/6015).
Where precisely is the breakdown for you, and what URL appears in the address bar when you see the 404?
Im no good i php
I suspect that the error is not in the php code only. same thing happens because the .htacces.
I have 3 differnt journals in OJS, home domain OJS, for example
zz.uek.krakow.pl
and for 3 journals:
zz1.uek.krakow.pl
zz2.uek.krakow.pl
zz3.uek.krakow.pl
My htaccess file is above
In homesite OJS (zz.uek.krakow.pl) all link is fine.
But if I’m on pages zz1.uek.krakow.pl
Link HOME redirect to index site zz.uek.krakow.pl not to home site zz1.uek.krakow.pl
Without .htaccess redirect link HOME for domain zz1.uek.krakow.pl look like:
zz.uek.krakow.pl/index.php/zz1
Thank you very much thread come in handy I changed the lines
13 and 17 in templates/common/navbar.tpl
13 - <li id="home"><a href="{url page=" "}">{translate key="navigation.home"}</a></li>
17 - <li id="userHome"><a href="{url page="user"}">{translate key="navigation.userHome"}</a></li>
solved the problem for me.