ID: 21674 Comment by: datsnice at bolt dot com Reported By: moderator at blackpeeps dot com Status: No Feedback Bug Type: *URL Functions Operating System: Cobalt RAQ4 Apache/Linux PHP Version: 4.3.0 New Comment:
What is wrong with the web site it tells me that I have already signed up and do not sign up twice, and I have never signed up before. It also tells me that my e-mail address already exist with someone else which it is not. Previous Comments: ------------------------------------------------------------------------ [2003-02-26 09:28:36] hmm dot hmm at firemail dot de Hi I have the some problem :::: Warning: main(shop/index&main_kat=11&nr=.php) [function.main]: failed to create stream: No such file or directory in /home/admin/lala.com/index.php on line 260 Warning: main() [function.main]: Failed opening 'shop/index&main_kat=11&nr=.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/admin/lala.com/index.php on line 260 Can anyone help me? ------------------------------------------------------------------------ [2003-02-12 01:18:49] xilord at yahoo dot com Make sure you have the file names exactly correct and paths or you'll get the same error messages. ------------------------------------------------------------------------ [2003-02-04 16:49:32] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-01-22 22:25:22] [EMAIL PROTECTED] The point of asking for var_dump(ini_get('include_path')); is so you'll show the output of it. This is a form of debugging. The problem has to do with the include_path directive. Now we're trying to figure out why/where it gets set to '' before doing some of these includes as this seems to be the case. So, whenever you get this error: Warning: main() [function.main]: Failed opening 'foo.php'... Add this line above the include: var_dump(array(ini_get('include_path'),__LINE__,__FILE)); This way we'll know some useful information. Basically put this line above EVERY one of these failed includes, such as the inclusion config.php, extra.php, and lang.php. Please do this and show the output in your next reply. Btw, I modified Wez's debug dump a little so we can be a little more specific :) Also, be 100% sure you are not setting this directive in either httpd.conf or .htaccess. ------------------------------------------------------------------------ [2003-01-22 10:38:48] moderator at blackpeeps dot com Hello Wez: Not it does not look like that. I was asked to include var_dump(ini_get('include_path')); before the require_once statement in the primary script, phpbug21674.php Remember there are two scripts located in different paths representing two different virtual domains. /home/site3/phpbug21674.php (contains a require_once ("/home/sites/site2/web/IV/config.php"); and /home/sites/site2/web/IV/config.php" ---> contains include_once ('lang.php'); include ('extras.php'); However, I did go back and also added the var_dump to config.php to reflect as follows: var_dump(ini_get('include_path')); include_once ('lang.php'); include ('extras.php'); Results: Same results = Failed to create stream: Again, this script worked fine on PHP 4.1.2 Now it seems to get it to work, I have to reference the absolute path. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21674 -- Edit this bug report at http://bugs.php.net/?id=21674&edit=1