Reputation: 1199
When i try to call require_once function that gave to me following error message
I'm sure "/www/mvc/controllers/router.php" is correct path for my router.php file
Upvotes: 0
Views: 441
Reputation: 522110
Paths starting with /
are absolute to the system root. Meaning /var/www/foo/bar
would be something like C:\var\www\foo\bar
on Windows, which, looking at your debug message, is quite obviously not where your files are. Leave off the starting /
to make the path relative to the current script, or fix your path.
Upvotes: 3
Reputation: 62387
I'm pretty sure you don't have /www/mvc/controllers/router.php
on Windows. And you're on windows, as indicated by include path C:\php\pear
and script path C:\wamp\www\mvc\index.php
Upvotes: 0