I have filestore set up and almost working on 4.3, with a taxonomy set up for the files.

When I upload a file, it all works properly. I display them via "/taxonomy/page/or/10" (10 being the term id that I have assigned to the uploaded files). This all works fine.

If I then click the administer link for one of the files and immediately submit (changing nothing) and go back to the "/taxonomy/page/or/10" link, the HTML returned by drupal is truncated halfway through (just after my left blocks, but before the content area starts). I get no main content, no right blocks and no footer. Even worse than that, I get no error logs anywhere. Not in watchdog, not in the mysql logs, and not in the apache error logs.

To back out of this situation, I have to manually remove (with phpMyAdmin) the entries from the node table, the filestore table and the fstore_upload table, as trying to delete them from manage content resulted in the same problem with the confirmation page: HTML truncated after left blocks and no error logs to point me in the right direction.

I also noted that there were a couple bare fstore_upload tables in the SQL queries in the module code. I have added the curly braces in my copy of the module. (I had to as I am using a db_prefix).

I am running this on RedHat 7.2 with Apache 1.3.29 and PHP 4.3.4

CommentFileSizeAuthor
#1 filestore.module.patch1.63 KBMcGraw

Comments

McGraw’s picture

Category: bug » task
StatusFileSize
new1.63 KB

here's a patch for the unescaped table names in the SQL queries in filestore.module (4.3.0)

tait’s picture

Has this problem been fixed for the release 4.4? I'm using 4.3

It's quite difficult to maintain the upload files on the site if the administer option can't be used. Any workaround?

gordon’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Uwe Hermann’s picture

Version: » master
Status: Fixed » Closed (fixed)