OVERVIEW | SETUP | USER GUIDE | DOWNLOAD | TODO | NEWS | FAQ | FORUM | MAILING LIST | SUPPORT


FORUM  

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Inclusion failed error, Failed opening 'config_sql.php'
Posted by: Daniel (---.ise.pw.edu.pl)
Date: July 23, 2004 11:48AM

Hello,

I am getting these warning when add a tag in my pages:

This is tag: <? $table= "my_table";
include ("../stat/write_logs.php"); ?>

and

Warning: Failed opening 'config_sql.php' for inclusion (include_path='.:/usr/share/php') in /my_path/stat/write_logs.php on line 4
Impossible de se selectionner la base SQL, essayez plus tard

How can I resolve this problem?

Thank you in advance.
Daniel

Re: Inclusion failed error, Failed opening 'config_sql.php'
Posted by: Beloop (---.imra-europe.com)
Date: July 26, 2004 11:16AM

Change your include_path variable in php.ini to add /stat as a directory to browse.
Your include_path will become:
include_path='.:/stat/:/usr/share/php'

Beloop

Re: Inclusion failed error, Failed opening 'config_sql.php'
Posted by: trinkets (---.dhcp.sprint-hsd.net)
Date: August 28, 2005 09:32PM

This is what you should put on your page/pages you want to monitor.

<? $table="my_table";
include $_SERVER["DOCUMENT_ROOT"] . "/stats/write_logs.php"; ?>



Sorry, only registered users may post in this forum.

Contact