ERROR 404 apears in URL links

Hi
I have a problem.
when our reviewers click on the {$reviewAssignmentUrl}, they encounter a 404 error.
This problem also apears for all URL links such as {$submissionsUrl}, {$journalUrl} etc.
Could you please help me for solving this problem?
Thank you very much

We’re also facing this issue where the $reviewAssignmentUrl is seemingly not replaced correctly.

What version of OJS are you using?

3.5
Thank you for your kindely helping

https://oiccpress.com/ijm2c/management/settings/{$reviewAssignmentUrl}

Hi @mybh,

It looks from your other thread like you might be copying and pasting the {$reviewAssignmentUrl} placeholder as though it’s an actual URL. This variable should be replaced with the actual URL when the email is delivered, and will only be available to the reviewer receiving the message.

Can you confirm what the email looks like when the reviewer receives it?

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher,
Thank you for your respone.
What do you mean “actual URL”?
Could you please explain me this with an example?
Sincerely…

Hi @mybh,

What I mean is that you can’t get the reviewer’s link to the submission from the OJS interface – you will only ever see {$reviewAssignmentUrl} there. That’s intentional so that the editor can’t e.g. steal an access key, which might be part of the link. You can only get the real link from the email message that’s delivered to the reviewer. What does that link look like?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

As I indicated in red in the image, by placing {$reviewAssignmentUrl} in the Template, there is no link to click in the email.

Thank you very much

Hi @mybh,

What does the allowed_html setting in your config.inc.php configuration file contain?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher we have the following which are the defaults as far as I know:

; Allowed HTML tags for fields that permit restricted HTML.
; Use e.g. "img[src,alt],p" to allow "src" and "alt" attributes to the "img"
; tag, and also to permit the "p" paragraph tag. Unspecified attributes will be
; stripped.
allowed_html = "a[href|target|title],em,strong,cite,code,ul,ol,li[class],dl,dt,dd,b,i,u,img[src|alt],sup,sub,br,p"

; Allowed HTML tags for submission titles only
; Unspecified attributes will be stripped.
allowed_title_html = "b,i,u,sup,sub"

;N.b.: The implicit_auth parameter has been removed in favor of plugin implementations such as shibboleth

Also I didn’t realise but @mybh and I are working from the same publisher

Thanks!

1 Like

Hi all,

It looks to me like the underlying problem is that something is stripping the links out of the email when it’s being sent – there should be several links in the reviewer invite email, but it looks like possibly all of them are getting stripped out.

Do you see any links in that email message? If not, what about other messages that OJS sends out?

The configuration you quoted above looks fine.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @invisibledragon
Please reply. I don’t have access.