Viewing 9 replies - 31 through 39 (of 39 total)
  • Here’s a suggestion, dcraggs, if you are OK using the plugin editor in WordPress (or manually editing one of the plugin files via FTP, etc.):

    Open the functions.php file in the root directory of the plugin, usually at wp-content/plugins/google-document-embedder.

    Find this line of code in the gde_validate_file function (on line 128 of the current release version):

    if ( isset( $result['code'] ) && $result['code'] !== 200 ) {

    and change it to read

    if ( isset( $result['code'] ) && $result['code'] != 200 ) {

    Notice only the comparison operator changed. It seems some servers return an integer and some a string for the HTTP status code, so my check there may be too precise.

    If you don’t want to do this, you can always just do what the message suggests… turn off error checking (“check for errors before loading viewer” on the Advanced tab).

    Thanks.

    Sigh – apologies, turned off error checking and it works. May try changing that code when I get a chance to log in to the server.

    Thanks

    Dave

    Don’t worry, I’ll roll this fix into the next release, but if you do get a chance to confirm it first that would be helpful (apply the above patch to functions.php and turn error checking back on).

    Hi,
    I am having a problem with displaying the PDF in Chrome/
    Firefox displays correctly.
    I have tried the change of the != operator you suggested and turning error checking back on and it still doens’t work. (just a white blank area)
    This is the URL:
    https://www.boazkraus.co.il/%D7%9E%D7%9F-%D7%94%D7%AA%D7%A7%D7%A9%D7%95%D7%A8%D7%AA/%D7%9E%D7%9C%D7%97%D7%9E%D7%AA-%D7%94%D7%90%D7%97%D7%99%D7%9D-%D7%94%D7%9C%D7%A4%D7%A8%D7%99%D7%9F/

    Any suggestions?

    Thanks
    Dan

    Hi Dan,

    This is a browser cache issue; the PDF displays normally in Chrome and FF and IE for me. Please read the Notes.

    Thanks,

    Kevin

    Hi Kevin,
    Thanks for your reply.
    Clearing the cash + cookies did the trick.
    But what about the ‘regular’ website users? will they have to do the same action too?

    Dan

    I’m a “regular” web site user, and I didn’t. ??

    Seriously though… there is only one instance I can think of where they might, but (I would say) is fairly uncommon: They are logged into a Google account, but that login has expired (“stale”). You can be logged in to a Google account, be logged out, or not have one at all, but in some cases an “expired” login will cause problems.

    This is Google’s genius. You’ve heard of “logged in” and “logged out.” They have brought the world this new innovation called “logged in sorta.” That’s the only one that may break (their own) viewer.

    Hi Kevin,

    I love this plugin and it was working flawlessly until recently (upgraded to v.2.5.5) when I started getting the “GDE Error: Unable to load profile settings” error that has been reported here. BUT, the error only appears for people who are not logged into my site; when logged in, the docs appear correctly. It does not appear to matter whether they’re logged in to Google or not. Here’s an example of a page showing the GDE error message instead of the doc: https://fixitnow.com/wp/2010/07/14/warm-refrigerator-troubleshooting-flowchart/

    The file that should be displayed here is located at this URL: https://fixitnow.com/wp-content/uploads/2012/04/39305150-Warm-Refrigerator-Troubleshooting-Flowchart.pdf

    I’m running WP v.3.5.1

    I would be grateful for any help or insight you could give.

    Thanks,

    Scott

    Hi Scott,

    As you’ve probably read elsewhere (though this thread keeps diverging to other issues), all you need to do is deactivate and reactivate GDE to solve the profile problem that is affecting some installs. If you’re getting the documents to load at all, this isn’t the problem you’re having.

    I visited the URL you provided above but I only see a hard-coded download link. The GDE plugin isn’t loading anywhere on that page; perhaps you’ve updated it since you posted here. Feel free to send another link.

    Thanks,

    Kevin

Viewing 9 replies - 31 through 39 (of 39 total)
  • The topic ‘Suddenly getting error: GDE Error: Unable to load profile settings’ is closed to new replies.