Closed Thread Icon

Topic awaiting preservation: * phpdev woes * - their forum sucks, so I'm asking you guys for a little help (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12725" title="Pages that link to Topic awaiting preservation: * phpdev woes * - their forum sucks, so I&amp;#039;m asking you guys for a little help (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: * phpdev woes * - their forum sucks, so I&#039;m asking you guys for a little help <span class="small">(Page 1 of 1)</span>\

 
smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 05-08-2003 23:14

I have recently downloaded and installed phpdev4 and it seems to do what is expected apart from two major problems:

1: phpdev4 doesn't like my webpages because they are xhtml and begin with <?xml version="1.0" encoding="iso-8859-1"?> , if I remove this line then they work, but I'm not really wanting to mince my doctype header thingies just for the sake of this, why does it fuck up? (I guess it has something to do with the '?' marks?). It chokes and displays a parsing error message thing.

2: phpdev4 doesn't like directories that contain .htaccess files - for some reason any directories with a .htaccess file in them wont open, just seem to become unfindable when I try.

Why is this huh?

I'm sure one of you smartees know the answer,

Thanks

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 05-09-2003 04:07

smonkey: OK your questions:

1. Is this causing a problem in only IE? It is a problem but fixable - show us the code for the top of your page (down to and including the head tag).

2. .htaccess is a weird file format in that it is all extension and Widnows doesn't like that - see:

:FAQ: Can I use a .htaccess file with a Windows server?

___________________
Emps

FAQs: Emperor

Suho1004
Maniac (V) Inmate

From: Seoul, Korea
Insane since: Apr 2002

posted posted 05-09-2003 04:31

Actually, I found the people on their forum to be very helpful...

DmS
Paranoid (IV) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

posted posted 05-09-2003 09:39

A guess.
Take a look in your php.ini (windows or winnt dir) file and make sure that "short_tags" isn't allowed. (remember to restart apache/php if you change the ini-file)

That may be the cause, if it is allowed, php will parse code starting with <? if not it has to start with <?php My guess is that if it's on it will start to parse the string
"<?xml version..." as php, which it isn't...

Give it a try.
/Dan

{cell 260}
-{ a vibration is a movement that doesn't know which way to go }-

smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 05-09-2003 13:15

Thanks dms, that worked - I figured it would be something like that because even I noticed that php files start with <? . Didn't have a clue how to fix it tho but it worked so that's good.

I'm still having problems with the .htaccess files tho, I went to C:\phpdev\Apache\conf\httpd.conf and changed the line ' AccessFileName .htaccess ' to ' AccessFileName ht.access' , renamed my .htaccess files ht.access and changed ' <Files ~ "^\.ht"> ' to ' <Files ~ "^ht\."> ' but it still denies entry to folders containing creating an ' Internal Server Error ', have I forgotten to do something?

Suho???? : I dislike their forum because my problem has been posted there for days and has had no replies and only about 2 views, it seems a dead forum to me, nothing changes much, unlike here.

Suho1004
Maniac (V) Inmate

From: Seoul, Korea
Insane since: Apr 2002

posted posted 05-09-2003 13:42

smonkey???? (<-- what does that mean, anyway?): Weird. I know the forum certainly isn't as lively as the Asylum, but I got answers to my questions over there. I think it was a guy named Switch who helped me the most. Oh well. At least you got your answer.

smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 05-09-2003 17:17

Suho???? <----- the question marks were because I couldn't remember the exact 4 digit number after your name.

smonkey <----- it is pronounced as spelt but is really S. Monkey, it's not my real name, but the S stands for something secret *shhhh, don't tell anyone ok? *, basically it's spin off of the space monkeys from fight club and shaved monkeys from twelve monkeys and sea monkeys being little shrimp - it's a similar thing but the S is something more relevant to me, and the the full unshortened name is the name of my own anti-hero strip character and also the leader my spoof political party which will remain unnamed until I have put everything into practice.

Suho1004
Maniac (V) Inmate

From: Seoul, Korea
Insane since: Apr 2002

posted posted 05-10-2003 02:31

Ah, OK. Well, most people around here just call me Suho anyway, so don't worry about the numbers (although they are significant--see my profile if you're really interested).

And I think I'll just call you Secret Monkey from now on.

« BackwardsOnwards »

Show Forum Drop Down Menu