• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Need help with znote website :)

naod123456

Wazzaap
Joined
Mar 28, 2013
Messages
242
Reaction score
4
I cant make acc on my znote website when i make a acc this comes up "Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\Viktigt\htdocs\engine\function\users.php on line 1333
Register Account
Unknown column 'name' in 'field list'"

And when am trying to log in this comes up "Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\Viktigt\htdocs\engine\function\users.php on line 1333
We tried to log you in, but...

Failed to authorize your account, are the details correct, have you registered?"

Why please help!

- - - Updated - - -

please help :(

- - - Updated - - -

please help :/
 
line 1333
PHP:
return (mysql_result(mysql_query("SELECT COUNT('id') FROM `accounts` WHERE `name`='$username';"), 0) == 1) ? true : false;

Have you imported the mysql schema that follows with TFS to your database?
 
ahh no

- - - Updated - - -

how do i get mysql schema?

Which TFS version are you using?

You can download mysql schemas from the Public Subversion, (tags/your_tfs_version/schemas/mysql.sql)
 
Last edited:
Enter phpMyAdmin -> select database -> import -> choose file to import or look at Znote's tutorial if you don't understand completely.

[video=youtube;AsyxPhDTOcI]http://www.youtube.com/watch?feature=player_embedded&v=AsyxPhDTOcI[/video]
 
I have watched his toturial i have impoted the sql file to phmyadmin that i dont understand is shuld i import mysql, pgsql or sqlite?
 
Back
Top