PHP compile error

Posted in: Newspaper
Post count: 6

Hi,

I just purchased the theme and currently testing on the staging site. I tried installing the “Gadgets Pro” demo. While the homepage looks fine, clicking on any article on the homepage leads to the following error

Feb 17/2020 15:46:46 > PHP Compile Error: require(): Failed opening required ‘/www/wp-content/plugins/td-standard-pack/Newspaper/’ (include_path=’.:/usr/share/php’) in /www/wp-includes/comment-template.php on line 1508, request: GET /2020/02/17/xiaomi-mi-outdoor-bluetooth-speaker-india-price-specs-features/, request_id: 12739da05c02d1154575a3363ede82af

Please help fix this.

Post count: 18283

Hello !

Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– cPanel url and credentials
– A link to this topic in order to identify you

Our team will take a look !

Thank you

Post count: 6

Thanks Vlad. I figured out it was because of plugin compatibility issues with “Disqus conditional load” plugin. Would be great if you guys can check that out.

Post count: 9

I have the same issue with Disqus conditional load plugin as well — a great plugin tbh. Now that it’s not working with the theme, think I might go the universal code route.

  • This reply was modified 6 years by abhin_03.
Post count: 9

@rajupp — just copy this code in a new HTML box under an article: (Just replace ‘EXAMPLE’ in the code with your shortcode. You can also find the code here https://disqus.com/admin/universalcode/. That’s it!)

<div id=”disqus_thread”></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page’s canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page’s unique identifier variable
};
*/
(function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
var d = document, s = d.createElement(‘script’);

s.src = ‘https://EXAMPLE.disqus.com/embed.js&#8217;; // IMPORTANT: Replace EXAMPLE with your forum shortname!

s.setAttribute(‘data-timestamp’, +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the comments powered by Disqus.</noscript>

  • This reply was modified 6 years by abhin_03.
  • This reply was modified 6 years by abhin_03.
  • This reply was modified 6 years by abhin_03. Reason: added the link to code
Post count: 44

Hi,
How can I change

this.page.url = PAGE_URL; // Replace PAGE_URL with your page’s canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page’s unique identifier

Dinamically?

thanks
fabio

Post count: 18283

Hello !

Disqus is not a tested plugin. Unfortunately we have not tested this plugin so we cannot offer support for it.

Our support policy: https://forum.tagdiv.com/newspaper-theme-support/

Thank you !

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.