Help me to create web site

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
net_spider
-


Joined: 31 Mar 2006
Posts: 2

PostPosted: Fri Mar 31, 2006 5:32 am    Post subject: Help me to create web site Reply with quote

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.1
Continue 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 View user's profile Send private message
roganty
-


Joined: 08 Jun 2004
Posts: 357
Location: Bristol, UK

PostPosted: Fri Mar 31, 2006 10:48 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Mar 31, 2006 11:05 am    Post subject: Re: Help me to create web site Reply with quote

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 View user's profile Send private message Send e-mail
net_spider
-


Joined: 31 Mar 2006
Posts: 2

PostPosted: Fri Mar 31, 2006 2:20 pm    Post subject: Reply with quote

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 View user's profile Send private message
roganty
-


Joined: 08 Jun 2004
Posts: 357
Location: Bristol, UK

PostPosted: Sat Apr 01, 2006 9:37 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group