Drupal 7 on Windows - File Module Problems
- by TimothyP
Installed Drupal 7 using the Web Platform installer on Windows 2008
For some reason, the file module, when you upload a file, uses the first
few letters of the filename as the unique key to store in the database, which of course causes problems very fast.
I'm wondering does anybody have a workaround for this?
An AJAX HTTP request terminated
abnormally. Debugging information
follows. Path:
/file/ajax/field_file/und/0/form-EBMatHzV5cZXcWvXJtdADSdyw7Id9-GIpFM_NCJg_a4
StatusText: n/a ResponseText: Error
message PDOException: SQLSTATE[23000]:
[Microsoft][SQL Server Native Client
10.0][SQL Server]Cannot insert duplicate key row in object
'dbo.file_managed' with unique index
'uri_unique'. in drupal_write_record()
(line 6776 of
..........\includes\common.inc). Error
The website encountered an unexpected
error. Please try again later.
ReadyState: undefined
(PS: I hope superuser is the right place to ask)