xoops forums

ahooi

Just popping in
Posted on: 2005/6/15 10:41
ahooi
ahooi (Show more)
Just popping in
Posts: 13
Since: 2005/2/15
#1

xf-section help!

I've installed xf-section 1.0.7 module on Windows 2003 server and the following WAMP environment:
1. Apache 2.0
2. PHP 4.3.11
3. mySQL 4.1
4. XOOPS 2.0.10

Each time i try to upload an attachment to an article, error message shows:


Update failed.
Filename: test.doc

Error code = 19


Does anyone know what error code 19 mean?

Thanks in advance for helping.

Best regards,

ahooi

Just popping in
Posted on: 2005/6/15 10:56
ahooi
ahooi (Show more)
Just popping in
Posts: 13
Since: 2005/2/15
#2

Re: xf-section help!

When I turn on 'PHP Debug', the debugger shows:

Warning [PHP]: move_uploaded_file(C:/ProgramFiles/ApacheGroup/Apache2/htdocs/cms/modules/xfsection/cache/uploaded/843824.doc): failed to open stream: No such file or directory in file C:\Program Files\Apache Group\Apache2\htdocs\cms\modules\xfsection\class\uploadfile.php line 287
Warning [PHP]: move_uploaded_file(): Unable to move 'C:\WINDOWS\TEMP\php5D.tmp' to 'C:/ProgramFiles/ApacheGroup/Apache2/htdocs/cms/modules/xfsection/cache/uploaded/843824.doc' in file C:\Program Files\Apache Group\Apache2\htdocs\cms\modules\xfsection\class\uploadfile.php line 287

Which file should I edit to correct the error?

Thanks...

frankblack

Just can't stay away
Posted on: 2005/6/15 11:00
frankblack
frankblack (Show more)
Just can't stay away
Posts: 830
Since: 2005/6/13
#3

Re: xf-section help!

The mentioned folders need chmod 777. For a full list of the folders to chmod go to the module's administration and look for "path management" or "path manager" (I believe that you see these links in the fly-out-menu when you move your mouse over the xfsection-icon).

chmod all the mentioned folders and everything will be fine.

ahooi

Just popping in
Posted on: 2005/6/15 14:27
ahooi
ahooi (Show more)
Just popping in
Posts: 13
Since: 2005/2/15
#4

Re: xf-section help!

Thank you for your reply.

I've set in the General Configuration 777 for 'File Upload Permission Setting'.

i've checked the ../xfsection/cache/uploaded folder. In Windows 2003, folders always show semi 'Read-only' ticked with grey background colour in the checkbox. Each time I uncheck it, after Apply and OK-ed it, it seems that changes has been done. But when I check the Attribute again, it reverts back to semi-Read-only.