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

getting error on examples pages already
#1

Example

Warning: require(upload/includes/commentics.php) [function.require]: failed to open stream: No such file or directory in /home/kasplaw/domains/lawkasparova.ru/public_html/ask/example.php on line 12

Warning: require(upload/includes/commentics.php) [function.require]: failed to open stream: No such file or directory in /home/kasplaw/domains/lawkasparova.ru/public_html/ask/example.php on line 12

Fatal error: require() [function.require]: Failed opening required 'upload/includes/commentics.php' (include_path='.:/usr/local/php5/lib/php') in /home/kasplaw/domains/lawkasparova.ru/public_html/ask/example.php on line 12
Reply
#2

Hi,

What's happening is that you're trying to include the file "upload/includes/commentics.php" from example.php but it doesn't exist at that location.

What you need to do is to adjust the $cmtx_path value in the integration code so that it correctly points to that file.

Maybe it doesn't point to it because you changed the name of the /upload/ folder. In that case you would need to change the part in red "upload/includes/commentics.php".

Or maybe the /upload/ folder is not in the same directory as the example.php file. Add "../" to the beginning, so it's "../upload/includes/commentics.php". Take a look at the example3.php file in the download package to understand how it's done.

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by MattyP
11-Apr-2020, 08:08 PM
Last Post by Steven
10-Mar-2017, 10:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)