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

problem with configation
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=2664
Page 1 of 2

Author:  tonydo2512 [ 4. Aug 2010, 11:54 ]
Post subject:  problem with configation

Hi,

I'm trying config tfu flashupload but I have a problem with it; I had configed $upload_file = tfu_upload. php; ==> $upload_file = 'core_files/sender. php'; , sender.php is my code upload, the flash show an error " http 406 error" I had copy file .htaccess but my localhost show another problem

======
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

================

Could you help me to solve this problem. I don't knoz I can replace your code tfu_upload. php by my own code or not?????? Thank you so much

Author:  TinyWebGallery [ 4. Aug 2010, 15:59 ]
Post subject: 

You can if you set the same return values to the session and handle everything the same way tfu_upload does.

Normally it is best to modify either tfu_upload.php or use a plugin for your additional functionality.

- Michael

Author:  tonydo2512 [ 4. Aug 2010, 16:57 ]
Post subject: 

Thank Michael; I'm trying to understand ur code and will modify it but it's a little difficult because my code upload will get all infos of the files and save these in the database and will create a link url for download; I dont see these function in tfu_upload, I dont knoz how to save the info to the database if I modify tfu_upload.php. So can you give me some advices.

Author:  TinyWebGallery [ 4. Aug 2010, 17:05 ]
Post subject: 

use a plugin - see the log database plugin...
There you have a template you can use.

And you can update TFU anytime without problems.

- Michael

Author:  tonydo2512 [ 4. Aug 2010, 17:38 ]
Post subject: 

Thank Michael, I will try, I still have a little question, How I can call the return the link of the files that the user has just upload with the code tuf_upload.php???

Author:  TinyWebGallery [ 4. Aug 2010, 17:39 ]
Post subject: 

return link?

check the parameters of the plugin - there is the full path included as well.
Or check the code in the tfu_upload.php for the e-mail - there I build a full path with http...


- Michael

Author:  TinyWebGallery [ 5. Aug 2010, 12:35 ]
Post subject: 

Then download the example from the page. There you see how the setup is done.

- Michael

Author:  tonydo2512 [ 5. Aug 2010, 14:44 ]
Post subject: 

yes I knoz this is an example, but could you tell me how to setup it? thank you.

Author:  TinyWebGallery [ 5. Aug 2010, 15:05 ]
Post subject: 

Unzip - add your license - use it.

- Michael

Author:  tonydo2512 [ 5. Aug 2010, 15:42 ]
Post subject: 

thank you; I'm using the version that my company had paied for it, I see the file license.txt I dont knoz how to find and add the license key in your code tfu;

Author:  TinyWebGallery [ 5. Aug 2010, 17:21 ]
Post subject: 

you just have to use your twg.lic.php

- Michael

Author:  tonydo2512 [ 5. Aug 2010, 18:00 ]
Post subject: 

ty for ur susport; I still do not find where is twg.lic.php , I have only twg_flash_uploader.fla

Author:  TinyWebGallery [ 5. Aug 2010, 21:38 ]
Post subject: 

This is the file you have to create by yourself.
The data is in the registration e-mail.

- Michael

Author:  tonydo2512 [ 11. Aug 2010, 11:13 ]
Post subject: 

I need you help Again.

I had used jquery to open a popup of the flash, but could you tell me how to set the flash automatic close the windown of flash after the user click "upload"

Thank you

Author:  TinyWebGallery [ 11. Aug 2010, 17:38 ]
Post subject: 

use the Javascript call back after the upload.

- Michael

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