Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

TWG Upload Flash Authentification
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=1046
Page 1 of 1

Author:  Chevron7 [ 18. May 2007, 16:23 ]
Post subject:  TWG Upload Flash Authentification

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?

Author:  TinyWebGallery [ 14. Jun 2007, 18:06 ]
Post subject: 

have you installed it on a webserver? and called it with http:// .... ?

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

/Michael

Author:  Chevron7 [ 15. Jun 2007, 14:54 ]
Post subject: 

Yes, I have installed it on a server running Microsoft-IIS/5.0.

Author:  TinyWebGallery [ 15. Jun 2007, 15:02 ]
Post subject: 

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

Author:  Chevron7 [ 15. Jun 2007, 21:09 ]
Post subject: 

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.

Author:  TinyWebGallery [ 15. Jun 2007, 22:07 ]
Post subject: 

folder is fine -

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

/Michael

Author:  Chevron7 [ 16. Jun 2007, 15:17 ]
Post subject: 

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.

Author:  TinyWebGallery [ 17. Jun 2007, 02:10 ]
Post subject: 

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

Author:  Chevron7 [ 19. Jun 2007, 17:13 ]
Post subject: 

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.

Author:  TinyWebGallery [ 19. Jun 2007, 17:20 ]
Post subject: 

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

Author:  TinyWebGallery [ 19. Jun 2007, 17:25 ]
Post subject: 

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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/