You are here: Include path issues « PHP Programming Language « IT news, forums, messages
Include path issues

Posted by wedsall at geemail on 02/28/06 23:51

Hello! I have an issue with my include_path.

So I did a fresh install of php, and my web directory is actully in one
of the home directories. Let's call it /home/userx/www/

Something is wrong with the include_path, but I don't understand it.
You can directly include a file in the directory you're in, but
includes don't work two files deep. For instance when phpBB2 includes
include/functions.php, the references to $base_url inside functions.php
are taken from its own location, instead of the file that included it.

Warning: include(./language/lang_english/lang_main.php)
[function.include]: failed to open stream: No such file or directory in
/home/userx/lib/www/htdocs/phpBB2/includes/functions.php on line 719

Please help! My include_path is set to .:/usr/local/lib/php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация