Error :
Warning: Failed opening 'config.php' for inclusion (include_path='.;c:\php4\pear') in
c:\inetpub\wwwroot\oneadmin\photogallery\home.category.php on line 1
Solution :
1. Edit home.category.php. Line 1, insert your document path for config.php inclusion.
Eg, include("c:/inetpub/wwwroot/oneadmin/config.php");
By default, it is include("config.php");
2. To find out your document full path, go to the Administration Area, click on Admin > Component. The path is defined your 'config.php' file.
Note :
For similar error due to your web pages are unable to find the config.php file for inclusion, you should edit all related home.xxxxx.php files to use the full document path.
|