NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Failed opening required...


Joined: 18 Jun 2009
Posts: 6
Reply with quote
Hi, someone please help me! I installed the trial for PHPEd and tried to create a new project using an existing web site I had on localhost. It checked my PHP installation and said it couldn't find my php.ini, which is odd because it's right there in the C:/PHP folder. I also checked the two php folders it created in the phpEd folder and they have a php.ini.

Then I realized things were even worse. I went to my page on localhost and it wouldn't come up! It has this error:

Warning: require_once(classes/pageLoading/class.pageLoader.php) [function.require-once]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\index.php on line 2

Fatal error: require_once() [function.require]: Failed opening required 'classes/pageLoading/class.pageLoader.php' (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\index.php on line 2

The problem seems to be that it can't find my includes folder because it's not in that include_path, but I don't know where it's getting that include_path, as it does not say that in any php.ini file I have on my harddrive (I did a global search and every last one has the correct include path).

What's going on here? How can I get my webpage back up with PHP and how can I get phpEd working?

Thanks!
View user's profileFind all posts by dillydadallySend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
Since we don't have a lot of practical info to go on here except for PHP not finding your ini, try to put a php file in there with phpinfo(); in the web root and run it.
It'll tell you which php.ini the server is using. Perhaps that will help you fix the rest
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
said it couldn't find my php.ini, which is odd because it's right there in the C:/PHP folder


It does not mean that Wizard can't find. It means that php can't find your php.ini.

PhpED has neither any relation to nor any influence on the php installed on your system. It simply does not use it. To run the pages through SRV it uses php that comes with PhpED. To run them through a 3rd party web server like IIS in your case, it assumes that you have already installed php and configured it properly. If you havn't, it's not PhpED's fault Smile. If you don't want to configure php with your IIS, you may want to use our TechPlatform (or any other XAMPP/WAMPP) package that comes with pre-configured php.
Regarding 'classes/pageLoading/class.pageLoader.php' not found, you need to follow your application installation instructions. I can't help with this, sorry.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Failed opening required...
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic