This is a discussion on "php problem" within the PHP Forum section. This forum, and the thread "php problem are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
php problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How do i get rid of this error message?
Warning: main(../../public_html/config.inc.php): failed to open stream: No such file or directory in /home/www/00danny1212.freehostia.com/new/index.php on line 1 |
|
|
|
#2
|
|||
|
|||
|
Re: php problem
You have a missing (or unreadable) file at the path given in the message, on the first line of your index.php code. Three ways to get rid of it - you could
1. Provide a file of the specific name in the named directory 2. Add an @ character in front of the function call that generates the error so that it fails silently 3. chnage the path in your code to point to a file that exists |
|
#3
|
|||
|
|||
|
Re: php problem
I presume you are using something like Mambo or osCommerce.
Make sure in your configuration file that the absolute_path is set correctly. Don't ignore the error, because you will run into more trouble later on. The config.inc.php file is very important for your module to work properly. Give me more info, and I'll try and help you. What module are you using? |
![]() |
| Tags |
| php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 09:08 |