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
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.

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: Yahoo [Bot] and 3 guests