UBB.Dev
Posted By: itzsnider Help on boards - 09/07/2001 7:43 AM
I have a problem with my boards

I actually was experiencing problems so I closed the boards down under misc settings and now I cant get it back up and ready to go.

It keep giving me this error?

Unable to open vars_misc.cgi file for writing. at c:inetpubwwwrootcgi-bin/cp_lib.cgi line 923.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

when i checked the file this is line 923

open (FILE, ">$vars_config{VariablesPath}/vars_misc.cgi") or die("Unable to open vars_misc.cgi file for writing.");

when I looked at it tried taking out the (or die("Unable to open vars_misc.cgi file for writing.") wink part but that just let me see everything was still closed and it didnt save it?

any help would be awesome

thanks

[email protected]

confused confused confused confused
Posted By: Lord Dexter Re: Help on boards - 09/07/2001 8:08 AM
Is your vars_misc.cgi uploaded in your variables directory and CHmodded to 777?
Posted By: itzsnider Re: Help on boards - 09/07/2001 4:16 PM
now I get this error when I try to reply to a post

Unable to open thread summary file at c:/inetpub/wwwroot/cgi-bin/ubb_lib_posting.cgi line 135.

and this error when i try to post a new topic

Unable to open lasttime.file : Permission denied at c:/inetpub/wwwroot/cgi-bin/ubb_new_topic.cgi line 353.

probably a chmod problem again but they are both 777 and I cleared the cache like ten times
Posted By: itzsnider Re: Help on boards - 09/07/2001 4:24 PM
fixed the post new topic and now I get this error

Unable to open lasttime.file : Permission denied at c:/inetpub/wwwroot/cgi-bin/ubb_new_topic.cgi line 353.

????

and still same problem with post reply
Posted By: itzsnider Re: Help on boards - 09/07/2001 6:51 PM
my avatars wont change either, I changed ips on my webserver and the avatars are not looking in the right directory even though in the file and in the ocntrol panel I set them right.. This is wierd and I really dont want to start over if I odnt have to


thanks
Posted By: itzsnider Re: Help on boards - 09/08/2001 4:06 AM
anyone anyone?


please help me out this is for my clan....
Posted By: Lord Dexter Re: Help on boards - 09/08/2001 4:40 AM
What was the last hack you installed before all these errors came up?

Also check your permissions for the Permission denied error.
Posted By: itzsnider Re: Help on boards - 09/08/2001 7:47 AM
last hack was the chat program, but this has worked fine, I moved it from one ip to another so I had to change everything that was looking for that ip to another ip

the permissions I changed but I dont know exactly what to change them back to

all the files as of now are admin , system and everyone have full control

thanks for the help
Posted By: Lord Dexter Re: Help on boards - 09/08/2001 12:53 PM
Ok these are the permissions.

CGI files-755
Variable files-777
CGI directory-755
NONCGI directory-777

Check these are correct well I'd say check your CGI bin permissions...
Posted By: RandyM Re: Help on boards - 09/08/2001 6:12 PM
You can't CHMod on an IIS server. You need to set the folder permissions on the directories.
Posted By: itzsnider Re: Help on boards - 09/08/2001 8:19 PM
xpert what folder permissions are coreect like that?


thanks
Posted By: LK Re: Help on boards - 09/08/2001 8:27 PM
Try to enable 'Write' on the variable's directory.
Posted By: RandyM Re: Help on boards - 09/08/2001 8:56 PM
Yep, you can run that test that you run when you first set the UBB up and that'll tell you exactly which permissions are wrong.
Posted By: itzsnider Re: Help on boards - 09/08/2001 9:44 PM
LK all of my var files are in the cgi bin folder

and xpert what tool do I use to try that out


thanks guys for the help
Posted By: Lord Dexter Re: Help on boards - 09/09/2001 2:02 AM
Well then you will need to enable write on the cgi-bin directory if they are inside that.
Posted By: itzsnider Re: Help on boards - 09/09/2001 5:36 AM
all files and folders are full control

so read, write execute etc


I believe
Posted By: Lord Dexter Re: Help on boards - 09/09/2001 9:00 AM
Not all of them should be. Some need to be 755.
Posted By: itzsnider Re: Help on boards - 09/09/2001 6:09 PM
anyway of knowing which need to be which, this permissions thing must be my problem

any and all help would be awesome


I need this board for my Urban Terror Clan

thanks
Posted By: itzsnider Re: Help on boards - 09/11/2001 1:12 AM
any help guys ...thanks
Posted By: itzsnider Re: Help on boards - 09/11/2001 3:02 AM
here is what I am getting when trying to post a new topic

Can't open: Permission denied at c:/inetpub/wwwroot/cgi-bin/ubb_new_topic.cgi line 381.

this is what line 381 is

open (FILE, ">>$vars_config{MembersPath}/user_posts/$user_number.cgi") or die("Can't open: $!" );

both files are full permissions and NOT read only?
any ideas

when trying to post a reply this is what I get

Unable to open thread summary file at c:/inetpub/wwwroot/cgi-bin/ubb_lib_posting.cgi line 135.

line 135 says

open (FILE, ">$vars_config{NonCGIPath}/$exact_path/forum_$number.threads") or die("Unable to open thread summary file");

so it seems my permissions on vars_config is wrong? it is not read only and its full ocntrol what more do I need?


thanks

other than that we are perfect

thanks
Posted By: Travis Re: Help on boards - 09/11/2001 3:04 AM
You do know you have the chmod the files IN the directories don't you? Go to your NonCGI directory, forum folders, and chmod the cgi files to 777(?). Can't tell you a straight answer since my FTP is down though.

[ September 10, 2001: Message edited by: Travis ]
Posted By: itzsnider Re: Help on boards - 09/11/2001 3:20 AM
nope tried that Travis doesnt work for me still, somehow or anything a test post I posted worked but now i cant post again, it showed up but I never did NOT get the error message, could it be a chaceing problem

I dont know

all I need to have is a list of all the permissions for all the major files in the noncgi and cgi-bin folders

thanks all

if anyone has this list please post it asap

thanks
Posted By: Travis Re: Help on boards - 09/11/2001 3:29 AM
Er... meant to edit, not quote... Disregard this message.

[ September 10, 2001: Message edited by: Travis ]
Posted By: RandyM Re: Help on boards - 09/11/2001 3:37 AM
You need to make sure that the IUSR_xxxxx user has the ability to write into those directories. The permissions will propogate from the parent. You CANNOT chmod on an IIS server. IUSR is the "user" that IIS uses to perform operations on those files and folders, and it is the user that you need to be concerned with.
Posted By: itzsnider Re: Help on boards - 09/11/2001 4:31 AM
actually I changed all the files to be accessed by iuser and nothing has changed so that is not my problem as I know that I didnt have that user set up before, this problem started to arise
Posted By: itzsnider Re: Help on boards - 09/12/2001 1:55 AM
any ideas or suggestions, I did the test thing and my permissions are correct for the files that it checks in the proggie

. Oh well let me know, I may just redo them all

thanks
© UBB.Developers