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 August 11th, 2005, 05:36 PM   #1 (permalink)
Member
 
Join Date: Jun 2005
Posts: 217
When users upload a file that's too big...

they aren't getting an error message. They are simply being directed back out of the upload section and their layout doesn't show up. Why aren't they seeing the error message? Where do I turn this on?

Thanks!

Last edited by digidivakathy; August 11th, 2005 at 05:38 PM.
digidivakathy is offline   Reply With Quote
Old August 11th, 2005, 06:06 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Hello

I would suggest in usergroups editor in admin you set the maximum allowable upload so they get a message.

If your not setting the maximum upload size to what your max php upload is then any server error messages rely on the server not our program. php is not good at reporting errors hense all you see if a dropped upload
__________________
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 August 11th, 2005, 06:08 PM   #3 (permalink)
Member
 
Join Date: Jun 2005
Posts: 217
I have it set to maximum upload of 125k already for registered members.
digidivakathy is offline   Reply With Quote
Old August 11th, 2005, 08:08 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
What version of the software you using? I show this right in uploadphoto.php if you have a filesize limit set. Now take note if a user belongs to multiple groups then the best possible scenerio will be followed meaning if any are set to 0 thats unlimited and means that you might encounter what I stated above.

if ( $filesize > $up_k && $up_k != 0 ) {
@unlink( $filedir );
diewell( "$realname ({$Globals['pp_lang']['exfiles']})" );
}
__________________
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 August 12th, 2005, 08:09 AM   #5 (permalink)
Member
 
Join Date: Jun 2005
Posts: 217
Hmmm...well, these two people that have had the problem are both only members of the Registered Members groups which has the 125k file size limit... I even did it with my test account which is also only a registered member and has the file size limit and the same thing happened to me.

Thanks for any help you can give!
digidivakathy is offline   Reply With Quote
Old August 12th, 2005, 08:59 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
What version of the software you using as the code I meantioned is indeed in uploadphoto.php script I am looking at
__________________
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 August 12th, 2005, 09:02 AM   #7 (permalink)
Member
 
Join Date: Jun 2005
Posts: 217
I'm using 5.12, Chuck.
digidivakathy is offline   Reply With Quote
Old August 12th, 2005, 09:05 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Make sure you download 5.13 and upload the couple files you see in this thread

http://www.photopost.com/members/for...87#post1104987
__________________
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 August 16th, 2005, 04:44 PM   #9 (permalink)
Member
 
Join Date: Jun 2005
Posts: 217
Did that, Chuck. Still the same problem.

Kathy
digidivakathy is offline   Reply With Quote
Old August 16th, 2005, 05:49 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
This problem is definately not on the 5.13.

http://www.reeftalk.com/gallery/index.php

You can try with testing and testing as the lines in uploadphoto are exactly as I posted

You can email me your url and admin login to look at it
__________________
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 December 6th, 2005, 10:26 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 30
so I have set the file size limits & they seem to work. when the user tries toi u/l a file that's too big after a while they get a screen that says for example

IMG_4138.JPG (exceeds filesize limit)

HOWEVER, where does it tell folks what the limits ARE?

one other thing, is the size decision for the u/l process is not made until after the file is uploaded? can this hapen on the front end, so people aren't waiting for the file to go & then get denied?

--al
climber is offline   Reply With Quote
Old December 6th, 2005, 10:41 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
On upload photo page there is a box that tells the user there filesize and diskspace limits its on the left hand side middle box
__________________
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 December 6th, 2005, 10:42 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 30
OK I see it, thanks...
climber is offline   Reply With Quote
Old July 19th, 2006, 09:19 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 3
We are having the same problem as the original poster. I have checked the code in uploadphoto.php, and it is there. However, I've added these two lines immediately before it to make:

echo("file size: ".$filesize."<br />upload max: ".$up_k);
exit;
if ( $filesize > $up_k && $up_k != 0 )
{
@unlink( $filedir );
diewell( "$realname ({$Globals['pp_lang']['exfiles']})" );
}

The upload just carried on as normal. Does this mean that the code isn't being run? I've set the max media upload to 2000k, and the maximums for all user groups to 2000k - and our php max upload is set to 2mb in php.ini.

If a user tries to upload an image that is above the maximum file size, they are told that the upload was successful, and redirected to their gallery - where the image doesn't show.

Any help much appreciated.
essexell is offline   Reply With Quote
Old July 19th, 2006, 02:58 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
That would depend on what your doing

PHP has a maximum upload size of 2mb so you can not upload a file larger than that or it will be dropped by your server.

Some other things to check are that safe mode is off and file uploads are on in PHP
__________________
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
Show Users File Location skiplondon Photopost Pro Installation & Upgrades 3 July 21st, 2005 02:58 PM
Big files on PP 5.11 - Not upload and no error messages ehm Photopost Pro Installation & Upgrades 3 June 18th, 2005 07:58 AM
Allow users to collect images and download ZIP file? tommy0910 Before You Buy 20 May 5th, 2005 11:58 AM


All times are GMT -5. The time now is 11:26 AM.

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