PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old August 16th, 2007, 11:01 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 14
Exclamation mass upload regular expression

In
/includes/functions_gallery_imageedit.php


Around line 325

Code:
Content visible to verified customers only.
This regular expression breaks mass uploads.

A file named
aphoto (1).jpg

Gets out of this regexp named
aphoto1.jpg

The rest of the upload process can't file the file, and bugs with the first error message (usually "image too small, 0x0")

in upload.php
Code:
Content visible to verified customers only.
Removing the regexp completely solves my problem (I only use mass uploads)
This bug existed in my 2.0 install as well...

There must be a "clean" fix for this...
sebulba is offline  
Old August 16th, 2007, 11:24 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 14
ALso, sometimes it finds out "false duplicates" due to this piece of code

Code:
Content visible to verified customers only.
in fetch_image_info

image (1).jpg would be a false duplicate of a previous "image1.jpg" uploaded by someone else.
sebulba is offline  
Old August 20th, 2007, 04:32 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 14
Zach ? Hello ? I see you're answering other threads...
Not asking for a fix but could you answer PM or send a confirmation
in this thread ?

Last edited by sebulba; August 20th, 2007 at 10:24 AM.
sebulba is offline  
Old August 20th, 2007, 10:03 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
Quote:
Paris Hilton nude in this private message !


I have seen it yes, I have not reviewed / tested it yet.
- sorry working on CMPS 3.0 rc1 block for the gallery.
Zachariah is offline  
Old August 20th, 2007, 10:26 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 14
Thanks,

I must admit that usually I fix the code myself, but that piece of code is a mystery to me. I'm not sure what the regexp was meant for (probably used both for solving something about http uploads and creating a problem for mass uploads)

The regexp itself looks wrong (but since I don't understand what it is for) and anyway creates a problem.

I also do not understand what the "existsarray" is meant for. It seems to create problems for both mass and http uploads (refuses to upload files that have the same name as a previous file ? What's the point, they can be different files even with the same ?)

So I think I could seriously break code that would be useful to other if I simply post a "fix" myself.

I'll wait
sebulba is offline  
Old August 25th, 2007, 04:18 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 14
not sure why this was moved here ?

this is a bug report indeed !
sebulba 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
Anyone with PhotoPost + Expression Engine experience? sheepish Before You Buy 11 August 23rd, 2007 12:06 PM
About mass upload JasonV Before You Buy 0 July 7th, 2006 10:18 PM
mass upload Hoof Before You Buy 9 September 30th, 2005 09:33 AM
mass upload danrak Installs and Upgrade - vBulletin 3.0.X 3 February 27th, 2005 11:43 AM
Regular users can't upload. MikeM ReviewPost Installation & Upgrades 1 February 17th, 2005 01:50 PM


All times are GMT -5. The time now is 11:20 PM.

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