PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Having some trouble understanding this error my browser produces when I run a website locally:
PHP Warning: require_once(includes/joomla.php) [function.require-once]: failed to open stream: No such file or directory in C:\Websites\Webpage1\public_html\lifestyle\index.php on line 26 PHP Fatal error: require_once() [function.require]: Failed opening required 'includes/joomla.php' (include_path='.;C:\php5\pear') in C:\Websites\Webpage1\public_html\lifestyle\index.php on line 26 PHP Warning: require_once(includes/joomla.php) [function.require-once]: failed to open stream: No such file or directory in C:\Websites\Webpage1\public_html\lifestyle\index.php on line 26 PHP Fatal error: require_once() [function.require]: Failed opening required 'includes/joomla.php' (include_path='.;C:\php5\pear') in C:\Websites\Webpage1\public_html\lifestyle\index.php on line 26
The joomla file is in the includes directory and here is a copy of what line 26 is in the index.php:
It looks like your path isn't right. Either specify the full path in the include or add the path to the file into your include list which is only '.' and 'c:/php5/pear' right now.
PHP Warning: require_once(/home/lifestyl/public_html/lifestyle/includes/version.php) [function.require-once]: failed to open stream: No such file or directory in C:\Websites\webpage1\public_html\lifestyle\includes\joomla.php on line 71 PHP Fatal error: require_once() [function.require]: Failed opening required '/home/lifestyl/public_html/lifestyle/includes/version.php' (include_path='.;C:\PHP\pear') in C:\Websites\webpage1\public_html\lifestyle\includes\joomla.php on line 71