JonManness
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp-load error from wp-cron output in CPanelEnded 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!
Forum: Fixing WordPress
In reply to: wp-load error from wp-cron output in CPanelWouldn’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.
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.