| View previous topic :: View next topic |
| Author |
Message |
Saint_724 Private

Joined: 09 Sep 2007 Posts: 3
|
Posted: 22/09/2007 16:20 Post subject: [webpage err] |
|
|
Hi im new to this forum and hosting w*w servers, so i need a bit of help.
i installed the server and everyting worked great web pages and everyting els then i did the update ting with the svn-installer that fixed a bug in game but now my webpage doesn't work anymore when i go to the page i get this....
[code]
SQL Error: Unknown database 's1a2i3n4t5' at C:\Kevin\x-repack\www\index.php line 34
Array
(
[code] => 1049
[message] => Unknown database 's1a2i3n4t5'
[query] => mysql_select_db()
[context] => C:\Kevin\x-repack\www\index.php line 34
)
SQL Error: No database selected at C:\Kevin\x-repack\www\core\class.auth.php line 233
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT * FROM account_groups WHERE g_id=1
[context] => C:\Kevin\x-repack\www\core\class.auth.php line 233
)
SQL Error: No database selected at C:\Kevin\x-repack\www\core\class.auth.php line 306
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT count(*) FROM `online` WHERE `user_id`='0' AND `user_ip`='127.0.0.1'
[context] => C:\Kevin\x-repack\www\core\class.auth.php line 306
)
SQL Error: No database selected at C:\Kevin\x-repack\www\core\class.auth.php line 313
Array
(
[code] => 1046
[message] => No database selected
[query] => INSERT INTO `online` (`user_ip`,`logged`,`currenturl`) VALUES ('127.0.0.1','1190470392','/')
[context] => C:\Kevin\x-repack\www\core\class.auth.php line 313
)
SQL Error: No database selected at C:\Kevin\x-repack\www\core\class.auth.php line 261
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT * FROM `online`
[context] => C:\Kevin\x-repack\www\core\class.auth.php line 261
)
SQL Error: No database selected at C:\Kevin\x-repack\www\index.php line 127
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT count(id) FROM `realmlist`
[context] => C:\Kevin\x-repack\www\index.php line 127
)
SQL Error: No database selected at C:\Kevin\x-repack\www\index.php line 133
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT dbinfo FROM `realmlist` WHERE id=1
[context] => C:\Kevin\x-repack\www\index.php line 133
[/code]
What do i do to fix this?
Any help would be great |
|
| Back to top |
|
 |
Saint_724 Private

Joined: 09 Sep 2007 Posts: 3
|
Posted: 22/09/2007 16:42 Post subject: :/ |
|
|
This is a bit embarising..
I tryed for houers befor posting top post and shortly after i posted i found out what the problem was. turns out for some reson after updating with svn it cahanges your db_name in the config file to your password insted of keeping it on xrepackdb
well if anyone els get this err just look in your www folder and edit your conf php file
Thanks |
|
| Back to top |
|
 |
Alizee Main Administrator


Joined: 16 Aug 2006 Posts: 858 Location: Onesti
|
Posted: 22/09/2007 23:09 Post subject: |
|
|
i was about to say that from all the errors you can see is not set corecty and well now mangosweb has 2 folders Dev and Trunk be sure to use Trunk for your website and not dev read and edit your config.php corectly and then test if you look closer to your errors you my get what is the problem luckly  _________________ AuF_KEn - Trance/Techno/Progressive
LISTEN TO: [URL=http://myspace.com/aufken]AuF_KEn[/URL]
-----------------------------------------------------------
Elements Fonder~! |
|
| Back to top |
|
 |
Altash Private

Joined: 01 Oct 2007 Posts: 5
|
Posted: 08/10/2007 10:09 Post subject: Hmm i hope it`s right here |
|
|
Hi i have a problem i used the xsvn updater and now i become this massages on the wepsite:
SQL Error: Table 'xrepackdb.account_keys' doesn't exist at C:\Programme\X-Repack\www\core\common.php line 479
Array
(
[code] => 1146
[message] => Table 'xrepackdb.account_keys' doesn't exist
[query] => DELETE FROM `account_keys` WHERE `assign_time` <1190620974> 1146
[message] => Table 'xrepackdb.account_keys' doesn't exist
[query] => SELECT count(*) FROM `account_keys` where id = '1'
[context] => C:\Programme\X-Repack\www\core\common.php line 455
)
I hope anyone can help me! |
|
| Back to top |
|
 |
Alizee Main Administrator


Joined: 16 Aug 2006 Posts: 858 Location: Onesti
|
Posted: 08/10/2007 10:34 Post subject: |
|
|
in the web folder there is another sql folder go there and execute the sql update for account_keys you may try the full but you first have to delete all the web tables first _________________ AuF_KEn - Trance/Techno/Progressive
LISTEN TO: [URL=http://myspace.com/aufken]AuF_KEn[/URL]
-----------------------------------------------------------
Elements Fonder~! |
|
| Back to top |
|
 |
Altash Private

Joined: 01 Oct 2007 Posts: 5
|
Posted: 08/10/2007 17:41 Post subject: hmm |
|
|
| there come alway an error masaj i delte the tables but i can`t uploade the new tables :( |
|
| Back to top |
|
 |
Alizee Main Administrator


Joined: 16 Aug 2006 Posts: 858 Location: Onesti
|
Posted: 08/10/2007 18:23 Post subject: |
|
|
show me some error logs _________________ AuF_KEn - Trance/Techno/Progressive
LISTEN TO: [URL=http://myspace.com/aufken]AuF_KEn[/URL]
-----------------------------------------------------------
Elements Fonder~! |
|
| Back to top |
|
 |
Altash Private

Joined: 01 Oct 2007 Posts: 5
|
Posted: 08/10/2007 18:42 Post subject: |
|
|
SQL Error: Unknown database 'realmd' at C:\Programme\X-Repack\www\index.php line 88
Array
(
[code] => 1049
[message] => Unknown database 'realmd'
[query] => mysql_select_db()
[context] => C:\Programme\X-Repack\www\index.php line 88
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\class.auth.php line 35
Array
(
[code] => 1046
[message] => No database selected
[query] =>
SELECT * FROM account
LEFT JOIN account_extend ON account.id=account_extend.account_id
LEFT JOIN account_groups ON account_extend.g_id=account_groups.g_id
WHERE id = 1
[context] => C:\Programme\X-Repack\www\core\class.auth.php line 35
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\common.php line 109
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT last_ip FROM account WHERE id=''
[context] => C:\Programme\X-Repack\www\core\common.php line 109
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\common.php line 112
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT ip FROM `ip_banned` WHERE ip=''
[context] => C:\Programme\X-Repack\www\core\common.php line 112
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\common.php line 479
Array
(
[code] => 1046
[message] => No database selected
[query] => DELETE FROM `account_keys` WHERE `assign_time` < '1190652096'
[context] => C:\Programme\X-Repack\www\core\common.php line 479
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\common.php line 455
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT count(*) FROM `account_keys` where id = '1'
[context] => C:\Programme\X-Repack\www\core\common.php line 455
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\class.auth.php line 253
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT * FROM account_groups WHERE g_id=1
[context] => C:\Programme\X-Repack\www\core\class.auth.php line 253
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\class.auth.php line 326
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT count(*) FROM `online` WHERE `user_id`='0' AND `user_ip`='85.177.183.203'
[context] => C:\Programme\X-Repack\www\core\class.auth.php line 326
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\class.auth.php line 333
Array
(
[code] => 1046
[message] => No database selected
[query] => INSERT INTO `online` (`user_ip`,`logged`,`currenturl`) VALUES ('85.177.183.203','1191861696','/')
[context] => C:\Programme\X-Repack\www\core\class.auth.php line 333
)
SQL Error: No database selected at C:\Programme\X-Repack\www\core\class.auth.php line 281
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT * FROM `online`
[context] => C:\Programme\X-Repack\www\core\class.auth.php line 281
)
SQL Error: No database selected at C:\Programme\X-Repack\www\index.php line 162
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT count(id) FROM `realmlist`
[context] => C:\Programme\X-Repack\www\index.php line 162
)
SQL Error: No database selected at C:\Programme\X-Repack\www\index.php line 192
Array
(
[code] => 1046
[message] => No database selected
[query] => SELECT dbinfo FROM `realmlist` WHERE id=1
[context] => C:\Programme\X-Repack\www\index.php line 192
ok i have fixed the problems :D thx |
|
| Back to top |
|
 |
Alizee Main Administrator


Joined: 16 Aug 2006 Posts: 858 Location: Onesti
|
Posted: 09/10/2007 16:24 Post subject: |
|
|
because you didn't set the corect realmd database you had all those problems probably you named it realm and the web checked for realmd
a little edit in config.php solved the problem  _________________ AuF_KEn - Trance/Techno/Progressive
LISTEN TO: [URL=http://myspace.com/aufken]AuF_KEn[/URL]
-----------------------------------------------------------
Elements Fonder~! |
|
| Back to top |
|
 |
Altash Private

Joined: 01 Oct 2007 Posts: 5
|
Posted: 09/10/2007 17:07 Post subject: |
|
|
I have it done but now i have a other problem -.-
Loading Creaturen templates...
Error in 'creature_templates' table, probablysql compus was updatet <there>
then i execute creature_tables but i have this error too what make i`m wrong? |
|
| Back to top |
|
 |
Alizee Main Administrator


Joined: 16 Aug 2006 Posts: 858 Location: Onesti
|
Posted: 09/10/2007 21:36 Post subject: |
|
|
| Altash wrote: | I have it done but now i have a other problem -.-
Loading Creaturen templates...
Error in 'creature_templates' table, probablysql compus was updatet <there>
then i execute creature_tables but i have this error too what make i`m wrong? |
you need to apply a mangos sql update of creature_template because the column row has changed and the core can't not read it
or your core version is not up to date and the creature_template is _________________ AuF_KEn - Trance/Techno/Progressive
LISTEN TO: [URL=http://myspace.com/aufken]AuF_KEn[/URL]
-----------------------------------------------------------
Elements Fonder~! |
|
| Back to top |
|
 |
Altash Private

Joined: 01 Oct 2007 Posts: 5
|
Posted: 10/10/2007 03:13 Post subject: |
|
|
hmm and how can i fix it?  |
|
| Back to top |
|
 |
|