This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Tutorial for dynamic links
#31

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...
Reply
#32

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
?>
Reply
#33

Did you add the page in the admin panel?

I'm giving you three guesses...
Reply
#34

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
Reply
#35

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...
Reply
#36

ok. so i changed the code. still not detecting the page id.
Reply
#37

Try removing .htaccess files from the comments folders and subfolders if they are present now.

I'm giving you three guesses...
Reply
#38

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.
Reply
#39

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...
Reply
#40

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
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by J.B.
06-Jun-2014, 11:19 PM
Last Post by het
19-Sep-2011, 06:42 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)