21-May-2015, 01:47 AM
Hi,
I followed the installation and integration guides, twice. After the first time failed, I deleted everything, and reinstalled everything and went through the integration guide again. I'm still getting the same error. So, a few questions.
1. Do the php pages on which I am using the commentics script have to be located within the commentics folder on my site?
2. Can anyone help with this error message?
Warning: require(/public_html/comments/includes/commentics.php): failed to open stream: No such file or directory in /home/aglutenf/public_html/comtest.php on line 187
Fatal error: require(): Failed opening required '/public_html/comments/includes/commentics.php' (include_path='.:/usr/local/lib/php') in /home/aglutenf/public_html/comtest.php on line 187
With the warning - this is where I am getting a little confused. I checked and the commentics.php IS in the includes folder, which is in the comments folder (renamed from "upload) which is in my public_html folder. So, I don't know why it can't find it.
As for the no such file or directory - they are right...the comtest.php page (which is just a page to test the script) is not in the same subdirectory as the commentics script. So, I tried placing the comtest.php script IN the 'includes' folder, but still got the same error.
I'm almost (but not 100%) certain my error is coming from step 3 of the integration process. I'm not sure where I went wrong.
We're told to copy this code:
<?php
$cmtx_identifier = '1';
$cmtx_reference = 'Page One';
$cmtx_path = 'upload/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
Change the identifier. I did. It's now test.
Change the Reference. I did. It's now Gluten Free Pantry
Change the path. I did. It's now /public_html/comments/
So my section looks like this:
<?php
$cmtx_identifier = 'test';
$cmtx_reference = 'Gluten Free Pantry';
$cmtx_path = '/public_html/comments/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
As for steps 1 and 2 - Step 1, I have the line of code at the start of my page HTML. The very start. Triple checked that.
Step 2 My charset was already utf-8 so I left it alone.
Interesting Note: When setting up the admin panel, I set my email address and tested it. I don't get an email, instead I get a Mailed Delivery System Failed. My email is correct though. I mention this in case it might be part of the problem.
Thank you for ANY help, I do appreciate it.
I followed the installation and integration guides, twice. After the first time failed, I deleted everything, and reinstalled everything and went through the integration guide again. I'm still getting the same error. So, a few questions.
1. Do the php pages on which I am using the commentics script have to be located within the commentics folder on my site?
2. Can anyone help with this error message?
Warning: require(/public_html/comments/includes/commentics.php): failed to open stream: No such file or directory in /home/aglutenf/public_html/comtest.php on line 187
Fatal error: require(): Failed opening required '/public_html/comments/includes/commentics.php' (include_path='.:/usr/local/lib/php') in /home/aglutenf/public_html/comtest.php on line 187
With the warning - this is where I am getting a little confused. I checked and the commentics.php IS in the includes folder, which is in the comments folder (renamed from "upload) which is in my public_html folder. So, I don't know why it can't find it.
As for the no such file or directory - they are right...the comtest.php page (which is just a page to test the script) is not in the same subdirectory as the commentics script. So, I tried placing the comtest.php script IN the 'includes' folder, but still got the same error.
I'm almost (but not 100%) certain my error is coming from step 3 of the integration process. I'm not sure where I went wrong.
We're told to copy this code:
<?php
$cmtx_identifier = '1';
$cmtx_reference = 'Page One';
$cmtx_path = 'upload/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
Change the identifier. I did. It's now test.
Change the Reference. I did. It's now Gluten Free Pantry
Change the path. I did. It's now /public_html/comments/
So my section looks like this:
<?php
$cmtx_identifier = 'test';
$cmtx_reference = 'Gluten Free Pantry';
$cmtx_path = '/public_html/comments/';
require $cmtx_path . 'includes/commentics.php'; //don't edit this line
?>
As for steps 1 and 2 - Step 1, I have the line of code at the start of my page HTML. The very start. Triple checked that.
Step 2 My charset was already utf-8 so I left it alone.
Interesting Note: When setting up the admin panel, I set my email address and tested it. I don't get an email, instead I get a Mailed Delivery System Failed. My email is correct though. I mention this in case it might be part of the problem.
Thank you for ANY help, I do appreciate it.