Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter JonManness

    (@jonmanness)

    Ended up removing “./” from require_once(./wp-load.php) in line 26 in wp-cron.php and now there’s no more error. Believe the “./” was making wp-cron look for wp-load in a different directory.

    Hope this helps someone else with a similar error!

    Thread Starter JonManness

    (@jonmanness)

    Wouldn’t this error occur if wp-cron was enabled? Or is the error occurring because I disabled it in the config? Still believe the path where it says “Warning: require_once(./wp-load.php)” needs to be changed, but not completely sure.

    Thread Starter JonManness

    (@jonmanness)

    Thank you! The solution that worked best for me was “Open in iFrame with Google Docs Viewer.” This method works the same in Chrome, Safari, and Firefox, and I don’t have to worry which browser the enduser is using.

    For anyone who’s interested in the code, activate iframe and write the code like this:

    <a class="fancybox-iframe" href="http://docs.google.com/gview?url=http://LINKTOPDF.pdf&embedded=true">LINK</a>

    I also set the iFrame Width to 85% and Height to 100% in the media settings.

    As for your question, RavanH, I could not view the first embedded PDF in Safari. It said “Missing Plug-in” and redirected me to download Adobe Reader X, which I don’t use. I’d say that everyone’s best bet is to use iFrame with Google Docs Viewer.

Viewing 3 replies - 16 through 18 (of 18 total)