PDA

View Full Version : questions about mp3 server


robin801
07-15-2003, 1:07 PM
i just installed iis on win2k pro.

i am using the directions in the guides in the article section on phpnuke on iis servers.

my first question is---

"copy the contents of the html folder into the root directory of your website"

is this the default "home directory"?

Mntsnow
07-15-2003, 1:08 PM
Yes that would be the home directory

robin801
07-15-2003, 1:09 PM
ok.

on with the installation.:)

robin801
07-15-2003, 5:01 PM
i'm back.:)

i got as far a number 3.

when i went to command prompt and typed in ---

cd mysqlbin

i got this message--

"system cannot find the path specified"

i did the check to see if it was running and it opened and i now have a traffic light symbol in my tray.

should i continue with your directions or is something wrong with my setup?

Mntsnow
07-15-2003, 9:26 PM
The traffic light in the tray what color is the light? If it is green you can proceed. If it is red we need to do some de-bugging

robin801
07-16-2003, 12:02 PM
ok. i'm at step 4.

1-find register_globals and set that to On---this is what i see.

You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off(change this to on)

2-find error_reporting and turn that off by putting a semicolon in front of it

Examples:
;
; - Show all errors, except for notices
;
;error_reporting = E_ALL & ~E_NOTICE
;
; - Show only errors
;
;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
;
; - Show all errors except for notices
;
error_reporting = E_ALL; display all errors, warnings and notices(don't know what to do here)

3-find include_path and add the path to your website root ex: ".;c:inetpubwwwroot"

;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"(do i remove what is there?)


4-find display_errors and change it to Off

Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On



5-find SMTP= and change it to the address of your mail server ( localhost


[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only(what do i put here?)


just want to make sure i have the right things before i make any changes.
:)

how do i put in a username/password in mysql? i already installed the program and i didn't put anything in those 2 boxes.:(

Mntsnow
07-16-2003, 2:50 PM
1-find register_globals and set that to On---this is what i see.

You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off(change this to on) Yes change this to ON for now

2-find error_reporting and turn that off by putting a semicolon in front of it

Examples:
;
; - Show all errors, except for notices
;
;error_reporting = E_ALL & ~E_NOTICE
;
; - Show only errors
;
;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
;
; - Show all errors except for notices
;
error_reporting = E_ALL; display all errors, warnings and notices(don't know what to do here) Leave as is for now once you have it working correctly you can disable this too but for debugging it really helps to have it turned on

3-find include_path and add the path to your website root ex: ".;c:inetpubwwwroot"

;
; Windows: "\path1;\path2"
include_path = ".;c:\php\includes;C:\inetpub\rootwebsitepath;"(do i remove what is there?) Edit as need to point to your php install/includes and add/edit the path to where your scripts are located.


4-find display_errors and change it to Off

Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On (THIS IS FINE FOR TESTING/Debugging but then change to Off when running correctly)



5-find SMTP= and change it to the address of your mail server ( localhost


[mail function]
; For Win32 only.
SMTP = localhost ; for Win32 only(what do i put here?) This is fine for now or if you ran a seperate Email server you would list it's IP address

robin801
07-16-2003, 3:44 PM
php install/includes and add/edit the path to where your scripts are located.

don't understand what i'm supposed to put here.

is this my home page or my home directory?:confused:

(include_path = ".;c:\php\includes;C:\inetpub\wwwroot;")

this is what i put-----minus the parentheses.

i get a 404 error.

i also can't open internet services manager:(

Mntsnow
07-16-2003, 4:59 PM
Your include path needs to list

include_path = ".;c:\php\includes;c:\inetpub\wwwroot;"

Taking into account that you installed "php" to the Php folder on the C drive and that you have your webfiles for the php driven website in the "c:\inetpub\wwwroot" folder.

What URL are you trying when you get the 404 error? Do you have IIS running?

robin801
07-16-2003, 5:25 PM
i installed all 3 programs to my C drive.


what webfiles are you referring to?


i am typing mp3/localstart.asp

for some reason my system is running slow.

when i type the letters don't show up right away. i have to type 3 or 4 letters before 1 shows up.

i am really messing up my system.


i don't know if IIS is running or not i can't open up internet services manager.

i shut down the server and restarted and my system is running fine now.:)

edit: i looked in the control panel and there is a red * mark by internet service manager and personal web manager.

should i reinstall IIS?

Mntsnow
07-16-2003, 6:03 PM
Well we have to figure out why you have the red mark in the control panel. Sounds like to me you dont have IIS setup correctly or it is not running.

2nd you will NOT get any page to work by just typing

mp3/localstart.asp

You would need to type something along the lines of

http://localhost/somewebpage.html or php or asp ect ect.

Robin have you read http://www.dslwebserver.com/main/sbs-wk2-pro-iis-web.html that I gave you awhile back?

robin801
07-16-2003, 6:14 PM
that is the site that i used to setup IIS.

ok.


what is "localhost"

i have to have a webpage?

Mntsnow
07-16-2003, 7:26 PM
"localhost" is your computers "loopback"...same thing as 127.0.0.1

You will have a "default" webpage if you are using the default IIS location

robin801
07-17-2003, 10:51 AM
when i installed IIS i had the exact same thing as the example except for the name of the computer.


i didn't have a problem opening IIS until after i made the changes following your instructions in the guide.


update----i uninstalled IIS and reinstalled.

http://mp3/iisstart.asp?uc=1

i looked at the pictures at the link that you gave me and the red marks are in those pictures.

so this must be alright.:D

now when u have time maybe we can still make this work.:D

robin801
07-17-2003, 5:45 PM
when u go to that site it says something about not having a default page.

what do i use as a default page and where do i put it?


i had to reboot and i'm back to no page found and can't open IIS manager.:(

when i open winmysqladmin 1.4 in the box ODBC it has-----

not found
driver 3.41 not found


i think i made my mistake in the last step of the guide when i was trying to configure IIS