FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » FudAPI Examples
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FudAPI Examples [message #35940 is a reply to message #35939] Thu, 22 February 2007 01:07 Go to previous messageGo to previous message
dardhal is currently offline  dardhal   Spain
Messages: 9
Registered: November 2006
Location: Spain
Karma:
Junior Member
Ilia wrote on Thu, 22 February 2007 01:33

I presume you are running this code on the command line? You need to make sure that the files/ directory where the attachments are placed is writable by the user the script run as. In most cases this means you need to chmod the directory 777.


Yes, from the command line, and using FUDforum 2.7.6 and PHP 5.2.0. Tried with both root and www-data, and both files/ and tmp/ directories are owned by www-data and 755, but the problem is the same in both cases.

I stat'ed tmp/ and files/ and while it seems something happens under tmp/ (last modification time is updated), nothing seems to be done under files/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deleting Moderation Queue
Next Topic: integration with a cms (the user database) possible?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 07:42:35 GMT 2024

Total time taken to generate the page: 0.04550 seconds