Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
supplied argument is not a valid MySQL-Link

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 05.04.2005 22:38    Post subject: supplied argument is not a valid MySQL-Link Add user to your forum ignore list Reply with quote

??? zasto?
googlanje nije pomoglo

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 05.04.2005 22:56    Post subject: Add user to your forum ignore list Reply with quote

provjeri:
- jel kreirana baza na koju se konektas
- jesu li username i password ok
- jel "localhost" ili neki drugi servoar u igri...

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 05.04.2005 23:29    Post subject: Add user to your forum ignore list Reply with quote

+ dal postoji tablica u bazi
+ dal postoji polje u tablici

a mozes i pejstat query ovdje, mozda imas neki tipfeller...

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
lekke



Joined: 17 Jun 2004
Posts: 860
Location: 25th floor

PostPosted: 05.04.2005 23:44    Post subject: Add user to your forum ignore list Reply with quote

i moj favorite entry na check-listi, provjeri da nisi zabranio lokalnom firewallu pristup MySQLu Smile Ja sam nekoc izgubio 2 sata na tome

_________________
You need more bass.
Back to top
View user's profile Send private message
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 06.04.2005 10:15    Post subject: Add user to your forum ignore list Reply with quote

posto imam ovu liniju
Code:
mysql_select_db($dbname,$connect) or die ("Otvaranje baze nije uspjelo");
pretpostavljam da su podaci tocni, inace bi izjavilo gresku, innit?

ovo je par linija, doduse sumnjam u ovaj datum (koji bi trebao biti tipa date) - ovo je improvizacija i vjerojatno nije tocno Confused
Code:
$datum = $godina . '-' . $mjesec . '-' . $dan;
if ( mysql_query("INSERT INTO clanovi (ime, prezime, jmbg, spol, datum, mjestorod, ulica, grad, postanski, staktivnosti, skolovanje, email, telefon, mobitel, www, datzahtjev, zivotopis)
                       VALUES ('$ime', '$prezime', '$jmbg', '$spol', '$datum', '$mjestorod', '$ulica', '$grad', '$postanski', '$staktivnosti', '$skolovanje', '$email', '$telefon', '$mobitel', '$www', CURRENT_DATE(), '$zivotopis')",$connect) ) {
         echo "<p>Uspješno ste se prijavili!</p>" ;}

tablica postoji, polja postoje.
ovo sa firewallom nije jer je dosad spajanje na drugom serveru uspijevalo.

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 06.04.2005 11:36    Post subject: Add user to your forum ignore list Reply with quote

koji tip polja su ti datum i datzahtjev?
probaj si ispod svega echoat mysql_error() pa vidi sta tamo kaze...

btw, kak ti izgleda $connect?

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 06.04.2005 11:37    Post subject: Add user to your forum ignore list Reply with quote

najpametnije ti je da echoas kak ti query izgleda...kopiras i isprobas ga u phpmyadminu...koji ce ti fino javiti tocno sta ne radi

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 06.04.2005 14:18    Post subject: Add user to your forum ignore list Reply with quote

ok, problema je bilo gomilu Embarassed
1) nisam INCLUDALA fakin config.php :doh:
2) u cpanelu nisam atacchala usera na bazu :doh: ^2
i sad radi Very Happy

hvala Cheers!

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side 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 © 2001, 2005 phpBB Group