PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery Bug Reports > Bugs - vBulletin 3.6x

Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 25th, 2008, 03:22 AM   #1 (permalink)
Member
 
Join Date: Jun 2004
Posts: 164
!!! 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!

Last edited by Kirby; February 25th, 2008 at 04:07 AM.
Kirby is offline  
Old February 25th, 2008, 08:12 AM   #2 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
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:

Upgraded: but new photos wont show at showimage.php

Luc

(both fixes are important)
Luciano is offline  
Old February 28th, 2008, 02:31 AM   #3 (permalink)
Member
 
Join Date: Jun 2004
Posts: 164
3 days and still no response.

This is urgent, all new images are broken which makes the gallery unusable!!!
Kirby is offline  
Old February 28th, 2008, 08:57 AM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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 is offline  
Old February 28th, 2008, 09:02 AM   #5 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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
Zachariah is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Safe mode: is it really off? TRR Classifieds How do I...? 3 September 9th, 2007 04:30 PM
Safe mode? ace67 ReviewPost How do I...? 3 October 17th, 2006 01:24 PM
Safe Mode OFF Carsten77 Before You Buy 8 December 19th, 2005 01:20 PM
Safe Mode Gliderstyle Classifieds Installation & Upgrades 1 October 25th, 2005 09:01 AM
Safe Mode Michael Blake Before You Buy 2 September 20th, 2004 05:26 AM


All times are GMT -5. The time now is 12:48 PM.

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