• Resolved BernWoz

    (@bernwoz)


    I am trying to use the free/lite version of Ultimate PDF FlipBook but I get an error when trying to display the PDF on a page.
    My PDF is located in: 99.0.2.10/bpwozny/wp-content/uploads/2020/02/GirlElectric-flipbook.pdf

    The file is selected from my wordpress media library, where it was previously uploaded.

    I add the book in Flipbook plugin (and publish)
    I generate a shortcode.
    I paste this shotcode (with nothing else) into a shortcode block on my sample page

    [upfb_ebook book_id=”146″ allow-download=”true” thumbnails=”true” classes=”” slideshow=”yes” allow-fullscreen=”yes” page-layout=”auto” width=”100%” height=”500px”]

    Publishing the page and reloading in browser displays a grey field with the error overlaid.

    Please advise.

    I have the following installed on Oracle Virtual Box 4.3.12;
    Debian 10.2.0
    Apache 2.4.38
    MySql 15.1
    PHP 7.3.11
    Wordpress 5.3.2
    Theme Azuma 1.1.2

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter BernWoz

    (@bernwoz)

    Please note I am using version 3.0 of Ultimate PDF FlipBook.

    Thread Starter BernWoz

    (@bernwoz)

    Looking at the apache.log I see the 404 errors, my browser console also shows errors accessing uploads/flipbooks directory.

    Also what does this error mean?…
    Ultimate PDF Flipbooks is unable to adjust folder permissions and might cause errors in Flipbooks Loading, Please contact your Hosting Provider or the Plugin Author for further information, about this error.

    Please advise

    Getting “Error” No upload php file found or incorrect file. Using WordPress 5.4. Shortcode: [upfb_ebook book_id=”1902″ allow-download=”false” thumbnails=”false” classes=”” slideshow=”yes” allow-fullscreen=”yes” page-layout=”auto” width=”100%” height=”500px”]

    Is WordPress 5.4 the problem?

    Thread Starter BernWoz

    (@bernwoz)

    No, WordPress is not the problem. I found out the issue on my own and its Linux file permissions and ownership. I usually log in as root and move/copy files as root.

    You need to change file ownership and/or permissions of the upload directory. To do this use:
    chown -R www-data:www-data uploads
    Where ‘-R’ means recursive and ‘www-data’ is the apache2 user/group.
    Also this will probably work… chmod -R 777 uploads
    …I can’t say which is best.
    beware that chmod 777 allows EVERYONE to modify these directories which on a real deployment can cause BIG problems!
    To check the apache2 user use… ps -aux | grep apache2

    After you modify your owner/permissions, I deleted the flipbook pdf file I made and created a new one with the new ownership. I then used the new shortcode.

    I did this on my development server at home and it worked fine, when you deploy to a public server, check with the sys admin for correct owner/permissions.

    For more information search for errors on upload.php and similar issues on wordpress.
    Also before and after, use this command to monitor file access, it will tell you what the web server is failing on.
    tail -f /var/log/apache2/access.log

    Plugin Contributor Umair Akram

    (@meumairakram)

    Anyone who is facing any error with the No Upload.php Found, its because of the PHP’s restricted access to execute a code in your Uploads Directory.

    Mostly this error is faced with 1&1 Hosting, which blocks the code execution in the Upload’s directory and for some VPS or Cloud instances, it can be fixed by changing the file permissions of your WordPress Uploads Directory located at: /wp-content/uploads/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘FlipBook display errer’ is closed to new replies.