PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Images not showing up (http://www.photopost.com/forum/photopost-pro-installation-upgrades/112541-images-not-showing-up.html)

BobHarbison March 5th, 2005 05:05 PM

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.

Chuck S March 5th, 2005 07:05 PM

Where do you get the second link by clicking?

BobHarbison March 5th, 2005 08:18 PM

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.

Chuck S March 5th, 2005 08:44 PM

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&amp;limit=$limit&amp;cat=$cat&amp;page=$page&amp;sortby=$sortby&amp;sorttime=$sorttime&amp;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\">");

BobHarbison March 5th, 2005 09:09 PM

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.

BobHarbison March 6th, 2005 10:28 AM

I've done a bit of experimenting, and found it was the "&cat=all" part that's making the image not show up. For example, this link won't work:

http://www.railroadforums.com/photos...cat=all&page=1

But this one will:
http://www.railroadforums.com/photos...t=last1&page=1

As noted the modification Omegatron posted does solve the problem, but I'd like to get the program working as intended, if possible.

Chuck S March 6th, 2005 10:34 AM

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.

BobHarbison November 6th, 2005 06:51 PM

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?

Chuck S November 7th, 2005 04:06 AM

Totally PHP MEMORY ISSUE

In showphoto.php below

require "pp-inc.php"

add this

ini_set("memory_limit", "32M");

BobHarbison November 7th, 2005 07:48 PM

Roger Houston, that fixed the problem...

Thanks!


All times are GMT -5. The time now is 11:27 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97