 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 5th, 2005, 05:05 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2002
Posts: 278
| Images not showing up
I've got a rather odd problem. Using some links all you get is a blank page, rather than the image showing.
Here's an example: Both links should go to the same image...
This link works fine: http://www.railroadforums.com/photos...hp?photo=21747
However this link only gets a blank page: http://www.railroadforums.com/photos...cat=all&page=1
Any idea what's wrong?
I'm running Photopost 5 on a linux box. The gallery has been online for quite some time. I'm not really sure when the issue started.
Last edited by BobHarbison; March 5th, 2005 at 05:08 PM.
|
| |
March 5th, 2005, 07:05 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Where do you get the second link by clicking?
|
| |
March 5th, 2005, 08:18 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Aug 2002
Posts: 278
|
Go to my site at http://www.railroadforums.com/photos/
Click on "1 day" next to "Recent Photos", that will bring up a screen of photos.
From that screen, click on any photo's title. (not the photo itself, that works fine, but click on the title that is below the thumbnail.) For example, on the latest photo you'd click on "WAMX_3810_GP38_-_3_MAR..."
You get the same result whether you click on "1 day" "7 days" or any other option. I also get the same result from a search window. To test that, try searching on Amtrak, then once again click any image title.
|
| |
March 5th, 2005, 08:44 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Try in showgallery.php find this
if ( $Globals['spider'] == "yes" )
$gallery['plink'][$itemcnt] = strip_empty("<a href=\"{$Globals['maindir']}/showphoto.php/photo/$id/limit/$limit/cat/$cat/page/$page/sortby/$sortby/sorttime/$sorttime/way/$way\">");
else
$gallery['plink'][$itemcnt] = strip_empty("<a href=\"{$Globals['maindir']}/showphoto.php?photo=$id&limit=$limit&cat=$cat&page=$page&sortby=$sortby&sorttime=$sorttime&way=$way\">");
change to this
if ( $Globals['spider'] == "yes" )
$gallery['plink'][$itemcnt] = strip_empty("<a href=\"{$Globals['maindir']}/showphoto.php/photo/$id\">");
else
$gallery['plink'][$itemcnt] = strip_empty("<a href=\"{$Globals['maindir']}/showphoto.php?photo=$id\">");
|
| |
March 5th, 2005, 09:09 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Aug 2002
Posts: 278
|
That fixed it, but what about all that stuff it was appending, wasn't it doing anything?
Also, any idea why it doesn't work as intended? I've got a second gallery (yes, 2 licenses as well) on the same server, and it works fine without needing this mod. As far as I know, they're set up in the same fashion. So I'm confused as to why it would have this issue.
|
| |
March 6th, 2005, 10:34 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Yes I posted something so you would not get an error
However I can not explain why you have an error
Everything works as intended on every install I have been on. Just trying to track down why its happening on yours.
|
| |
November 6th, 2005, 06:51 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Aug 2002
Posts: 278
|
I just upgraded to 5.21 and I'm having this same problem again. All of the links that are appending "&limit=recent" show a blank page.
For example: http://www.railroadforums.com/photos...0&limit=recent
Any ideas what's causing this or how to fix it?
|
| |
November 7th, 2005, 04:06 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
Totally PHP MEMORY ISSUE
In showphoto.php below
require "pp-inc.php"
add this
ini_set("memory_limit", "32M");
|
| |
November 7th, 2005, 07:48 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Aug 2002
Posts: 278
|
Roger Houston, that fixed the problem...
Thanks!
|
| | |
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 10:24 PM. | |