Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 26. Apr 2024, 17:20

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 27. Jan 2010, 23:00 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
Every time I try to upload a file (even very small ones), it appears to upload properly, but when I check, the file isn't there and I always get this message in the log:

"01.27.2010 15:47:06 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file() [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: Unable to move '/mnt/nfs/tmp/php/uploads/phpfZ6J4K' to 'upload/mwj-mic_interview.pdf'"

If anyone can help me out as to why this is happening and how I can fix this, I'd appreciate it. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: 27. Jan 2010, 23:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Please provide some more details first:

http://www.tinywebgallery.com/forum/vie ... php?t=1491

Seems your php does not allow to move the file to the right place. Normally this is a configuration error of your server.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Jan 2010, 23:21 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
Sorry about that...

I'm using version 1.5.7 for Joomla and 2.10.5 for JFU. This has been an ongoing issue long before I ever started working on it, so I'm not sure how it originated. Apparently, it was working a few months ago though.

Any idea what on the server could have possibly changed? If you still need more info, let me know. Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: 27. Jan 2010, 23:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
which webserver? maybe the temp upload folder has the wrong permissions.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 15:40 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
The site I'm working on is: http://www.presentationsplus.net

The web server hosting it is Exobit: http://www.exobitnetworks.com/


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 17:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
can you use the default html uploader from joomla? Because there the same upload directory is used.

Additionally you could set the temp upload directory manually to a directory you know!

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 19:19 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
i went into config > administrator front end > flash uploader settings and created a folder jfu_uploads, which is relative to the main Joomla folder. The jfu_uploads folder have rights to do everything (777). Same situation happens though...I upload a small PDF, it appears to upload properly, but when I check the jfu_uploads folder, it's still blank. I even changed the folder to Images and got the same result.


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 19:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
which config? Joomla? Have you tried with the internal html upload?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 20:13 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
i logged into the back end of the site, then went to components > joomla flash uploader. sorry, i'm not sure what you mean by internal html upload.


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 20:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The html upload in the Joomla media manager.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 20:43 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
yeah, im able to upload successfully that way. I uploaded the same file and it appears in the right directory.


Top
 Profile  
 
 Post subject:
PostPosted: 28. Jan 2010, 21:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
o.k. In Joomla it's possible that they use the tmp directory for internal upload.

can you enable the upload debug in the JFU configuration? Then you should see how far you get at the upload.

The next options would be to set the temp php upload directory to the same one joomla is using.
Then you have to set the upload_tmp_dir on your server.

And can you check if maybe the save mode is enabled?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Jan 2010, 00:04 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
the upload debug ive had enabled the whole time (that was the error i pasted from the log in the 1st post)

not sure if u meant save or safe mode, but in joomla, i went to help > system info > php settings and "Safe Mode" is off. i also went under "Configuration File" and the variable $tmp_path is set to a folder called "tmp" under the "Joomla" folder if that means anything. Don't know where or how to change it tho...


Top
 Profile  
 
 Post subject:
PostPosted: 29. Jan 2010, 00:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Can you give me the output of all steps until it fails? Should start with 1 ...

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Jan 2010, 16:21 
Offline

Joined: 27. Jan 2010, 22:56
Posts: 10
here is the log when i try to upload again:

01.29.2010 9:13:36 - Config call or illegal direct access or missing session settings - browser has to be closed to get a new session: PHPSESSID=8d971e4aa26bcbf930977d7498c4c19f

01.29.2010 9:13:36 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file(upload/nbm550_datasheet.pdf) [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: failed to open stream: No such file or directory

01.29.2010 9:13:36 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 117: move_uploaded_file() [_a href='function.move-uploaded-file'_function.move-uploaded-file_/a_]: Unable to move '/mnt/nfs/tmp/php/uploads/phpLCceOX' to 'upload/nbm550_datasheet.pdf'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy