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 > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 3rd, 2011, 05:36 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Question Zip upload error from script

Code:
Content visible to verified customers only.
I tried to upload a zip file with 8 jpg images inside.

Total size 650k

After I attempted the upload, I receive the above error twice for each file. Then nothing is saved, /uploads/1 folders are empty.

PHP allows 8 MB uploads and the sys admin verified the unzip utility is working in the default location. In fact other resources use it as well.

Suggestions?

Last edited by TundraSoul; June 4th, 2011 at 12:45 PM. Reason: spelling errors
TundraSoul is offline   Reply With Quote
Old June 3rd, 2011, 08:12 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
Hmm I will test on my end and see what I come up with on my server, have not tried zip uploads in awhile as flash upload is way more popular and does what your trying alot easier.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 7th, 2011, 08:51 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Quote:
Originally Posted by Chuck S View Post
Hmm I will test on my end and see what I come up with on my server, have not tried zip uploads in awhile as flash upload is way more popular and does what your trying alot easier.
Any news on this? Oddly everyone wants to use a feature when it's broken. Also see. Thanks.
TundraSoul is offline   Reply With Quote
Old June 8th, 2011, 07:32 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
seems to work on my end. You can send any pertinent site info for us to look at things through the contact us link above.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 20th, 2012, 03:35 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Was there ever a fix for this?

I also encountered this error today.

Quote:
Warning: strrpos() expects parameter 1 to be string, array given in [path]/my-gallery/pp-inc.php on line 932
Please advise.
TundraSoul is offline   Reply With Quote
Old January 20th, 2012, 05:18 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
You are uploading what a zip file? As I last reported I never receive any such error so hard to see an issue on this end.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 20th, 2012, 06:15 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Quote:
Originally Posted by Chuck S View Post
You are uploading what a zip file? As I last reported I never receive any such error so hard to see an issue on this end.
That's correct, and it's only 138k in size with 1 image inside.
TundraSoul is offline   Reply With Quote
Old January 20th, 2012, 06:22 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
This doesnt happen with any image but a zip file? I am not getting the error with either. Your saying that no zip file can get unzipped and images extracted?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 20th, 2012, 09:59 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Quote:
Originally Posted by Chuck S View Post
This doesnt happen with any image but a zip file? I am not getting the error with either. Your saying that no zip file can get unzipped and images extracted?
Apparently not. The zip is not being processed, and no image is added.
TundraSoul is offline   Reply With Quote
Old January 20th, 2012, 10:18 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
HMM I will see if I can think of anything as the only thought I have is somehow on your site the zip is not being extracted the error you note in your

You do have zip uploads turned on right under admin options?

You can make the get_ext function in pp-inc.php this to see if it helps but not sure. I would think if you issue was that no file would process.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 21st, 2012, 12:49 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Yes zip uploads are enabled via the admin option.

I changed the code slightly, as directed, but it didn't seem to make any difference.

The error messages remain the same when I uploaded a small zip file.

Quote:
Warning: strrpos() expects parameter 1 to be string, array given in [path]/my-gallery/pp-inc.php on line 932

Warning: substr() expects parameter 1 to be string, array given in [path]/my-gallery/pp-inc.php on line 932

Warning: strrpos() expects parameter 1 to be string, array given in [path]/my-gallery/pp-inc.php on line 932

Warning: substr() expects parameter 1 to be string, array given in [path]/my-gallery/pp-inc.php on line 932
{ppheader}
TundraSoul is offline   Reply With Quote
Old January 21st, 2012, 07:10 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
Right and regular uploading works? You have to be having an issue extracting the zip files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 21st, 2012, 08:17 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 145
Correct, regular uploading works.
TundraSoul is offline   Reply With Quote
Old January 21st, 2012, 10:49 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,664
I will do more testing with zip files but everytime I try it works and I am using about 8 2mb files and it seems to work.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


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
ZIP Upload sumri Photopost Pro Bug Reports 11 March 6th, 2008 05:51 AM
ZIP upload and move error just77me How Do I? - vBulletin 3.6x 0 July 24th, 2007 12:37 PM
Zip upload Fingertips Photopost Pro How Do I...? 1 September 6th, 2006 03:08 PM
Zip Upload jwashburn Photopost Pro How Do I...? 1 June 5th, 2006 09:58 AM
PP 5.03 - Can't do zip upload wx4castr General Discussion 1 June 20th, 2005 05:59 PM


All times are GMT -5. The time now is 05:47 PM.

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