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

Other directory
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=2300
Page 1 of 1

Author:  AIMGroup [ 9. Dec 2009, 20:30 ]
Post subject:  Other directory

I've installed the files in a directory /uploader, I did all the steps in No 8 of the FAQ, when I open an html file in my root, it works perfect.

But in my site I use multiview/mod_rewrite, so the page where I want to use the uploader is like: mydomain/register/step3, on this page the uploader doesn't work, I get an error like: "You are trying to use TWG Upload without authentication, the server login failed, or the configuration could not be found"


Any idea?

Author:  TinyWebGallery [ 9. Dec 2009, 20:35 ]
Post subject: 

seems your rewrite is not rewriting the requests where the flash is looking for the configuration files.

Have you firebug installed? Then you can see where the flash is looking for the tfu_login.php.

- Michael

Author:  AIMGroup [ 9. Dec 2009, 20:53 ]
Post subject: 

Hi, I've istalled FireBug, but have no idea what to do next, can you tell me where I can find it? Thx

Author:  TinyWebGallery [ 9. Dec 2009, 21:01 ]
Post subject: 

open it and go on the network tab - there you should see how tfu_login.php is called.

- Michael

Author:  AIMGroup [ 9. Dec 2009, 21:09 ]
Post subject: 

So this is the POST:

http://www.xxx.net/artist/addAlbum/tfu_ ... 0385633709

Wrong url, where can I change it? He thinks the root now is www.xxx.net/artist/addAlbum, but the root should be www.xxx.net/

Author:  TinyWebGallery [ 9. Dec 2009, 21:27 ]
Post subject: 

seems your redirect is not redirecting this properly.

- Michael

Author:  AIMGroup [ 9. Dec 2009, 22:18 ]
Post subject: 

The problem is, I use "Options MultiViews" in my .htaccess file, not mod_rewrite rules, so I don't know how to redirect http://www.xxx.net/artist/addAlbum/tfu_ ... 0385633709 to the root.

Do you?

Author:  TinyWebGallery [ 9. Dec 2009, 23:37 ]
Post subject: 

no - you can use an iframe to include the flash.

- Michael

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