1
ToloXoop
WF-Downloads 3.2, unable to upload
  • 2008/11/2 4:13

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Dear all,

I’ve spent a lot of hour trying to upload successfully files using the module WF-Downloads, I really frustrated. The error in debug is the next:

Errors Returned While Uploading
Failed opening directory: http://www.r-b-c.info/uploads/files/
Failed opening directory with write permission: http://www.r-b-c.info/uploads/files/
Failed uploading file: wfd_1225598890490d27aad6144--CV_200806_SPN-WEB.zip
If the page does not automatically reload, please click here

All errors (4) queries (14) blocks (0) extra (0) timers (3)
Errors

Warning: Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45

Warning: move_uploaded_file(http://www.r-b-c.info/uploads/files/wfd_1225598890490d27aad6144--cv_200806_spn-web.zip) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections in file /modules/wfdownloads/class/uploader.php line 409

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpFxwLGm' to 'http://www.r-b-c.info/uploads/files/wfd_1225598890490d27aad6144--cv_200806_spn-web.zip' in file /modules/wfdownloads/class/uploader.php line 409

Warning: unlink() [function.unlink]: http does not allow unlinking in file /modules/wfdownloads/include/functions.php line 1411

Anyone can help me?
Thank you very much.

2
alfred
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/2 8:03

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


check your php,ini if allow_url_fopen is enabled.

3
ToloXoop
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/2 11:49

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Hi dhsoft,

Yes it is enabled:
allow_url_fopen - On

Any other idea?
Thnaks

4
alfred
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/2 13:42

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


what is in the Prefereces to Module wfdownloads as Uploaddir ?
http://www.r-b-c.info/uploads/files/ ?

5
yeppers
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/2 16:01

  • yeppers

  • Just popping in

  • Posts: 27

  • Since: 2008/9/15


make sure you have defined the uploads path properly and that it has the correct permissions.

allow_url_fopen does not have to be enabled for wfdownloads to work.

6
ToloXoop
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/3 13:56

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Hi dhsoft

Quote:

what is in the Prefereces to Module wfdownloads as Uploaddir ?
http://www.r-b-c.info/uploads/files/ ?


The main preferences are:
Server Status
WF-Downloads Meta Version: 3.2.010
Information taken from PHP ini File:
GD Library Support: Enabled (Thumbs Nails Available)
GD Library Version: bundled (2.0.34 compatible)


Safe Mode Status: OFF
Register Globals: OFF
Server Uploads Status: ON
Max Upload Size Permitted: 2M
Max Post Size Permitted: 8M
Server Path to XOOPS Root: /home/rbcinfo/public_html/rbc
Current Upload Path: http://www.r-b-c.info/uploads/files

Note. Upload Path *MUST* contain the full server path of your upload folder.

Hi yeppers

Quote:

make sure you have defined the uploads path properly and that it has the correct permissions.

allow_url_fopen does not have to be enabled for wfdownloads to work.


Permissions for the folder:
http://www.r-b-c.info/uploads/files
are 0777

Thanks.

7
yeppers
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/3 16:40

  • yeppers

  • Just popping in

  • Posts: 27

  • Since: 2008/9/15


Quote:

is wrong.

Quote:

Note. Upload Path *MUST* contain the full server path of your upload folder.


the upload path in preferences must be the full path, not URL.

so in your instance, it should be

/home/rbcinfo/public_html/rbc/uploads/files


8
alfred
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/3 18:51

  • alfred

  • Quite a regular

  • Posts: 249

  • Since: 2005/10/29


jepp
see in your mainfile.php
define("XOOPS_ROOT_PATH",".........

this Path + uploads/files

9
ToloXoop
Re: WF-Downloads 3.2, unable to upload
  • 2008/11/4 1:52

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Great!!!!!! Fixed.

Now it looks obvious.

Thank you very much yeppers and dhsoft you are the best.

Login

Who's Online

283 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 283


more...

Donat-O-Meter

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

Latest GitHub Commits