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

Please help
#1

Hello Steven first of all: thank you for sharing this awesome script. 

but I have some problem. I have spent a lot of time on it and couldn't get it worked. Finally I applied some code the page showed only forms and text without css. and also form is not working and doesnt even gives an error. 

here is the code:
PHP Code:
<?php
session_start
();
?>
<!DOCTYPE html>
<html>
<head>
<title>Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

<h1>Example</h1>



<?php
$cmtx_identifier
= '1';
$cmtx_reference = 'Example';
$cmtx_path = 'commentics/';

require
$cmtx_path . 'frontend/index.php';
?>

</body>
</html>

I really don't where I went wrong. I'm waiting for your answer. Thanks.
Reply
#2


Have you completed the interview?
Reply
#3

Yes I'm using v3. of course I have used the code that you already showed in the integration file. 

But when I use this code the server gives an error like 'no file or directory' in my web hosting.

Also I've tried this  in my localhost with virtual server on my mac. and when I install it, it doesnt really show anything.

the page showed something like I told you when I try the older version's code. and I can use the backend without any problem.
Reply
#4

Do you have a folder called 'commentics' in the root of your server?

If not, what did you name the Commentics folder and where is it on your server?

Can you post the entire error that you mentioned? The one that said no file or directory.

Have you completed the interview?
Reply
#5

Thanks for answering btw. 

So "commentics" folder (renamed from upload) is in directory right after public_html/. 

I've deleted the file I edited. So I reuploaded the brandnew example1.php

And I'm trying to run the example1.php that already exist in the out of "commentics" folder where is right after public_html/.

and this is the error;

Warning: require(/home/meyveli/public_html/upload/frontend/index.php): failed to open stream: No such file or directory in /home/meyveli/public_html/example1.php on line 21

Fatal error: require(): Failed opening required '/home/meyveli/public_html/upload/frontend/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/meyveli/public_html/example1.php on line 21
Reply
#6


Have you completed the interview?
Reply
#7

ok I've just edited and refresed the page. now it shows the comment form without css. not only css (also not responding)


Also I've checked the system settings and the folder name is correct.
Reply
#8

Okay did you try the following?

Quote:Also if you view the source code of the page where you're trying to integrate Commentics, you can search for 'commentics/' and find the link to the stylesheet to check if it looks right.

Have you completed the interview?
Reply
#9

Thanks for your PM. From looking at the source code, I think your 'Commentics URL' setting is missing the "/" at the end.

Have you completed the interview?
Reply
#10

YES!!!! Thanks again Steven. All I missed is "/" at the end my commentics url. 

Now It works Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)