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

Problem with dynamic page integration
#1

sorry for my bad english.

i have a problem with the integration in page like this:

domain.de/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=1234&ttitle=ProgramName

the URL ist rewrite with mod_rewrite on Server, the adress looks like this:
domain.de/download-details-1234-ProgramName.html

The PHP Code in Script from commentics looks like this:

$page_id = "$lid";
$reference = "$ttitle";
$path_to_comments_folder = "comments/";
define ('IN_COMMENTICS', 'true');
require $path_to_comments_folder . "includes/commentics.php";

and on site show only the text "comment" thats all, no formfield....

i have testet on a debian Webserver and on Windows 7/Xampp.

anyone has an idea where the error is?


het
Reply
#2

Hi,

Can you try the Error Reporting FAQ:
http://www.commentics.org/support/knowle...article=15

Have you completed the interview?
Reply
#3

Hi,

i have activated the Log Function, and i have the Page refreshen (reloaded) and on Browser show no errors .. only the text "comment" (Layout -> Top).
i have set the erro log as file, and then is self no error in it (comments/includes/logs/errors.log).
Reply
#4

Okay, are you sure that $lid and $ttitle are set properly?

Have you completed the interview?
Reply
#5

??...

$lid is the INT Number from Database (the website Page), and $title is the name of the program, on the website Page.
Look this is my side who the commentics running..
here is the website where the script should run examples:

http://www.freeware-base.de/freeware-zei...VD_CD.html
.
.
.
http://www.freeware-base.de/freeware-zei..._Lite.html
.
.
http://www.freeware-base.de/freeware-zei...t.NET.html

The script should run at the end of the page...

het
Reply
#6

Try removing the quotes, like this:

$page_id = $lid;
$reference = $ttitle;

Have you completed the interview?
Reply
#7

sorry... it is the same error like "comments" and no formfield....

then you can probably do nothing, I thought it was so easy that you have to pass the ID of the page to the script and this can then assign the comment.
If not then it goes, I've just been unlucky.

het
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Ben
24-Aug-2023, 02:16 AM
Last Post by nsuomine
20-Jan-2023, 08:32 AM
Last Post by Steven
04-Jul-2020, 06:46 PM
Last Post by MattyP
13-Apr-2020, 08:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)