Posts: 535
Threads: 31
Joined: Jul 2010
Should work now. What is the include script again? The error on the moved page tells me that it isn't set.
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
I put it back to the static script.
<?php
$page_id = "2";
$path_to_comments_folder = "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
?>
Posts: 535
Threads: 31
Joined: Jul 2010
Did you add the page in the admin panel?
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
Yes. This is the info, if it helps.
2 1 Fat Cats
http://www.provohappening.com/documents/...e=1&subcat= Yes 9th August 2010 6:12pm
Posts: 535
Threads: 31
Joined: Jul 2010
Oh, so you're working with the non-moved page. Change
PHP Code:
<?php
$path_to_comments_folder = "comments/";
to
PHP Code:
<?php
$path_to_comments_folder = "../comments/";
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
ok. so i changed the code. still not detecting the page id.
Posts: 535
Threads: 31
Joined: Jul 2010
Try removing .htaccess files from the comments folders and subfolders if they are present now.
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
all .htaccess files have been removed again.
I have to go for a couple hours. I'll check back then. Thanks for all the helps so far.
Posts: 535
Threads: 31
Joined: Jul 2010
Would it be possible to show the full contents of the file if there isn't any sensitive information? A couple of snippets should suffice. Make sure that the lines
PHP Code:
<?php
session_start();
ob_start();
?>
are on line 1 before the !DOCTYPE.
I'm giving you three guesses...
Posts: 61
Threads: 3
Joined: Aug 2010
There isn't any sensitive information, what snippets do you need?
I have inserted the session_start and ob_start before the !DOCTYPE.
I got this from my host provider.
PHP 5.2.10 is installed on the server
php5-suhosin patch is not included and the "eval()" should work properly
Thank you