I've "installed" fscache and filestore2 (cvs) by putting the .module files in the Module folder and the .mysql files in the Database folder. I get this error when I look at the fscache "Check Database" function under Configurations -> Modules -> fscache
user error: Table 'drupal.fscache' doesn't exist
query: SELECT * FROM fscache fs ORDER BY fs.fsid in /Users/admin/Sites/WebServer/Drupal/includes/database.mysql.inc on line 97.
What do I need to do so I can have people upload/download files using Drupal 4.2? Also, when I go to create content then upload a file it lets me browse the file. When I hit the preview key it refreshes the page and the file is gone. I went into User Configuration and checked the boxes to let people upload and download files.
Email me if you can: lamb0176@umn.edu
Comments
You do not need to put the
You do not need to put the mysql-files in the database folder but you need to import it into your database using for example phpMyAdmin.
Import
OK, they are imported but I'm still having my problem. When I go to create content -> upload file, I can select the file I want. When I hit preview (it doesn't give me a post option), it just reloads but the file I selected is gone. What gives?
fscache and filestore2 will
fscache and filestore2 will not work with drupal 4.2 You will need to use filestore.
--
Gordon Heydon
Heydon Consulting
--
Gordon Heydon
Thanks...
That seems to work but now when I try to upload a file I get this error when I submit:
Fatal error: Call to undefined function: db_escape_string() in /Users/admin/Sites/WebServer/Drupal/modules/filestore.module on line 558
Hmm
So it looked like a version problem. I'm running Drupal 4.2 and I installed the 4.4 filestore to get it to work.
You need to install version
You need to install version 4.2 of filestore with 4.2 of drupal.
--
Gordon Heydon
Heydon Consulting
--
Gordon Heydon