 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
May 17th, 2006, 11:43 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
| Can't enter long descriptions on uploadphoto.php page
When we try to upload a photo and enter in a large amount of text in the description field in uploadphoto.php, it gets stuck on the "Preparing to process image list!" screen.
I tried uploading a photo and kept removing sentences, one by one, until it finally let me upload it. After you get it uploaded, you can go in and add edit the description to add the remaining text – but for some reason it doesn’t like that long description with the initial upload. And… you can also add the remaining text on the second screen without problem (bulkupload.php) – but not that first screen (uploadphoto.php).
I was able to use a description with 885 characters (including spaces) – but not much more than that.
How do I fix this so that we can add longer descriptions on the uploadphoto.php page?
|
| |
May 18th, 2006, 08:07 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Have you tried increasing the columns and rows of the description box although I think it should not matter there? Code: Content visible to verified customers only.
The only issue I would see if something triggered some server restriction like I uploaded about a 1000 paragraph with no issue but when I tried to copy and paste the entire install instructions from our site to an image then I tripped my server's REQUEST URL TOO LONG error. I would assume here your triggering something similar here on the server restriction.
|
| |
May 18th, 2006, 09:51 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
|
I just tried increasing the cols and rows - but it didn't help. I can't enter more than 900 characters in the description field without it getting "stuck" when it tries to process the image.
Since I can enter in the full description (over 900 characters) on the bulkupload.php page as well as the page that you use to edit a photo, do you still think this is a server issue?
FYI - We don't have any code modifications in the uploadphoto.php or uploadphoto.tmpl files. We're using the original & most-current PhotoPost files.
|
| |
May 18th, 2006, 10:44 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: NY
Posts: 216
|
we are having this issue too -- we have had MANY users complain about it and using a work around of NOT entering their description until the next step; but is this really feasible? Ie: we have no code mods either; using default file and USING MOST UPDATED build of PP
|
| |
May 18th, 2006, 11:32 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
About the only thing I can think of since if the issue only happens when forwarding to bulkupload I would think it a server request uri limit
If you upload a single file that does not go to bulkupload does it work?
Post me an example text your using that triggers the problem
|
| |
May 25th, 2006, 10:10 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
|
Even when we only upload 1 photo, it still takes us to bulkupload.
Here's the text I was trying to use for the description:
This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters.
This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters.
This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters.
This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters. This description has about 1000 characters.
|
| |
May 25th, 2006, 12:16 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Your being stopped by the request url limit on your server.
|
| |
May 25th, 2006, 12:43 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
|
How do we fix that?
|
| |
May 25th, 2006, 12:47 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Well honestly I do not know specifically where it is set. More than likely the apache configuration file
|
| |
May 25th, 2006, 12:52 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
|
OK. I'll look into it. Thank you very much!
(By the way, I'm just curious... how did you determine that it's the request url limit?)
|
| |
May 25th, 2006, 12:57 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Because it happens when you forward to the bulkupload page which forwards the information in a url
|
| |
May 26th, 2006, 03:41 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
|
My web host set the LimitRequestLine to the maximum of 8190 bytes.
More information on
this can be found at: http://httpd.apache.org/docs/1.3/mod...mitrequestline
But we're still running into the same problem. Is this the "request url limit" you suggested?
|
| |
May 26th, 2006, 04:19 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Mar 2004
Posts: 56
|
I just figured out a workaround for this -- and thought I'd post it here in case others are struggling with this same issue.
I removed the photo description field from the uploadphoto.php page - and users simply add the description on the next page (bulkupload.php). To do this, I edited the uploadphoto.tmpl file as follows:
Remove this code:
<tr>
<td class="{$Style['tddetails']}" align="left"><span class="{$Style['small']}">{$Globals['pp_lang']['photodesc']}</span></td>
<td class="{$Style['tddetails']}" align="left"><textareahtml name="defdesc" cols="50" rows="10"></textareahtml></td>
</tr>
and replace it with this code:
<input type="hidden" name="defdesc" value="">
|
| |
October 10th, 2006, 01:34 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: NY
Posts: 216
|
hmmmm seems with version 5.5 isn't not actually taking effect... the description box is still appearing on the main upload page.... any other suggestions?
|
| |
October 10th, 2006, 02:38 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Yes this is a server issue because bulkupload is a POST command and goes right to processing. If you use uploadphoto which either posts ONE PHOTO or forwards to bulkupload it is a GET command and thus is limited by your server uri to the limit of what can be passed by that GET command.
|
| |
October 12th, 2006, 02:01 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Oct 2005
Posts: 379
|
Okay, explain why this is only happening with Internet Explorer. I posted about this issue here: Certain length description causes error
This issue does not happen with Firefox, only IE.
|
| | |
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 05:27 PM. | |