nagattoxg 2 Posted May 18, 2014 Share Posted May 18, 2014 (edited) Hi. I have two errors. First: When i try to put 3 sql's files "Mob_proto2, Mob_proto and Skill_proto gives me this error. 2º Error: I has put website files on apache22>data, when i go to the my ip give me this: But when i put 'http://198.100.145.210/index.php' Give me this: And give me the file php ... and happens on every file of website... PS: Can the Mob_proto, mob_proto2 and skill_proto enable login to my server? I have every file good, well configured and i try to login gives me ID and PASS error ... Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
metin2team 766 Posted May 18, 2014 Share Posted May 18, 2014 Error 1 make sure there is "DROP TABLE IF EXISTS" if you're going to update things .. if you have that .. you need to execute one query and tell us what you got. Error 2 you need to look into this link. http://www.freebsdmadeeasy.com/tutorials/web-server/install-php-5-for-web-hosting.php Link to comment Share on other sites More sharing options...
Premium Shogun 4614 Posted May 18, 2014 Premium Share Posted May 18, 2014 Regarding the second... Assuming you already installed the apache php module, you need to add this in httpd.conf: <IfModule php5_module> DirectoryIndex index.php index.html AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> Link to comment Share on other sites More sharing options...
nagattoxg 2 Posted May 18, 2014 Author Share Posted May 18, 2014 I tried with others db files ( mob proto , skill proto) and i logged into server, but when i try to insert mines and gives that error, i cant log, i think that sql files are buged And ys, i already installad apache Enviado do meu TAB7DUAL 8GB através de Tapatalk Link to comment Share on other sites More sharing options...
Premium Shogun 4614 Posted May 18, 2014 Premium Share Posted May 18, 2014 I said the apache php module, not apache. Apache by itself doesn't recognize php files. Link to comment Share on other sites More sharing options...
nagattoxg 2 Posted May 18, 2014 Author Share Posted May 18, 2014 Can tell me the cd to install ? Link to comment Share on other sites More sharing options...
metin2team 766 Posted May 19, 2014 Share Posted May 19, 2014 go to the link in my first post ... you need to install php5 and php5-mysql Link to comment Share on other sites More sharing options...
nagattoxg 2 Posted May 19, 2014 Author Share Posted May 19, 2014 My mob_proto, mob_proto2 and skill_proto are bugged. How can i transfer the collums to another table? :| Link to comment Share on other sites More sharing options...
metin2team 766 Posted May 19, 2014 Share Posted May 19, 2014 UPDATE player.item_proto SET player.item_proto.xxx = (SELECT xxx FROM item_proto_copy WHERE player.item_proto.vnum = player.item_proto_copy.vnum); Edit: if you're talking about .txt files you need to import them by DBManager or the built-in function in navicat Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now