i need help with localhost

Started on the old forum in December 2009 · view the original in the archive · old links redirect here

11 replies · 685 views · started 16 years ago · 1 min read

8 participants
convictor Developer · 114 posts #1

i've uploaded variouis scripts now, to test/ check it out. my problem is that altough i follow the install instructions that i found here in a thread, the script still dont work. i've setup a db, edited the config file to exactly what everything should be, username, pw, etc. my question is this, where it shows localhost, am i supposed to change it to somethin else? thats the part where it shows db host.

almost forgot, i used 2 scripts too that have an auto installer, and even with that i get a misconfiguration error, together with 404 not found

Why cry for a soul set free?

Mysterio Lead · 630 posts #2

server: localhost user, db, pwd are optional. You can use them as you want. But maybe its script problem.

mysterio.al - programming is a functional art

riderz Lead · 975 posts #3

mabe u dnt put the localhost info right in dbname: script hostname: Localhost username root password root

if u didnt change anything it will be root

then it should work right try to download uniserver thats an easy one to use then dont change anything just create ur db and add the info in config test it then


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

ori Lead · 512 posts #4

u might have to add 127.0.0.1 localhost to windows hosts file

KiLLeR_mAcHInE Developer · 128 posts #5

many servers host are diferent . Like freehostia its mysql3.freehostia.com . All depends. Check ur mail. May be dtails there k

:-):-):-):-) any probs PM me ??? :-):-):-):-):-) c yA

subzero Super moderator Fellow · 3,954 posts #6

some have no password

MySql

root then enter then add pass later in phpmyadmin..

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

convictor Developer · 114 posts #7

riderz, where do one get this uniserver? I use linux hosting, paid, ok, i read everything here, so the word localhost stays like that. It must be something im doing wrong, i dont think 5 different script will have the same problem lol

Why cry for a soul set free?

convictor Developer · 114 posts #8

so where it shows localhost, i leave it localhost? if i should change it, where do i find the db host, is that the domain that i use?

Why cry for a soul set free?

convictor Developer · 114 posts #9

this is the error message i get, i uploaded besttop script too, same story, damn im daft

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@top.mobiholics.co.za and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Why cry for a soul set free?

cobusbo Developer · 117 posts #10

This problem sounds like its from the hosting provider site contact them if im correct

wap2k Developer · 168 posts #11

For WampServer it is:

Host: localhost username: root Database: databasename (might have to create this in phpmyadmin first though) Password is nothing as default

convictor Developer · 114 posts #12

ok, i used the edited scotspaul script that i found here, the config fila have this:

// Database configuration $server="server"; //server name $user="username"; //username of your database $pass="password"; //password of your database $dbname="database name"; //database name $Connect = mysql_connect("$server","$user","$pass"); mysql_select_db("$dbname"); $ok=0;

now i created a db with name mobiholi_chat, username mobiholi_conrad, password=my password

so the config must be like this? this is how i typed it into the config file: // Database configuration $server="localhost"; //server name $user="mobiholi_conrad"; //username of your database $pass="my password"; //password of your database $dbname="mobiholi_chat"; //database name $Connect = mysql_connect("$server","$user","$pass"); mysql_select_db("$dbname"); $ok=0;

Why cry for a soul set free?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close