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 22. Nov 2024, 05:37

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  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: extra functions
PostPosted: 1. Sep 2013, 23:05 
Offline

Joined: 19. Jul 2013, 13:24
Posts: 14
I made a few debug statements :
foreach ($other_file_formats_previews as $offp => $offp_image) {
if ($offp == strtolower(getExtension($list[$i]))) { // we have something to check :)
tfu_debug('let us check '. $offp);
$real_video = realpath($file_dir . "/" . $list[$i]);
tfu_debug('real video '. $real_video);
$real_image = exchangeExtension($real_video, "jpg");
tfu_debug('real_image '. $real_image);
$p_image = $file_dir . "/" . exchangeExtension($list[$i], "jpg");
tfu_debug('p_image '. $p_image);
$p_image2 = $file_dir . "/" . exchangeExtension($list[$i], "JPG");

tfu_debug('p_image2 '. $p_image2);



Here is the debug file :

09.01.2013 20:56:36 - let us check avi
09.01.2013 20:56:36 - real video /usr/local/www/twg19/pictures/upload/ffmpeg_test.avi
09.01.2013 20:56:36 - Security tokens did not match. Session: 1378806430897360693048065370052 : param 1378806430897360693048068995005 no further actions are allowed.

Where is the 'removeextensions' function ?


Top
 Profile  
 
 Post subject: Re: extra functions
PostPosted: 2. Sep 2013, 09:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it simply exchanges the extensions.

I just did some debugging.

Please open twg_helper.php and search for
function exchangeExtension

There you find
removeExtension

change this to
tfu_removeExtension

I renamed this function a couple of releases before and it seems I did not updat this is in the plugin.

Best, michael


Top
 Profile  
 
 Post subject: Re: extra functions
PostPosted: 2. Sep 2013, 09:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
But this error should be reported in the phperror.log of your server!!


Top
 Profile  
 
 Post subject: Re: extra functions
PostPosted: 2. Sep 2013, 13:38 
Offline

Joined: 19. Jul 2013, 13:24
Posts: 14
Thanks, now it works.


Top
 Profile  
 
 Post subject: Re: extra functions
PostPosted: 2. Sep 2013, 13:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Great - I'll add this fix to version 2.0 as well.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

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