Support » Plugin: WP-Stateless - Google Cloud Storage » Few PDF showing older URL

  • Resolved rishi2411

    (@rishi2411)


    Hi Team

    I have installed Stateless Plugin.Although it has synced all my files on my google bucket and is using it to view images and pdf.
    But in some of the cases,even if the pdf is synced to the bucket,its picking up from my server as earlier.

    Kindly help.

    FYI:-
    We are using WP 4.7.5
    Google Cloud Storage.

    • This topic was modified 2 years ago by  rishi2411.
Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author Andy Potanin

    (@andypotanin)

    In the cases where the PDF files are synchronized to GCS – where do you see the old URLs leading to your server? Is it embedded within post body content?

    rishi2411

    (@rishi2411)

    Hi Andy

    Thanks for the reply.Actually we post titles using the WordPress POST.In that it generates the url itself and it does it for all the posts.And we are facing issue with only some of the posts.I thought there might be issue with the sync so I synced the non-images files once again.But still the issue persists.

    FYI:-
    The same mechanism is followed for all the images and PDF’s.

    rishi2411

    (@rishi2411)

    Hi Team

    Kindly help.

    rishi2411

    (@rishi2411)

    Hi @andypotanin

    I can see the url redirecting to my server using the inspect element on the site.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Can you try to reset up and re-sync everything from scratch? The issue is not common and we can’t replicate that.

    Or provide some more details and information which can be helpful to replicate your issue.

    Regards.

    Hi @mariakravchenko

    I tried resetting up the plugin.When I start the stateless sync for images,it shows a total of 9000 images but when the sync is run it stops on 6800 without showing an error.Also if i try to continue the process,it syncs only 6-7 more files.
    The issue still persists.Kindly help

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello @rishi2411

    I’m checking with developers what might be the issue.

    Regards.

    Hi @mariakravchenko

    FYI.Try checking this url and the url of the pdf on this link.We have stateless plugin running on our site.But the url in the pdf is showing the server’s url instead of redirecting to the google cloud storage.
    TestUrl

    • This reply was modified 1 year, 12 months ago by  rishi2411.

    Hi Team

    Now I am not able to make any changes with the stateless plugin.I can’t even edit or make changes in the setting.Any click on the settings or edit is showing a blank page.Kindly help

    • This reply was modified 1 year, 12 months ago by  rishi2411.
    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    can you give more details, what were your steps?

    The plugin had a update showing in the notification ad soon as I clicked on update now and all things went wrong
    Its adversely affecting my website

    FYI

    Can’t use function return value in write context in /data/public_html/blog/wp-content/plugins/wp-stateless/lib/classes/class-bootstrap.php on line 133

    That was all I did with the plugin and it started giving me the below error with the wordpress.I was not even able to deactivate the plugin.So for now,I deleted the entire folder of the stateless plugin and things started working fine again.
    `2017/08/23 11:15:25 [error] 10236#0: *6202 FastCGI sent in stderr: “PHP message: PHP Fatal error: Can’t use function return value in write context in /data/public_html/blog/wp-content/plugins/wp-stateless/lib/classes/class-bootstrap.php on line 133” while reading response header from upstream, client: 130.211.2.82, request: “POST /blog/wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    It seems something related to your server. We are checking to answer more directly.

    Plugin Author Eric Sopp

    (@ideric)

    Hello @rishi2411, I believe we have a fix for the fatal error you pointed out. It will be included in the next maintenance release.

    If you don’t want to wait for the release, you can try updating the plugin code yourself. The fix is available for review at https://github.com/wpCloud/wp-stateless/commit/a98a20b940ed1c96f5e699437ab8ae58d5384d41

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Few PDF showing older URL’ is closed to new replies.