Posts: 61
Threads: 3
Joined: Aug 2010
Is there a tutorial to explain how we can use Commentics with dynamic pages?
Posts: 535
Threads: 31
Joined: Jul 2010
Sorry, I'll start writing one now.
I'm giving you three guesses...
Posts: 535
Threads: 31
Joined: Jul 2010
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
Posts: 535
Threads: 31
Joined: Jul 2010
No problem! I've added a small improvement, so you could check that if you want to.
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
I am trying to implement commentics into my website that was generated by EZ Generator. I get this error message when I try to put them together. Any idea how I can get around this?
Warning: require(
http://www.provohappening.com/comments/i...entics.php) [function.require]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/provoha1/public_html/ezg_data/functions.php(1546) : eval()'d code on line 122
Fatal error: require() [function.require]: Failed opening required 'http://www.provohappening.com/comments/includes/commentics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/provoha1/public_html/ezg_data/functions.php(1546) : eval()'d code on line 122
Posts: 535
Threads: 31
Joined: Jul 2010
Are you using the code from the tutorial? Can I have a link to a page with the script? Are you using any other add-ons?
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
I am using the script from the tutorial:
<?php
$page_id = $_GET['page'];
$path_to_comments_folder = "http://www.provohappening.com/comments/";
define ('IN_COMMENTICS', 'true'); //no need to edit this line
require $path_to_comments_folder . "includes/commentics.php"; //no need to edit this line
?>
Here is the page I am testing on:
http://www.provohappening.com/documents/...e=1&subcat=
I am not using any other add-ons. Just seems like ezgenerator is having a hard time sharing the page.
Posts: 535
Threads: 31
Joined: Jul 2010
Did it work before? Try temporarily removing the .htaccess files from the includes folder, it helps in some cases. And are you sure that EZ generator supports php from your side? Sometimes, such deals with easy website generation don't support user php scripts. Especially if such services are free. Personally, I don't have any experience with EZ Generator. I've only heard of it just now.
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
That got the errors out of the way, but now it says Access denied.[/u]