View previous topic :: View next topic |
Author |
Message |
net_spider -
Joined: 31 Mar 2006 Posts: 2
|
Posted: Fri Mar 31, 2006 5:32 am Post subject: Help me to create web site |
|
|
Hi
i tried to make web site like this (for esay access of mp3s in my system) with the help of Zina and Abyss Web Server X1. Also PHP, phpMyAdmin and my SQL are installed by these setup guide.
PHP - http://www.aprelium.com/abyssws/php.html
phpMyAdmin - http://www.aprelium.com/forum/viewtopic.php?t=1071
my SQL - http://www.aprelium.com/forum/viewtopic.php?t=1070
but i couldn't understand this setting for Zina
Installation: IIS
Paul Roberts says: The problem with IIS is that it doesn't have some of the server variables that Apache does (specifically DOCUMENT_ROOT and SERVER_ADDR). To overcome this you need to add them to the System Environmental Variables (Control Panel->System->Advanced->Environmental Variables) and it will all work ok. e.g.
[b]DOCUMENT_ROOT C:\Inetpub\wwwroot
SERVER_ADDR 127.0.0.1Continue with one of the installation methods above or for 0.10.x
i did these setting
Variable name - SERVER_ADDR
Variable value - 127.0.0.1
Variable name - DOCUMENT_ROOT
Variable value - C:\Inetpub\wwwroot
is it right?
i don't have "C:\Inetpub\wwwroot" directory but i did.
when i test my web page i got like this with error message "Notice: Undefined index: SERVER_ADDR in C:\Program Files\Abyss Web Server\htdocs\index.php on line 219". When i click play or download it gave error message. for play like this
Notice: Undefined index: SERVER_ADDR in C:\Program Files\Abyss Web Server\htdocs\index.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 2959
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 2960
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 2963
http://127.0.0.1/index.php?l=10&p=artist%20one%20demo%2Ftitle%20one%2F01%20-%20Song%20One.mp3
Any one can help me to solve this problem? or do u know any other script like Zina? |
|
Back to top |
|
 |
roganty -
Joined: 08 Jun 2004 Posts: 357 Location: Bristol, UK
|
Posted: Fri Mar 31, 2006 10:48 am Post subject: |
|
|
net_spider
abyss does send out the server variables that are needed, so you can skip that step.
hoepfully that should solve your problem
the warnings about the headers will disapear as soon as the first two errors are sorted, so don't worry about them. _________________ Anthony R
Roganty | Links-Links.co.uk |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Mar 31, 2006 11:05 am Post subject: Re: Help me to create web site |
|
|
net_spider,
You should remove the two declarations you made because they can confuse your script (and these variables are already passed by Abyss Web Server to scripts).
Your problem is with PHP displaying notices (Which are just hints to help developers and there are not really useful for you as a user). Search for E_NOTICE on this forum to know how to disable them. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
net_spider -
Joined: 31 Mar 2006 Posts: 2
|
Posted: Fri Mar 31, 2006 2:20 pm Post subject: |
|
|
tnx guys,
i removed those two settings. but still i have the problem when i click play. it gave this message
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 2959
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 2960
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 2963
http://127.0.0.1/index.php?l=10&p=artist%20one%20demo%2Ftitle%20one%2F02%20-%20Song%20Two.mp3
images also not displaying. when i login it gave message like this Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\index.php:219) in C:\Program Files\Abyss Web Server\htdocs\index.php on line 410
but if i click back i could do the settings. |
|
Back to top |
|
 |
roganty -
Joined: 08 Jun 2004 Posts: 357 Location: Bristol, UK
|
Posted: Sat Apr 01, 2006 9:37 am Post subject: |
|
|
This now seems like a problem with the script that you are using
get into contact with the developer of zina as the script is sending output to the browser, and then trying to change the headers (it should send the headers, and then any output)
or you could try finding those lines mentioned in the error messages and post them on this forum
*EDIT*
I have just installed zina, and i am not seeing any errors, mabe you should try re-installing zina
btw, i downloaded and installed the 0.11.24 release _________________ Anthony R
Roganty | Links-Links.co.uk |
|
Back to top |
|
 |
|