Forums

PHP

This topic is locked

I have a path issue with PHP / PHKat / UD

Posted 12 Sep 2001 19:36:48
1
has voted
12 Sep 2001 19:36:48 crazy larry posted:
I had all this working before, but my PC crashed over the weekend and I had to reformat/start ALL over.

Can't remember how to config the apps.

Here is my setup:

W2K, UD4, IIS 5, PHP 4, PHKat, MySQL
-- w:\websiteroot is the IIS server root (production/remote folder in UD)
-- w:\webdev is the working root/development (local folder in UD)
-- php.ini with these setting:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path = ".;f:\php\includes"
doc_root = ".;w:\websiteroot;w:\devweb"
user_dir =
extension_dir = ./

--f:\mysql and f:\php are the installed directories

So here is what happens:
1. I have 2 test php pages, one for inserts and one for selecting
2. the insert php page works
3. the select php page does not work, here is that error:
Fatal error: Failed opening required './file:///W|/webdev/test/adodb/adodb.inc.php' (include_path='.;f:\php\includes') in w:\websiteroot\test\test_select.php on line 7

4. Neither of these pages works FROM UD. I have to open the browser and enter the url to make the insert page work

Any answers to:
1. Why I can't hit F12 in UD to run the php pages?
2. Why does the insert page work and not the select?

THANK You
Larry

Replies

Replied 12 Sep 2001 21:34:54
12 Sep 2001 21:34:54 crazy larry replied:
well, I solved part of the problem...

on the line of code, I used this line
require("/adodb/adodb.inc.php";

instead of this one
require("./adodb/adodb.inc.php";

Now both select and insert work.

HOWEVER, I still can not use F12 within UD to run the php pages...
I get this error

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Any ideas


Replied 12 Sep 2001 22:03:56
12 Sep 2001 22:03:56 crazy larry replied:
FINALLY... I found it.

on define sites, application server tab, remote folder field... I had the local folder and not the remote(web root) folder

little mistakes that take forever to figure out!!!!!!!!!!!

Reply to this topic