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 4. Nov 2024, 20:08

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  [ 6 posts ] 
Author Message
PostPosted: 20. Dec 2009, 22:02 
Offline

Joined: 20. Dec 2009, 21:53
Posts: 3
I have a problem with my upload, is it possible to upload directly to a folder? it looks like it goes from temp to my upload folder and my server wont allow this. I cant change these settings in php.ini og .httaccess

This small file on 2MB is OK, but bigger will not work because of the move_uploaded_file /temp


09.20.2009 0:07:17 - 1. Config loaded
>
>
>
> 09.20.2009 0:07:17 - 2. Authenification sucessfull
>
>
>
> 09.20.2009 0:07:17 - 3. Directory read: ./../../../../upload
>
>
>
> 09.20.2009 0:07:17 - 4. Check valid extension: any2icon.exe
>
>
>
> 09.20.2009 0:07:17 - 4a. Extension valid.
>
>
>
> 09.20.2009 0:07:17 - 5. Before move_uploaded_file : /tmp/phpyGJ141 ->
> ./../../../../upload/any2icon.exe

>
>
>
> 09.20.2009 0:07:17 - 5a. after move_uploaded_file.
>
>
>
> 09.20.2009 0:07:17 - 6. Uploaded.
>
>
>
> 09.20.2009 0:07:17 - 7. Internal preprocessing done.
>
>
>
> 09.20.2009 0:07:17 - 9. End upload
>
>
>
> 09.20.2009 0:07:17 - 10. End store sessio

My settings look like these:

Server name: haalands(dot)com
PHP upload limit (in KB): 204800
PHP memory limit (in KB): 122880
Max. resize resolution: ~ 5287 x 3970
PHP max input time: 1800 s
PHP max execution time: 1800 s
Default socket timeout: 1800 s

Bigger file over 2 MB, looks like this:

09.20.2009 0:22:26 - 1. Config loaded
>
>
>
> 09.20.2009 0:22:26 - 2. Authenification sucessfull
>
>
>
> 09.20.2009 0:22:26 - 3. Directory read: ./../../../../upload
>
>
>
> 09.20.2009 0:22:26 - 4. Check valid extension: 450d 690.jpg
>
>
>
> 09.20.2009 0:22:26 - 4a. Extension valid.
>
>
>
> 09.20.2009 0:22:26 - 5. Before move_uploaded_file : ->
> ./../../../../upload/450d 690.jpg
>
>
>
> 09.20.2009 0:22:26 - 5a. after move_uploaded_file.
>
>
>
> 09.20.2009 0:22:26 - 5b. retry move_uploaded_file :
> ./../../../../upload/450d 690.jpg
>
>
>
> 09.20.2009 0:22:26 - 6. NOT uploaded.
>
>
>
> 09.20.2009 0:22:26 - 9. End upload
>
>
>
> 09.20.2009 0:22:26 - 10. End store session


Can anyone help with the move_uploaded_file issue? :)


Top
 Profile  
 
 Post subject:
PostPosted: 21. Dec 2009, 00:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you asked your hoster? Seems to be a limitation of your server.

Maybe only files smaller 2 MB are allowed.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Dec 2009, 00:37 
Offline

Joined: 20. Dec 2009, 21:53
Posts: 3
There is a limitation on my server to /tmp global folder (2MB), what I am wondering are there away in the jfu coding to avoid the /tmp folder and move directly to /myupload folder?


Top
 Profile  
 
 Post subject:
PostPosted: 21. Dec 2009, 01:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
can you set the php upload folder to a different directory?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Dec 2009, 02:07 
Offline

Joined: 20. Dec 2009, 21:53
Posts: 3
I can set jfu to upload to whatever directory I want, but I can not change the upload_tmp_dir. The global and local setting is /tmp. If you look here:
#removed_broken_link you can see my settings.
I want the jfu to copy directly to my .../.../.../myupload folder, and not go through /temp on my server. Is that possible? :)


Top
 Profile  
 
 Post subject:
PostPosted: 21. Dec 2009, 10:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
no - the upload uses the standard http upload. There is currently no other way. You could upload the files to a different server and then transfer the file by ftp.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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