• Resolved paul-ld

    (@paul-ld)


    I created an album. This works as expected in draft version, when clicking to preview. On clicking a thumbnail in the album cover, it goes to the page with the photo, start/stop slide show bar above and film strip bar below, as I configured in settings.

    But on publishing this, this gets lost. On clicking a thumbnail in the album cover, it goes the to next page which only has the photo. Now the start/stop bar and film strip do not appear.

    We are using permalinks.

    Finally, another problem is that in the published version, a warning box appears underneath saying:-
    Warning: [your URL] is unreachable.

    Where [your URL] is the permalink of the page, and it is working.

    How to fix these please?

    http://wordpress.org/plugins/wp-photo-album-plus/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    A link please…

    Thread Starter paul-ld

    (@paul-ld)

    Hi, thanks for answering on this!

    http://www.latindiscover.com/blog/test-album-bernard/ is post working properly as preview, not once published.

    The large image and thumbnail box are both too large for the post, because I then decided to change the settings to work on a no sidebar page.

    http://www.latindiscover.com/blog/photo/ is a link for a page. Also works fully in preview unpublished mode, as seen after copying the code to a static html page: http://www.latindiscover.com/preview-test.htm.

    Could be a permalink problem, as it works with a dynamic url. It is a Windows server, with 3.5.2. Other things in the settings panel don’t work, eg getting the photo to load in a separate page, getting the alt to be anything but the photo file name with jpg etc.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Are you sure you configured the settings in Table VI properly?

    What do you mead bu ‘on publishing this’? publishing the post, or doing the same on a published website as opposed to a local host situation?

    Thread Starter paul-ld

    (@paul-ld)

    Thanks again.

    TableVI settings: I left untouched, as did not understand difference between A & B, and all worked fine in preview. You can see the settings here: http://latindiscover.com/wppa.htm.

    Publishing here means moving a post or page from draft to publish on the web, so the whole world sees. The draft can only be seen as preview when logged in to WP admin panel. The URL changes from dynamic (draft) to permalink plus dynamic. I don’t use a local host.

    Thanks again for your help on this.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    A few questions:

    1. what is the shortcode on the page test-album-bernard?
    2. Please check Table IX-A3: Allow WPPA+ Debugging.
    3. What is the permalink structure you use, I mean the choice you made on the wp settings -> permalink structure admin page:
    Default
    Day and name
    Month and name
    Numeric
    Post name
    Custom Structure
    If custom Sttucture, how does it read?

    Thread Starter paul-ld

    (@paul-ld)

    1. Shortcode of the post test-album-bernard:
    [wppa type=”album” album=”1″][/wppa]

    For the page photo:
    [wppa type=”album” album=”6″][/wppa]

    2. I will check this.

    3. For other sites I use Post name. For this Window-hosted blog, I use Custom structure = /%postname%/. So the example URL given is this: http://www.latindiscover.com/blog//%postname%/. These are the permalink urls you see for the photos above.

    For some reason the example URL given for Post name is different from the normal permalink for Post name as it includes index.php, which is why I do not use:
    http://www.latindiscover.com/blog/index.php/sample-post/

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You can not use custom permalinks as they ‘eat’ querystring arguments.

    If i double the album arg, the page gives the slideshow:

    http://www.latindiscover.com/blog/photo/?wppa-album=6&wppa-occur=1&album=6&wppa-photo=31

    as it includes index.php, which is why I do not use:

    Huh?…

    What goes wrong with the standard Post name permalink structure? can you show me that?

    Thread Starter paul-ld

    (@paul-ld)

    now checked Table IX-A3: Allow WPPA+ Debugging

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thread Starter paul-ld

    (@paul-ld)

    Re your last post, both of these debug urls seem to give the same result: 4-5 lines of identical php error message at the bottom. Cannot see the difference.

    Re permalinks, yes it is weird. These all:-
    Day and name
    Month and name
    Numeric
    Post name

    Have this structure in settings: http://www.latindiscover.com/blog/index.php/etc
    In other words, for some reason “index.php/” appears where it should not!

    I will now switch to Post name permalink to see what happens….

    Thread Starter paul-ld

    (@paul-ld)

    Well I just switched permalink to Post name, the page of photos is now http://www.latindiscover.com/blog/index.php/photo/, and when you click on a thumbnail it correctly shows the next page this time. In other words with permalink set as Post name, the following page works as it should.

    But I can’t live with this new structure, with “index.php/” in all permalinks. For SEO, Google etc reasons. This is not a problem of your plugin. But any ideas on how to eliminate? In general setting the URLs are both http://www.latindiscover.com/blog.

    In any event, thanks for identifying the problem here.

    Thread Starter paul-ld

    (@paul-ld)

    As it is hosted on Windows, we have 404 handler as a shortcut to IIS, to create permalinks. It is the following:-

    <?php
    $qs = $_SERVER['QUERY_STRING'];
    $pos = strrpos($qs, '://');
    $pos = strpos($qs, '/', $pos + 4);
    $_SERVER['REQUEST_URI'] = substr($qs, $pos);
    $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
    include('index.php');
    ?>

    That looks where index.php is coming from. I’m very basic in php, can you see an easy fix?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Here is documentation about permalinks:

    http://codex.wordpress.org/Using_Permalinks

    Not a wppa+ problem, call closed.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Published view is just a photo’ is closed to new replies.