gives errors and stops - Printable Version +- TWLan Forum (https://twlan.org) +-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61) +--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62) +---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65) +----- Forum: Fragen & Probleme (https://twlan.org/forumdisplay.php?fid=7) +----- Thread: gives errors and stops (/showthread.php?tid=43330) |
gives errors and stops - ceetje123 - 04.01.2015 Hello, I tried to add bonus villages to twlan, I use the Dutch version of twlan, I used Molt's bonus village files, these are the graphic (map) files and php files, I placed the php file into /opt/twlan/htdocs/ and the graphics into /opt/twlan/htdocs/graphic/map/ and /opt/twlan/htdocs/graphic/bonus/ respectively, later i got the error divide by zero in /opt/twlan/htdocs/lib/builds.php some times, after I changed permissions of opt to edit all, I don't know what i did wrong. I restarted twlan, and it gave these errors: PHP Code: Starting TWLan server... and in the browser it displays: PHP Code: No database connection could be established. (is MySQL running?) New edit: It closes eventshandler everytime I start /opt/twlan/twlan.sh RE: gives errors and stops - Molt - 05.01.2015 Might be some security mechanism of Lekensteyn, or it might just be broken. I'm afraid I can't help you, because I can't even get MySQL running on Ubuntu x64. RE: gives errors and stops - Milu2K - 05.01.2015 (05.01.2015, 03:39)Molt Wrote: I'm afraid I can't help you, because I can't even get MySQL running on Ubuntu x64. Da bist du nicht mal der einzige Bob RE: gives errors and stops - ceetje123 - 05.01.2015 I got a way to get it running, but eventshandler only won't start, you can get mysql working (it is an older mysql version, which has errors) by adding a pid file called /opt/twlan/mysql/data/(your computer name).pid after that add rights for other users, then go to /opt/twlan/mysql/bin and start mysqld or mysqld_safe as root. maybe you need to kill mysql and apache first, try this a few times while trying to start twlan.sh. It should work after a few tries, also add a mysqld.sock or your_computer_name.sock to /opt/twlan/tmp/, it should work after those tries, only eventshandler won't start after that on my computer. I'm now at school so can't check it atm. RE: gives errors and stops - Giant Slayer - 05.01.2015 why donĀ“t you rather wait for 2.0 ? play Tribal wars until they release it. RE: gives errors and stops - ceetje123 - 05.01.2015 Good idea, but also want to play lan with my younger brother. Will there be a mobile site like the original TW has, so we can go on our phones to the local game without going onto the pc? |