OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



OJS 2.4.2 - File Upload/Header error

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, btbell, michael, bdgregg, barbarah, 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.

OJS 2.4.2 - File Upload/Header error

Postby lorenzoat » Sat Mar 29, 2014 10:16 pm

Hi Guys,

I just upgraded my OJS installation to 2.4.2 and now I have the following errors:


ojs2 has produced an error Message: WARNING: shell_exec() has been disabled for security reasons In file: /home/lorenzoa/public_html/rlmm/ojs/lib/pkp/classes/core/String.inc.php At line: 395 Stacktrace: Server info: OS: Linux PHP Version: 5.4.26 Apache Version: N/A DB Driver: mysql DB server version: 5.1.73-cll

ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at /home/lorenzoa/public_html/rlmm/ojs/lib/pkp/classes/core/PKPApplication.inc.php:392) In file: /home/lorenzoa/public_html/rlmm/ojs/lib/pkp/classes/core/PKPRequest.inc.php At line: 87 Stacktrace: Server info: OS: Linux PHP Version: 5.4.26 Apache Version: N/A DB Driver: mysql DB server version: 5.1.73-cll


I checked within this forum for a solution, and everything was pointing to the fileinfo module being active or not. After checking my server and consulting my hosting provider I am afraid I don't have access to "fileinfo due to security reasons". So, I am stuck in what to do now. I checked the mime types and I only have "text/html".

This error, I believe, is also affecting my cron job (email reminders, see below).

Do you have any workaround?. Should I consider moving to a different server?.

Thanks so much....


Error from Cron Job

NOTICE: Undefined index: SCRIPT_NAME (/home/lorenzoa/public_html/rlmm/ojs/lib/pkp/classes/core/PKPRequest.inc.php:165)<br/>
ojs2 has produced an error
Message: WARNING: session_start(): Cannot send session cookie - headers already sent
In file: /home/lorenzoa/public_html/rlmm/ojs/lib/pkp/classes/session/SessionManager.inc.php
At line: 58
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.4.26
Apache Version: N/A
DB Driver: mysql
DB server version: 5.1.73-cll<br/>
ojs2 has produced an error
Message: WARNING: session_start(): Cannot send session cache limiter - headers already sent
In file: /home/lorenzoa/public_html/rlmm/ojs/lib/pkp/classes/session/SessionManager.inc.php
At line: 58
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.4.26
Apache Version: N/A
DB Driver: mysql
DB server version: 5.1.73-cll<br/>
lorenzoat
 
Posts: 30
Joined: Sat Apr 10, 2010 9:41 am

Re: OJS 2.4.2 - File Upload/Header error

Postby lorenzoat » Sun Mar 30, 2014 10:05 am

Hi Guys,

I was able to downgraded my installed PHP (after more than 30min talking with customer service) to the previous "working" one. Now everything is running ok (for now).

Sorry for bother you, but I took the shoot and call the customer service and ask them for a direct manager/supervisor, and it did work.

Thanks again,

Regards.
lorenzoat
 
Posts: 30
Joined: Sat Apr 10, 2010 9:41 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], primozs and 7 guests