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

ERROR: Upload failed. 1 file(s) of 1 could not be uploaded.
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=1327
Page 3 of 3

Author:  TinyWebGallery [ 8. Feb 2008, 09:47 ]
Post subject: 

+ can you check what

session.save_handler

is set

+ is session autostart is enabled?

/Michael

Author:  plschneide [ 8. Feb 2008, 17:06 ]
Post subject:  not really

I don't think I am asking for the right variable..... please advise

Log output
---------------------------------------

02.08.2008 16:20:49 - this is sesion login setting

02.08.2008 16:20:49 - this is sesion ID Tfusem2eqperuaeq2epfbd4b799i753

02.08.2008 16:20:49 - ERROR 8 in , line 35: Undefined index: session_id

02.08.2008 16:20:49 - this is sesion ID session_id2

02.08.2008 16:20:49 - This is remaining1

02.08.2008 16:20:49 - log in not found check


Code to generate this

session_start();

include "tfu_helper.php";
debug("helper found pre log in check");
debug("this is sesion login setting " . $_SESSION["TFU_LOGIN"]);
debug("this is sesion ID Tfuse" . $_GET['TFUSESSID']);
//Commented out the next one as it kept erroring out on this line
//debug("this is sesion ID session_id1 " . $session_id());
debug("this is sesion ID session_id2 " . $_SESSION["session_id"]);
debug("This is remaining" . $_GET['remaining']);
if (isset($_SESSION["TFU_LOGIN"]) && isset($_GET['remaining'])) {
$dir = getCurrentDir();
debug("found3");
if (isset($_SESSION["TFU_LOGIN"]) && isset($_GET['remaining'])) {
$dir = getCurrentDir();
debug("found3");

Author:  TinyWebGallery [ 8. Feb 2008, 17:19 ]
Post subject: 

simply use

debug("this is sesion ID session_id1 " . session_id());

I whant to know if the session id i have is the flash is the same than the one that is really used.

/Michael

Author:  TinyWebGallery [ 10. Feb 2008, 23:20 ]
Post subject: 

any results ?

/Michael

Author:  TinyWebGallery [ 16. Feb 2008, 20:40 ]
Post subject: 

check the final of tfu in the forum - i have added a session backup workaround for this kind of problems now!

/Michael

Author:  plschneide [ 28. Feb 2008, 23:57 ]
Post subject:  Fixed finally!

Well bad news is the new version did NOT solve my problems. However in looking closer at the PHP settings I saw that the "Autostart" session option was turned off globally, but it was turned on locally. As soon as I located the local turn on switch and removed that, the upload worked perfectly, but that definitely will cause the upload to fail.

Expect an order soon :-)

Author:  TinyWebGallery [ 29. Feb 2008, 00:11 ]
Post subject: 

yery good to know - i'll ad this to the FAQ.

/Michael

Author:  harald.stefanits [ 29. Sep 2009, 13:14 ]
Post subject:  Same Error

I'm having the same error but the auto_start options both disabled in php!

Second problem is that I don't know - and can't find anywhere - how to call a php script after uploading that shows the uploaded pictures - also the db_plugin doesn't work (it seems like it is just not called at all)

Thx for your help

Harry

Author:  TinyWebGallery [ 29. Sep 2009, 15:04 ]
Post subject: 

If an upload fails the plugin is not called. It's only called after a sucessfull upload. Is the plugin in the tfu folder?

Calling a php page after the upload can be done with a Javascript event.
For JFU I even have a video tutorial that shows how to do this.

- Michael

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