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. Nov 2024, 11:31

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  [ 3 posts ] 
Author Message
PostPosted: 1. Mar 2010, 23:37 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
Hi Michael, me again.

I am trying to pass data fields to a plugin following FAQ 15. I have the form_plugin.php script installed and added field names to my_tfu_config.php. When I use your tfu.htm, the language data field is dumped into the log, so I know the setup works.

Unfortunately, when I try my own html document, the fields don't seem to exist. I get "Undefined index" in the log at the point where the script tries to do the $_GET['select'].

These are the differences I can see between your page and mine:

- My input fields are within form tags, yours are not.

- My getTFUFormData funtion is defined in an external JS file, yours is included in the html page. I know the external JS file is working because other functions from the file work fine.

Do either these differences seem like causes for failure?

Does getTFUFormData actually need to be called somewhere? I can't find anywhere that it is in yours or mine.

I haven't found anything in the logs to indicate what might be going wrong - although I may not know what I'm looking for.

Thanks again for your help.

T.


Top
 Profile  
 
 Post subject:
PostPosted: 2. Mar 2010, 19:57 
Offline

Joined: 9. Feb 2009, 18:16
Posts: 80
Location: Rochester, MN USA
Never mind.

I had a call to tfu_debug in the getTFUFormData() function and the function must not have been loaded yet when the upload starts . . . or something.

Anyway, when I removed the call or replaced it with debugError the fields were recognized.

T.


Top
 Profile  
 
 Post subject:
PostPosted: 7. Mar 2010, 21:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
As I wrote in the last post - TFU has now tfu_debug as debug function.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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