Closed (fixed)
Project:
Filemanager
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2005 at 12:13 UTC
Updated:
11 Nov 2005 at 22:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
phacka commentedalso replace "SUM(size) size" with "SUM(size) AS size"
Comment #2
nellisjp commentedThere is one more thing that needs to be 'tweaked' before the filemanager will work with Postgres. In the filemanger_add_file function, you need to change the insert statement:
to this
And in the function filemanager_promote_working:
to this
Postgres handles boolean values differently than MySQL, so it is necessary to cast the 'active' and 'private' values to integers instead of strings.
Comment #3
nellisjp commentedWhoops. Kings 'X'. I completely misinterpreted what was going on with those boolean values. Sure, the above 'fix' worked for me with publicly accessible files, but when I switched over to private files, all hell broke loose. My apologies.
Comment #4
Zed Pobre commentedI'm attaching a patch correcting the immediately visible problems with AS being missing.
There remains a problem with private files not being copied properly.
Comment #5
ccourtne commentedfixed the as problem... I dont' have postgres anywhere so I can't test the current module with it.
Comment #6
(not verified) commented