• Resolved JanDieckmann

    (@jandieckmann)


    Hello and thank for this very extensive and nice looking plugin.

    Unfortunately I do not see any picture. Nor in the preview in the Dashboard, nor on the site. Which configuration am I missing?

    The files are there on the ftp server, they are listed with there names, I can change all the information on the dashboard, but they are not shown. There isn’t even a placeholder.

    https://www.ads-software.com/plugins/wp-photo-album-plus/

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

    (@opajaap)

    A link would be helpful

    Thread Starter JanDieckmann

    (@jandieckmann)

    Yeah, might helpful. But I haven’t published an article and also intend to do it in a private part of my blog.

    Does it help to get an idea of the problem if a add a screenshot of the dashboard: https://jandieckmann.de/wpphotoalbum.png

    What else might helpful? If you really need I create a test article, but in the preview of an article it looks the same: everything is there the menu, the name and the description of the picture, but the pictures theirself not. The description text is directly under the name, no space inbetween.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Do you have any ‘security improving’ plugin active, or another way, that may have added/changed a .htaccess file with rules that deny access to the …’wp-content/wppa/ folder?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Or the filesystem rights ( chmod ) on …/wp-content/wppa/ and …/wp-content/wppa/thumbs/

    Update to 5.4.3, i added a check and possible change of chmod for the folders used by wppa+, so, if that is the problem it will fix itsself in 5.4.3.

    Thread Starter JanDieckmann

    (@jandieckmann)

    Thank you for your efforts!

    Update didn’t change anything in my case as far as I can say.

    I figured out that I can’t access the pictures uploaded with the plugin and the automaticaly created thumbnails by their direct url …/wp-content/uploads/wppa/1.jpg -> Page not found.

    The chmod for those directories is 0755 and 0644 for the files, like the others in /uploads/…

    I am not aware of one of my plugins being some kind of security improving even if there are some to manage user roles.

    The .htaccess files in uploads don’t seem to have your mentioned changes:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteRule (.*) /index.php?uamfiletype=attachment&uamgetfile=$1 [L]
    </IfModule>

    I discovered an error.log in /wp-content/wppa-depot/admin with just one line: Error: on:27. Juli 2014 9:10: Unable to save session.
    Might by the time of my first using, not sure anymore.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You can ignore the Unable to save session message. You can list the wppa+ error log in Photo Albums -> Settings admin page, Table VIII-C1

    Make sure your wp permalink structure is one of the pre-defined, not being default.

    See the wp Settings -> Permalinks admin page

    Try Post name

    Some mechanism is currently interpreting urls ending somewhere in ../wp-content/ as pages.

    How about direct urls to ‘normal’ uploaded files in …/wp-content/uploads/2014/07/ ? do they work?

    I am not an expert on .htaccess files, but you can try disabling it by changing the name.

    Thread Starter JanDieckmann

    (@jandieckmann)

    Alright @error

    My permalink structure was year month name and the change only to name didn’t make a difference.

    Pictures in folders like …/wp-content/uploads/2014/07/ are shown as mediafiles, not as pages.

    I renamed the .htaccess and that made a difference! Now it is working. So the explanation and conclusion is due to something in this file and I don’t know yet how to figure it out and if it might be problematical to don’t have .htaccess there.

    In some way this issue is resolved and I am very happy with your fast and easy to follow help. Great job! Thanks a lot!

    I like to add one short question here: Is there a chance to influence the file names that wppa uses? I see that the original filename is still shown but in the folder they are just counted up from 1 to …

    This is not my plugin?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I found a final solution!

    Add a .htaccess file in …/wp-content/uploads/wppa/ with the following text:

    <IfModule mod_rewrite.c>
    RewriteEngine Off
    RewriteBase /
    </IfModule>

    This overrules the .htaccess file in uploads/ for the wppa/ folder and everything down in it.

    Now you can keep your .htaccess in uploads/ if you like.

    I will redistribute this and install at all appropriate places starting the next version.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Do you have plugin User Access Manager activated? It seems that this plugin creates the .htaccess in the uploads folder. See https://stackoverflow.com/questions/4095626/how-to-exclude-a-subfolder-from-htaccess/25080365#25080365

    Thread Starter JanDieckmann

    (@jandieckmann)

    Great, great.

    Sorry @error I didn’t intend to address you by using @error, it was the idea to refer on the errorlog ??

    I added the new .htaccess in wppa and reactived the one in uploads and it is working fine, I see the pictures.

    And yes, I do use the UAM.

    So, everything is clear, I think. We… or you… found the reason and a good solution. I am fine now and consider this really solved.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok, thanx for coming back with this info!

    Hi,
    Not sure weather to open another thread for this, but since the default .htaccess file is written, after every update the albums of a friend are not displayed anymore. I have to remove the .htaccess file and things work again. Further asking around led to the fact the host is running IIS in stead of a decent web server. IIS apparently is configured to use iisu.cfg files for access and react very aggressive on .htacces files. Is there a way to not have me delete the file after every update of wppa???
    Best regards, Peter
    PS. a link is useless at the moment, because it works right now.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Update to 5.4.10 ( released today ) and UNtick Table IV-A18. It will be deleted and no longer created.

    Thank you!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Pictures are not shown’ is closed to new replies.