Manaweb
Posted: 16 Feb 2011, 21:32
hello, I have some questions regarding manaweb
I'm running php 5.4.2 and mysql 5.0
when I run manaweb it gives me an error
in views\layout\header.php I deleted some "_"s
so, i'm interesting, are thous necessary ? )))
_____
than in statistics it gives me an error
after research i found that money field was deleted after updates but in server_statistics.php is this code
what to do, delete function from php or make field in db?
-------
and last, what about to make info page
for example
twm.org/index.php?username=Mpa4Hu
and than full info appears
I can make it if you will implement it in source, but it will take a time, because of the study
sry really bad english >_>
I'm running php 5.4.2 and mysql 5.0
when I run manaweb it gives me an error
Code: Select all
Fatal error: Call to undefined function _() in L:\home\mana.ge\www\system\application\views\layout\header.php on line 49
Code: Select all
$nb->addNavigationItem( new NavigationItem('navigation.mana.main.itemslist',
[color=#FF0000]_[/color]("Itemslist"), site_url('itemslist') ) );
$nb->addNavigationItem( new NavigationItem('navigation.mana.main.serverstats',
[color=#FF0000] _[/color]("Statistics"), site_url('statistics') ) );
_____
than in statistics it gives me an error
Code: Select all
[color=#FF0000]A Database Error Occurred[/color]
Error Number: 1054
Unknown column 'money' in 'field list'
SELECT SUM(`money`) AS money FROM (`mana_characters`)
Code: Select all
private function getPurchasingPower()
{
$this->db->select_sum('money');
$query = $this->db->get(Character::CHARACTER_TBL);
return $query->row()->money;
}
-------
and last, what about to make info page
for example
twm.org/index.php?username=Mpa4Hu
and than full info appears
I can make it if you will implement it in source, but it will take a time, because of the study
sry really bad english >_>