Page 1 of 1

file permission on windows OS

PostPosted: Mon Sep 25, 2006 1:45 pm
Author: MadUser
hi
i moved my web site to another host. this time its windows NT
but when i try to browse, i get lots of errors.

i guess it got somthing to do with the file permissions.
what do i do with the permissions?
it is not like linux.

this is my DB info: MySQL 4.1.18-nt on localhost:3306

this are my errors:


Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includessessions.php on line 412

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includessessions.php on line 414

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includespage_header.php on line 1761

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includespage_header.php on line 1765

Warning: Cannot modify header information - headers already sent by (output started at C:vhostspcrage.orghttpdocsim140includestemplate.php:4749) in C:vhostspcrage.orghttpdocsim140includespage_header.php on line 1767

------------------------------------- then below i get ----------------------------

Could not read list informations

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND pa.pic_cat_id = 0)' at line 3

SELECT pa.*, (pa.pic_id) AS _list_key, (pa.pic_title) AS _list_txt, (pa.pic_id) AS _list_img
FROM (phpbb_album AS pa)
WHERE (pa.pic_user_id = AND pa.pic_cat_id = 0)



Line : 962
File : def_userfuncs.php

---------------------------------and below this i get --------------------

Critical Error!
message_die() was called multiple times.
Error #1
Could not read list informations

Line : 962
File : C:vhostspcrage.orghttpdocsim140profilcpdefdef_userfuncs.php
SQL :

SELECT pa.*, (pa.pic_id) AS _list_key, (pa.pic_title) AS _list_txt, (pa.pic_id) AS _list_img
FROM (phpbb_album AS pa)
WHERE (pa.pic_user_id = AND pa.pic_cat_id = 0)


Error #2


Line : 262
File : C:vhostspcrage.orghttpdocsim140includesfunctions_jr_admin.php
SQL : SELECT * FROM phpbb_jr_admin_users WHERE user_id =
Please, contact the webmaster. Thank you.

PostPosted: Mon Sep 25, 2006 1:52 pm
Author: Imajica
NT doesn't user permissions like linux does
when I did my testing on 2k3 I had to make the im140 directory read/write/exec by iuser/iwam

If I was going live under windows I'd be a lot more careful about my permissions

look at the install doc and wherever it says 777 make it read/write/exec by iuser/iwam

same with a 644 file

everything else should at least be write/exec

Hey there is an idea... anyone working on install docs for windows?

Re: file permission on windows OS

PostPosted: Tue Sep 26, 2006 12:38 am
Author: MadUser
what do you mean by: iuser and iwam?

I see in the permission window:
owner
group
public

which is which and where do I put what?

Thanks!

PostPosted: Tue Sep 26, 2006 6:26 am
Author: Imajica
iusr and iwam are IIS users...

you are prob using apache tho right?

PostPosted: Tue Sep 26, 2006 11:03 am
Author: MadUser
"Imajica";p="15868" wrote:iusr and iwam are IIS users...

you are prob using apache tho right?


I am sorry. my mistake.
i got 7 users.
i see the two that you are talking about.
i will give it a try and inform later.
thanks Imajica.

PostPosted: Tue Sep 26, 2006 11:54 am
Author: MadUser
well i changed permissions.
all the error message still there.
i am opening new post about it.
Thanks.