oai blank when access from browser

Please, someone help.

our oai endpoint blank when access from browser but ok when using curl

but, print result from curl process there are tag <?php in the first line

how we fixing it.

we are using OJS 2

Hello @Telnect_Journal,

Please note that the version of OJS that you’re using is no longer maintained or supported by PKP. I recommend that you upgrade to the newest version of OJS. However, other community members may wish to offer assistance with your question.

You may find the following resources helpful in preparing for and performing the upgrade:

These resources will introduce you to OJS 3 and how it is different from OJS 2:

You may need to seek professional support to upgrade your installation. This can usually be acquired from the service provider that hosts or maintains your software, such as the technical support team at your institution or a third-party hosting provider.

PKP Team

Hi @Telnect_Journal,

About your specific question, I suspect something or someone has modified one of the PHP scripts in the installation and that’s why you’re seeing strange behaviour. It would be too difficult to identify the modification by checking files one by one; however, upgrading (as Roger suggests) would result in a refreshed set of PHP scripts, so would solve the problem. Alternately (if you’re not ready to upgrade yet) use a file comparison tool like diff to compare your copy of OJS with a fresh download of the same version and identify any changes to PHP scripts that are included with it.

Alec Smecher
Public Knowledge Project Team

1 Like