 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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.
|
| |
August 11th, 2005, 06:06 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
August 11th, 2005, 08:08 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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']})" );
}
|
| |
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!
|
| |
August 12th, 2005, 08:59 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
August 12th, 2005, 09:02 AM
|
#7 (permalink)
| | Member
Join Date: Jun 2005
Posts: 217
|
I'm using 5.12, Chuck.
|
| |
August 16th, 2005, 04:44 PM
|
#9 (permalink)
| | Member
Join Date: Jun 2005
Posts: 217
|
Did that, Chuck. Still the same problem.
Kathy
|
| |
August 16th, 2005, 05:49 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
December 6th, 2005, 10:41 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
December 6th, 2005, 10:42 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 30
|
OK I see it, thanks...
|
| |
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.
|
| |
July 19th, 2006, 02:58 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:26 AM. | |