1
ahooi
xf-section help!
  • 2005/6/15 10:41

  • ahooi

  • Just popping in

  • Posts: 13

  • Since: 2005/2/15


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,

2
ahooi
Re: xf-section help!
  • 2005/6/15 10:56

  • ahooi

  • Just popping in

  • Posts: 13

  • Since: 2005/2/15


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...

3
frankblack
Re: xf-section help!
  • 2005/6/15 11:00

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


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.

4
ahooi
Re: xf-section help!
  • 2005/6/15 14:27

  • ahooi

  • Just popping in

  • Posts: 13

  • Since: 2005/2/15


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.

Login

Who's Online

159 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits