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 27. Apr 2024, 06:43

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
 Post subject: invalid session
PostPosted: 8. Sep 2009, 16:59 
Offline

Joined: 8. Sep 2009, 16:49
Posts: 3
hello,

i have installed jfu on a world4you server.
when i open the jfu plugin in front or backend my configuration aren't used and no folders/files are displayed.

in tfu.log i got:
- Session data could no be restored
and
Illegal direct access or missing session settings - browser has to be closed to get a new session: PHPSESSID=...

09.08.2009 16:15:28 - ERROR 2 in Unknown, line 0: Unknown: open(...., O_RDWR) failed: No such file or directory (2)

09.08.2009 16:15:28 - ERROR 2 in Unknown, line 0: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct ...

if i set joomla session handler to none, i cannot login anymore, i always get back to the login...


on my local server jfu work perfectly also with session handler database.

please help me.
best regards
dominik


Top
 Profile  
 
 Post subject:
PostPosted: 8. Sep 2009, 18:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is your problem:

Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct ...

you have to set the session save path properly. This is why Joomla does not work with setting the session save handler to none.

On the local server it works because the session save path is set correctly.
JFU does work with setting the session save handler to database. But on the config page I show what is not working then.

you can try to create a folder called session_cache - see http://www.tinywebgallery.com/en/tfu/web_faq.php#1 4.7 - but this shoul be the last option.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 9. Sep 2009, 13:10 
Offline

Joined: 8. Sep 2009, 16:49
Posts: 3
hy,

thanks, this was the solution. now it works.
but i have another question:

i want to use image magic for resizing and watermarking of the pictures while uploading.
how can i do this? i have enabled imagemagic in the configuration but there is an error, that it ist not supported...
when i upload pictures, i got no error from imagemagick etc.

but i know that it works on the server, i have testet it with:
/usr/bin/php_safemode/convert -resize 640x480 ...

so how can i enable it and how is the command??

best regards


Top
 Profile  
 
 Post subject:
PostPosted: 9. Sep 2009, 13:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
set the command with the full path in the config. seems convert is not in the path.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 9. Sep 2009, 20:34 
Offline

Joined: 8. Sep 2009, 16:49
Posts: 3
sorry, but how do i use the command??

something like this:
mogrify -resize 640x480

i would like to resize it and to overlay with a watermark (text or image).

i cannot find an example for this. is there a log or how can i test it?

dominik


Top
 Profile  
 
 Post subject:
PostPosted: 9. Sep 2009, 21:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to set

$image_magic_path='/usr/bin/php_safemode/convert';

if you want to edit the full command you have to search for image_magic_path and modify it in the code.

btw. Watermarks are added by TWG. but here gd lib is used.

- 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: Bing [Bot] and 16 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