PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.6x (http://www.photopost.com/forum/bugs-vbulletin-3-6x/)
-   -   !!! Extremely Urgent !!! - vBGallery 2.4.2 corrupts filenames in Safe Mode (http://www.photopost.com/forum/bugs-vbulletin-3-6x/135572-extremely-urgent-vbgallery-2-4-2-corrupts-filenames-safe-mode.html)

Kirby February 25th, 2008 03:22 AM

!!! Extremely Urgent !!! - vBGallery 2.4.2 corrupts filenames in Safe Mode
 
The following line in fetch_image_info() causes filename corruption if safe mode is turned on:

Code:

Content visible to verified customers only.
In Safe Mode, the Filename is $userid-something.ext

This code causes the filename to be rewritten to $userid something.ext and the following code rewrites it to $userid_something.ext

As a result, the filename in DB is still $userid-something.ext, while the file itself is really $userid_something.ext.

So this results in all new images being broken :(

Please fix this immediately and provide a script to clean up the mess!

Luciano February 25th, 2008 08:12 AM

actually there are 2 fixes for that..

replace the line with
Code:

Content visible to verified customers only.
, replaced by -
a second fix may be necessary... check out:

http://www.photopost.com/forum/bugs-vbulletin-3-6x/134984-upgraded-but-new-photos-wont-show-showimage-php.html

Luc

(both fixes are important)

Kirby February 28th, 2008 02:31 AM

3 days and still no response.

This is urgent, all new images are broken which makes the gallery unusable!!!

Zachariah February 28th, 2008 08:57 AM

Replace: fetch_image_info()

Code:

Content visible to verified customers only.
Also go down to

check_upload_errors()

Find:
Code:

Content visible to verified customers only.
Replace:
Code:

Content visible to verified customers only.

Zachariah February 28th, 2008 09:02 AM

Sorry on the delay.
- I got a bad cold and for the last week I have had lots of drugs and sleep, fever ... blaw blaw


All times are GMT -5. The time now is 09:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97