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 23. Nov 2024, 19:16

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  [ 11 posts ] 
Author Message
PostPosted: 18. May 2007, 16:23 
Offline

Joined: 16. May 2007, 15:34
Posts: 7
I just installed Flash Uploader freeware and when I try to use tfu.htm I get the error:

You are trying to use TWG Upload Flash without authentification, the server login failed, expired or the configuration could not be found!

Does anyone know what this means and how to resolve?


Top
 Profile  
 
 Post subject:
PostPosted: 14. Jun 2007, 18:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
have you installed it on a webserver? and called it with http:// .... ?

Because the flash gets it's config from the server ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jun 2007, 14:54 
Offline

Joined: 16. May 2007, 15:34
Posts: 7
Yes, I have installed it on a server running Microsoft-IIS/5.0.


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jun 2007, 15:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what happens if you call the tfu_config.php directly - can it be accessed?

You have to set the rights of the server that the files in the tfu folder can be called.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jun 2007, 21:09 
Offline

Joined: 16. May 2007, 15:34
Posts: 7
I don't mean to sound obtuse but how do I call tfu_config.php directly- I know very little php?

Does the code have to reside in a folder called tfu or any folder of my choosing? I currently have all code in a folder called uploads and enabled the running of scripts.


Top
 Profile  
 
 Post subject:
PostPosted: 15. Jun 2007, 22:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
folder is fine -

simply don't call tfu.htm but tfu_config.php - or are you calling the flash directly?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Jun 2007, 15:17 
Offline

Joined: 16. May 2007, 15:34
Posts: 7
When I call tfu_config.php directly (#removed_broken_link) I get a series of errors:

Warning: session_start(): open(C:\PHP\sessiondata\sess_ea306837cd7823dc7fb28d3cad39b1d6, O_RDWR) failed: No such file or directory (2) in D:\Inetpub\troop62\uploads\tfu_config.php on line 20

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:\Inetpub\troop62\uploads\tfu_config.php:20) in D:\Inetpub\troop62\uploads\tfu_config.php on line 20

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at D:\Inetpub\troop62\uploads\tfu_config.php:20) in D:\Inetpub\troop62\uploads\tfu_config.php on line 20

Warning: main(./Uploads/tfu_helper.php): failed to open stream: No such file or directory in D:\Inetpub\troop62\uploads\tfu_config.php on line 24

Warning: main(): Failed opening './Uploads/tfu_helper.php' for inclusion (include_path='.;c:\php4\pear') in D:\Inetpub\troop62\uploads\tfu_config.php on line 24

Fatal error: Call to undefined function: getmaximumuploadsize() in D:\Inetpub\troop62\uploads\tfu_config.php on line 32

Warning: Unknown(): open(C:\PHP\sessiondata\sess_ea306837cd7823dc7fb28d3cad39b1d6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\PHP\sessiondata) in Unknown on line 0

...

Right now I am just trying to get tfu.htm to work.


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jun 2007, 02:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
first you should set your session save path correct!
because not even s session can be started!

you should configure your php correct first!

Then inclusion of related files fails. does /Uploads/tfu_helper.php exist?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2007, 17:13 
Offline

Joined: 16. May 2007, 15:34
Posts: 7
Yes, /Uploads/tfu_helper.php does exist.

When I run phpinfo() it says that session.save_path is C:\PHP\sessiondata, which matches that in the error message. Is it possible that the directory was not created during installation of php? The phpinfo documentation says that if it runs then the installation was successful.

By the way, I do not have server admin privileges; I am using an ISP.

Is the installation of Flash Uploader usually this difficult? This has become a real hassle, perhaps too difficult for the mere mortal to use.


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2007, 17:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
seems like this directory does not exist or cannot be written.
Simply ask you hoster to fix this.

No - normally you simply extract the folders - set the uploaddir to writeable - done.

But a properly installed php is required ;).

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2007, 17:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can set the path with

session_save_path("c:\\tmp\\");

to e.g c:\tmp\

but you have to insert this before every
session_start();
in the files starting with tfu_

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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