On Thu, Feb 11, 2010 at 08:49, madunix <madunix@xxxxxxxxx> wrote: > some of my web pages having the following issue when i call them > Warning:main(main_page.html.php): failed to open stream: No such file > or directory in /www/htdocs/web/public/public.php on line 50 > Warning:main(): Failed opening 'main_page.html.php' for inclusion > (include_path='.:/usr/local/lib/php') in > /www/htdocs/web/public/public.php on line50 The following is useless for debugging this issue: > PHP Core shows the following > > Directive => Local Value => Master Value > allow_call_time_pass_reference => Off => Off > disable_classes => no value => no value > disable_functions => exec, shell_exec, system, passthru,popen, > virtual, show_source, pclose ,ftp_connect,mysql_list_tables, > display_errors => Off => Off > display_startup_errors => Off => Off > doc_root => no value => no value > docref_ext => no value => no value > docref_root => no value => no value > enable_dl => On => On > error_append_string => no value => no value > error_log => no value => no value > error_prepend_string => no value => no value > error_reporting => no value => no value > expose_php => On => On > extension_dir => ./ => ./ > file_uploads => On => On > gpc_order => GPC => GPC > html_errors => Off => On > include_path => .:/usr/local/lib/php => .:/usr/local/lib/php > log_errors => On => On > log_errors_max_len => 1024 => 1024 > magic_quotes_gpc => On => On > magic_quotes_runtime => Off => Off > magic_quotes_sybase => Off => Off > max_execution_time => 0 => 240 > implicit_flush => On => Off > include_path => .:/usr/local/lib/php => .:/usr/local/lib/php > log_errors => On => On Because it's not an issue with the core. What is your code on the lines mentioned in the error message? Did you use one of the following? * include * include_once * requre * require_once Lastly, is the file main_page.html.php actually even in the same directory as public.php? Is it named with the dual-extension .html.php? -- </Daniel P. Brown> daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx http://www.parasane.net/ || http://www.pilotpig.net/ Looking for hosting or dedicated servers? Ask me how we can fit your budget! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php