You are viewing the PKP Support Forum | PKP Home Wiki

Error OJS

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Error OJS

Postby erasermg » Fri Nov 01, 2013 1:05 pm


This happening the following error in my OJS:

DB error: Data too long for columm 'original_file_name' at row 1

How to solve this problem?

Thank you,

Posts: 1
Joined: Fri Nov 01, 2013 1:00 pm

Re: Error OJS

Postby asmecher » Fri Nov 01, 2013 2:03 pm

Hi Thiago,

The original filename of the file you're uploading is too long for OJS's database column for that purpose. The quickest solution is to rename the file to a shorter name before uploading it; a server-side solution would be to extend the length of that column (article_files.original_file_name) in MySQL.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 9 guests