![]() |
Problem with PHP getcwd after changing hosts I have recently migrated to a new hosting company and have moved my site accordingly. The site has been working fine for more than a year. After migration, I hit the following issue when I try to access my site: Warning: include(c:\PHP5/includes/config.php) [function.include]: failed to open stream: No such file or directory in C:\HostingSpaces\cnecorp\eminitalk.com\wwwroot\eMi niTalk\includes\class_core.php on line 2567 Warning: include(c:\PHP5/includes/config.php) [function.include]: failed to open stream: No such file or directory in C:\HostingSpaces\cnecorp\eminitalk.com\wwwroot\eMi niTalk\includes\class_core.php on line 2567 Warning: include() [function.include]: Failed opening 'c:\PHP5/includes/config.php' for inclusion (include_path='.;C:\php5\pear') in C:\HostingSpaces\cnecorp\eminitalk.com\wwwroot\eMi niTalk\includes\class_core.php on line 2567 Configuration: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php This problem is apparently because GETCWD not returning the working directory: I changed a couple of scripts to resolve to the correct directory but it seems to find more and more which indicates that it is across a myriad of scripts so changing them all would not be practical. How do I get around this problem? Thanks http://www.vbulletin.org/forum/image...tons/quote.gif |
| الساعة الآن 07:56 AM |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir