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 24. Nov 2024, 22:37

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  [ 8 posts ] 
Author Message
PostPosted: 20. Oct 2008, 20:20 
Offline

Joined: 20. Oct 2008, 20:17
Posts: 4
is it possible to save photo's in components/com_morfeoshow/myphoto

if i enter this in joomla flash uploader than it won't save the file's


what do i wrong


Top
 Profile  
 
 Post subject:
PostPosted: 21. Oct 2008, 09:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This should work.

are the files listed that are already in this folder?
is the folder writeable?
What exactly do you do and where does the problem happen?.

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

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Oct 2008, 20:02 
Offline

Joined: 20. Oct 2008, 20:17
Posts: 4
i use joomla 1.5.7
joomla flash upload 2.7.4.2


if i go the upload screen, the files that are already in the directory where listed, but the uploaded file give's an error when completed

"Uploaden niet gelukt. 1 van de 1 bestanden konden niet worden geĆ¼pload."
translation
"Uploaded not succed. 1 off 1 files could not be uploaded"

The string i enterd in the upload folder field is "components/com_morfeoshow/myphoto"

below a part of the log file



Code:

10.21.2008 20:00:47 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 88: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpsQaXyK' to './../../../../components/com_morfeoshow/myphoto/castor_phpXkao8H.jpg'

10.21.2008 20:00:47 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 101: move_uploaded_file(./../../../../components/com_morfeoshow/myphoto/castor_phpXkao8H.jpg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied

10.21.2008 20:00:47 - ERROR 2 in joomla_flash_uploader/tfu/tfu_upload.php, line 101: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpsQaXyK' to './../../../../components/com_morfeoshow/myphoto/castor_phpXkao8H.jpg'


Top
 Profile  
 
 Post subject:
PostPosted: 21. Oct 2008, 22:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have a "permission denied" in the log file.

is the folder you want to upload to writeable for php?

JFU is located in
administrator\components\com_joomla_flash_uploader\tfu

therefore
./../../../../components/com_morfeoshow/myphoto/
should be a valid folder.

If you move a file manually to the upload folder - is it shown on the left side?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Oct 2008, 22:02 
Offline

Joined: 20. Oct 2008, 20:17
Posts: 4
i have alter the file altribute to 777, now i have the problem even with a 800K file that the uploader sas that there is to little server memory to scale down the picture.

this is the server information

Server name: www.valkerijrijssen.nl
PHP upload limit (in KB): 8192
PHP memory limit (in KB): 16384
Max. resize resolution: ~ 1930 x 1449
PHP max input time: 60 s
PHP max execution time: 45 s
Default socket timeout: 60 s

error log

10.22.2008 22:00:58 - File fotos.jpg cannot be processed because not enough memory is available! Needed: ~22134784. Available: 16777216

10.22.2008 22:01:24 - File fotos.jpg cannot be processed because not enough memory is available! Needed: ~22134784. Available: 16777216



resize label is original, 640
resize value is 640, 480


is it somthing i do wrong, or is it a server side problem


Top
 Profile  
 
 Post subject:
PostPosted: 22. Oct 2008, 23:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
It's a server side problem.

800k is the file size.

The memory you need to process a file is the resolution.
Max. resize resolution: ~ 1930 x 1449

You have either to ask your hoster to increate the php memory - 16 MB is very little. 32 or 64 MB are standard right now.
Or ask them to install image magick. This does now need any php memory because it is started externaly.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Oct 2008, 12:40 
Offline

Joined: 20. Oct 2008, 20:17
Posts: 4
if imagemagick is installed, how is it then integrated in joola flash uploader ?


Top
 Profile  
 
 Post subject:
PostPosted: 23. Oct 2008, 14:23 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to enable it manually by editing tfu_config.php.

In the next version this parameter can be set in the backend as well.

$use_image_magic = false; // You can enable image magick support for the resize of the upload. If you know that you have image magic on your server you can set this to true. image magick uses less memory then gd lib and it does copy exif information!
$image_magic_path = 'convert'; // This is the image magick command used to convert the images. convert is the default of image magic.

have to be set properly.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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