postgres sql error in fscache when uploading files

Created on 13 October 2004, about 20 years ago
Updated 21 March 2023, almost 2 years ago

when I click on create content/upload file I get the following error at the top of the page:

warning: pg_query(): Query failed: ERROR: invalid input syntax for integer: "" in /usr/local/apache/htdocs/includes/database.pgsql.inc on line 104.

user error:
query: SELECT fs.* FROM fscache fs WHERE fs.fsid = '' in /usr/local/apache/htdocs/includes/database.pgsql.inc on line 121.

I can however still submit a file... when you preview the submission, there are no areas of the top of the page, and after submitting the file upload there are no errors -- the error only occurs when you try to create content.

running: drupal 4.5 RC, postgres 7.4.5, rhes3, apache 1.x
* $Id: filestore2.module,v 1.16 2004/09/13 01:38:31 gordon Exp $
* $Id: fscache.module,v 1.7 2004/09/10 03:10:18 gordon Exp $

🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

🇺🇸United States michaelemeyers NY, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I am closing this issue, since it is for a Drupal version that now is not supported.
    Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version.

Production build 0.71.5 2024