OCS Problem. rawurlencode() expects parameter 1 to be string, array given In file:

Dear all,

I use Open Conference Systems 2.3.6.0.
In Step 2. Submissions, when i click ‘save and continue’ button always got an error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@sciencebiology.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

when i check on error_log in server, looks like this:

[16-Aug-2017 04:17:05 America/New_York] ocs2 has produced an error
  Message: WARNING: rawurlencode() expects parameter 1 to be string, array given
  In file: /home/scienceb/public_html/conference/lib/pkp/classes/core/PKPPageRouter.inc.php
  At line: 316
  Stacktrace: 
  Server info:
   OS: Linux
   PHP Version: 5.3.29
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.6.36-cll-lve

need some help please. Thank you so much.

Best regard,
Riyanto

Hi @justofeel,

That’s a warning, so wouldn’t explain a 500 error. I wonder whether your web server is running mod_security or similar, and is mistakenly interrupting the request as a potential security problem. This should be logged e.g. in your Apache error log.

Regards,
Alec Smecher
Public Knowledge Project Team

dear @asmecher,

Thank you so much. Any suggest for me to fix it? or what i have to do to fix this problem?

Best regards,
Riyanto

Hi @justofeel,

If it is a mod_security problem, you’ll need to tweak that module’s configuration or (if you don’t have that option) disable it. That’s an Apache configuration issue, not an OJS issue, and outside the scope of this forum. I’d suggest checking the security log to confirm if this is what happened.

Regards,
Alec Smecher
Public Knowledge Project Team

dear @asmecher,

I will try to contact our provider. Thank you so much for the suggest, and sorry if my question is outside the scope of this forum.

Best regards,
Riyanto