Post Reply 
I am getting 2 error messages?
21-Jul-2011, 05:58 AM
Post: #1
I am getting 2 error messages?
The instillation went great but when I try the example I get the below errors

Warning: require(comments/includes/commentics.php) [function.require]: failed to open stream: No such file or directory in /hermes/web09b/b938/moo.gamebreezycom/comments/example.php on line 22

Fatal error: require() [function.require]: Failed opening required 'comments/includes/commentics.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/web09b/b938/moo.gamebreezycom/comments/example.php on line 22

Please help!!

Thanks in advance!!
Find all posts by this user
Quote this message in a reply
21-Jul-2011, 10:42 AM
Post: #2
RE: I am getting 2 error messages?
Hi,

Do you have the following file on your server?

/comments/includes/commentics.php

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
21-Jul-2011, 01:41 PM
Post: #3
RE: I am getting 2 error messages?
Yes, i do.
Find all posts by this user
Quote this message in a reply
21-Jul-2011, 03:06 PM
Post: #4
RE: I am getting 2 error messages?
Ok. And what did you enter for the $path_to_comments_folder variable?

It looks like you might have entered the full server path to the file, whereas it should be a relative path like "comments/" or "../comments/".

Also you have this in the path, moo.gamebreezycom, but shouldn't it be moo.gamebreezy.com.

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
21-Jul-2011, 04:18 PM
Post: #5
RE: I am getting 2 error messages?
Below is the code I used

<?php
$page_id = "1";
$reference = "Page One";
$path_to_comments_folder = "..comments/";
define ('IN_COMMENTICS', 'true'); //no need to edit this line
require $path_to_comments_folder . "..comments/includes/commentics.php"; //no need to edit this line
?>

I have also tried

<?php
$page_id = "2";
$reference = "Page Two";
$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
?>

and get these errors

Warning: require(comments/includes/commentics.php) [function.require]: failed to open stream: No such file or directory in /hermes/web09b/b938/moo.gamebreezycom/comments/example2.php on line 22

Fatal error: require() [function.require]: Failed opening required 'comments/includes/commentics.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/web09b/b938/moo.gamebreezycom/comments/example2.php on line 22

and

<?php
$page_id = "2";
$reference = "Page Two";
$path_to_comments_folder = "http://gamebreezy.com/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
?>

and get these errors

Warning: require() [function.require]: URL file-access is disabled in the server configuration in /hermes/web09b/b938/moo.gamebreezycom/comments/example2.php on line 22

Warning: require(http://gamebreezy.com/comments/includes/commentics.php) [function.require]: failed to open stream: no suitable wrapper could be found in /hermes/web09b/b938/moo.gamebreezycom/comments/example2.php on line 22

Fatal error: require() [function.require]: Failed opening required 'http://gamebreezy.com/comments/includes/commentics.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/web09b/b938/moo.gamebreezycom/comments/example2.php on line 22

Any idea? Thanks
Find all posts by this user
Quote this message in a reply
21-Jul-2011, 06:21 PM
Post: #6
RE: I am getting 2 error messages?
I can only suggest for you to ask your host about the correct server path.

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
21-Jul-2011, 07:03 PM
Post: #7
RE: I am getting 2 error messages?
I'll give it a try. Thanks for the help.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Error in Smarty compiler in cms CommiC 5 652 13-Aug-2012 10:16 PM
Last Post: CommiC
  Same comment on different pages throws error odie2828 1 295 28-Jun-2012 07:17 PM
Last Post: Steven
  "Failed opening required" error - cgi-bin problems? Cerebus 5 996 24-Jun-2012 07:04 AM
Last Post: Cerebus
  Database error upon integration angeljs 7 593 21-May-2012 02:58 PM
Last Post: angeljs
  To Bypass Database Connection Error iwede 2 345 07-Jan-2012 06:29 PM
Last Post: iwede
  MySQL Error with Intergration Swizzle 1 429 12-Sep-2011 07:08 AM
Last Post: utaka
  i'm getting this error myrondiasgoa 1 366 15-Jul-2011 02:11 PM
Last Post: Steven
  Error integrating commentics in my page Enrik 6 1,992 26-Apr-2011 06:06 PM
Last Post: Steven
  Page not found error vikaskukreja83 10 1,538 11-Apr-2011 02:07 PM
Last Post: vikaskukreja83
  error when testing example.php chrislas 15 3,065 22-Sep-2010 01:27 PM
Last Post: Steven

Forum Jump:


User(s) browsing this thread: 1 Guest(s)