• Resolved ireddy

    (@ireddy)


    Updated WPPA to 3.8.1 and getting incorrect pathnames everywhere. For example, this in Photo of the Day:

    Warning: getimagesize(/home/content/70/9197670/html/wordpress/images/wppa/239.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/70/9197670/html/wordpress/wp-content/plugins/wp-photo-album-plus/wppa-potd-widget.php on line 47

    Warning: Division by zero in /home/content/70/9197670/html/wordpress/wp-content/plugins/wp-photo-album-plus/wppa-potd-widget.php on line 48

    The location of 239.jpg is actually /home/content/70/9197670/html/wordpress/wp-content/uploads/wppa/239.jpg

    Pretty well all the WPPA content is in the uploads areas, about 3657 images.

    Same issue is affecting all albums on the site, once an image is supposed to appear “Missing thumbnail image …” errors appear instead.

    (added) Table XII shows:
    WPPA_UPLOAD = images

    I think it should be:
    WPPA_UPLOAD = wp-content/uploads

    Is it safe to simply change this back? How is that done (Table XII is read-only)? Any other thoughts?

    Ian

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ireddy

    (@ireddy)

    Fixed! The issue was with WordPress, not WPPA+

    Somehow the images setting in WordPress (Settings->Media) got changed from the default of wp-content/uploads to images. I changed it back to the default and now all is working.

    More weirdness abounds, now that it is fixed the images setting in Settings->Media is missing from the WP dashboard.

    It also appears that my service provider updated WordPress automatically. Normally I control the updates. More (non-WPPA+) investigation needed.

    Thank you.

    Ian

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, thank you. Its a real pain in the … for me. Many sites have bogus data in that wp setting. So, the documentation of wp_upload_dir() where i relied upon is terribly wrong. Spoiling my easter weekend…

    In the next version i do no longer use wp_upload_dir() so if your wp requires the setting to change again, it will become possible soon.

    Thread Starter ireddy

    (@ireddy)

    Hi Jacob,

    You and the WPPA+ plugin are pretty amazing. You are constantly improving WPPA+ and keeping up with the many many requests for help. Thank you for everything you do. I sent a much overdue WPPA+ donation.

    Happy Easter.

    Ian

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ah, it was you! Thank you very much, most appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Uh-oh – pathnames all off’ is closed to new replies.