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

Renaming filename doesn't work
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=2829
Page 1 of 2

Author:  momba [ 19. Dec 2010, 19:19 ]
Post subject:  Renaming filename doesn't work

Renaming files doesn't work and also the resizing of files doesn't seem to be happening either.

Please help.

Author:  TinyWebGallery [ 20. Dec 2010, 00:46 ]
Post subject:  Re: Renaming filename doesn't work

Please read
viewtopic.php?f=13&t=1491

- Michael

Author:  momba [ 20. Dec 2010, 03:57 ]
Post subject:  Re: Renaming filename doesn't work

- Which version of Joomla are you using: 1.5.22
- Which version of JFU are you using exactly? 2.12
- Which web server do you have? yourownuniqueness.com
- A good error description (my flash does not work is NOT good!): I go through the steps to change the name (i.e. click specifc file, select "rename file" from options, type in new name, click "Rename") and flash refreshes JFU but everything is still the same.
- What have you done before you got this error. How can I reproduce the problem.: Just go through the steps to rename file as noted above
- look in the debug file (tfu.log in administrator/ components / com_joomla_flash_uploader or in your log of you application server) and paste errors in the post:

Code:
12.18.2010 6:13:29 - ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND

Author:  TinyWebGallery [ 20. Dec 2010, 08:31 ]
Post subject:  Re: Renaming filename doesn't work

Strange - seems that the file listing do not match with the internal used index.

Does this happen in every directory? Are there any special (e.g. hidden) files in the directory?

Best,
Michael

Author:  momba [ 20. Dec 2010, 16:32 ]
Post subject:  Re: Renaming filename doesn't work

Yes this happens with all the directories... And there aren't any hidden files as far as I know.

Author:  TinyWebGallery [ 20. Dec 2010, 16:40 ]
Post subject:  Re: Renaming filename doesn't work

does the preview of images work? because they all use the same method to find the right file.

- Michael

Author:  momba [ 20. Dec 2010, 17:36 ]
Post subject:  Re: Renaming filename doesn't work

Yes, the preview works.

Author:  TinyWebGallery [ 20. Dec 2010, 18:47 ]
Post subject:  Re: Renaming filename doesn't work

can you please enable the enhanced debug in the config. Then the requests are written to the debug file.

- Michael

Author:  momba [ 21. Dec 2010, 14:13 ]
Post subject:  Re: Renaming filename doesn't work

I actived the enhanced debugging. This is what I get in TFU.log:

Code:
12.18.2010 6:13:29 - ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND
12.21.2010 0:04:25 - ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND
12.21.2010 0:04:30 - ERROR 8 in onents/com_jfuploader/tfu/tfu_helper.php, line 2203: Undefined offset:  2
12.21.2010 5:57:53 - File index not found.
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=info&dir=&index=NaN&ts=1292932677906&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:660:tfu_debug:File index not found.
      Stack: tfu_file.php:63:getFileName:./../../../../images
12.21.2010 5:57:53 - ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=info&dir=&index=NaN&ts=1292932677906&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:131:tfu_debug:ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesi
      Stack: ::on_error:2:filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND:/home/yourownu/public_html/administrator/components/com_jfuploader/tfu/tfu_helper.php:1940:Array(    [file] => _FILE_NOT_FOUND    [use_image_magic] => )
      Stack: tfu_helper.php:1940:filesize:_FILE_NOT_FOUND
      Stack: tfu_file.php:88:tfu_info:_FILE_NOT_FOUND
12.21.2010 5:57:54 - File index not found.
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=preview&index=NaN&ts=1292932678093&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:660:tfu_debug:File index not found.
      Stack: tfu_file.php:63:getFileName:./../../../../images
12.21.2010 5:57:55 - File index not found.
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=info&dir=&index=NaN&ts=1292932679812&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:660:tfu_debug:File index not found.
      Stack: tfu_file.php:63:getFileName:./../../../../images/stories
12.21.2010 5:57:55 - ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=info&dir=&index=NaN&ts=1292932679812&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:131:tfu_debug:ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesi
      Stack: ::on_error:2:filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND:/home/yourownu/public_html/administrator/components/com_jfuploader/tfu/tfu_helper.php:1940:Array(    [file] => _FILE_NOT_FOUND    [use_image_magic] => )
      Stack: tfu_helper.php:1940:filesize:_FILE_NOT_FOUND
      Stack: tfu_file.php:88:tfu_info:_FILE_NOT_FOUND
12.21.2010 5:57:56 - File index not found.
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=preview&index=NaN&ts=1292932679984&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:660:tfu_debug:File index not found.
      Stack: tfu_file.php:63:getFileName:./../../../../images/stories
12.21.2010 5:57:58 - File index not found.
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=info&dir=&index=NaN&ts=1292932682093&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:660:tfu_debug:File index not found.
      Stack: tfu_file.php:63:getFileName:./../../../../images/stories/gallery
12.21.2010 5:57:58 - ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=info&dir=&index=NaN&ts=1292932682093&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:131:tfu_debug:ERROR 2 in onents/com_jfuploader/tfu/tfu_helper.php, line 1940: filesize() [<a href='function.filesi
      Stack: ::on_error:2:filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for _FILE_NOT_FOUND:/home/yourownu/public_html/administrator/components/com_jfuploader/tfu/tfu_helper.php:1940:Array(    [file] => _FILE_NOT_FOUND    [use_image_magic] => )
      Stack: tfu_helper.php:1940:filesize:_FILE_NOT_FOUND
      Stack: tfu_file.php:88:tfu_info:_FILE_NOT_FOUND
12.21.2010 5:57:58 - File index not found.
    Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=preview&index=NaN&ts=1292932682265&tfu_rn=1294064516267544299662932120416&tfu_is_flash_10=1&TFUSESSID=5e7631396badb62412945338ae775f8a
      Stack: tfu_helper.php:660:tfu_debug:File index not found.
      Stack: tfu_file.php:63:getFileName:./../../../../images/stories/gallery

Author:  TinyWebGallery [ 21. Dec 2010, 16:30 ]
Post subject:  Re: Renaming filename doesn't work

Are you getting a file listing at all? Every request does not have a proper index set. The index should be a number.

I'm wondering why the preview of images can work.

- Michael

Author:  momba [ 21. Dec 2010, 18:46 ]
Post subject:  Re: Renaming filename doesn't work

Yes, the file directories show just fine.

Author:  TinyWebGallery [ 21. Dec 2010, 18:53 ]
Post subject:  Re: Renaming filename doesn't work

can you give me access to a page where the flash is shown?
You can send me a pm.

- Michael

Author:  momba [ 22. Dec 2010, 16:55 ]
Post subject:  Re: Renaming filename doesn't work

I see that it now works from the back end (could it have something to do with me activating the "enhanced debugging"?)...

But the front end still doesn't allow for renaming files. Perhaps I missed something in the configuration?

Author:  TinyWebGallery [ 22. Dec 2010, 17:00 ]
Post subject:  Re: Renaming filename doesn't work

I just renamed heather.jpg to heather2.jpg in the frontend...

- Michael

Author:  momba [ 23. Dec 2010, 03:06 ]
Post subject:  Re: Renaming filename doesn't work

could you try one of the sub directories... particularly "laser_beforeafter". I still can't seem to change anything in there.

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