Mikijs Posted January 2, 2008 Report Share Posted January 2, 2008 (edited) rekur liela problema.. :( ir install.php ar 0777 chmod 212 rindiņa http://paste.php.lv/6676 un sql.sql http://paste.php.lv/6678 =/ kapec man saka ka kljuda sintakse? Edited January 2, 2008 by Mikijs Link to comment Share on other sites More sharing options...
bubu Posted January 3, 2008 Report Share Posted January 3, 2008 Un vai tas kāds konkrēti ir kļūdas paziņojums ir valsts noslēpums? Link to comment Share on other sites More sharing options...
Mikijs Posted January 3, 2008 Author Report Share Posted January 3, 2008 Un vai tas kāds konkrēti ir kļūdas paziņojums ir valsts noslēpums? :D man saka ka sql nepareizs line '1' Link to comment Share on other sites More sharing options...
mounkuls Posted January 3, 2008 Report Share Posted January 3, 2008 (edited) izmeginaju SQL, man viss bez kludam inportejas. Nezinu kas tur par problemu. Kadu kludas pazinojumu izmeta? Bet neizskatas ka tas ir viss damps.... Un nafig vispar vajag to 212 rindinu? Iieraksti ka $file="./sql.sql"; un miers majas. To sql failu jau tapat tikai vienreiz janolasa pie instalacijas. Ja ta veiksmiga, unlink to sql.sql Edited January 3, 2008 by mounkuls Link to comment Share on other sites More sharing options...
Mikijs Posted January 3, 2008 Author Report Share Posted January 3, 2008 sql es pilnu nevareju ievietot =/ jo php.lv meta erroru ka 30 sekunde pagaja ka parslogots utt .. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' CREATE TABLE `address` ( `address_id` int(11) NOT NULL auto_incremen' at line 1 Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 3, 2008 Report Share Posted January 3, 2008 (edited) sql es pilnu nevareju ievietot =/ jo php.lv meta erroru ka 30 sekunde pagaja ka parslogots utt .. 1. panjem to SQL failu ielade Notepad.exe ... ar CTRL+V izgriez pirmaas paris rindinjas (1 kveriju) un to arii iepostee.... nevis megjini posteet pilnu SQL dampu.... 2. Esi 100% parliecinaats ka tev ir tiesiibas veidot tabulas? 3. Kaada tev ir SQL versija? Edited January 3, 2008 by Grey_Wolf Link to comment Share on other sites More sharing options...
bubu Posted January 3, 2008 Report Share Posted January 3, 2008 Vai tik auto_increment nav līki uzrakstīts: "auto_incremen" Link to comment Share on other sites More sharing options...
mounkuls Posted January 3, 2008 Report Share Posted January 3, 2008 (edited) CREATE TABLE `address` ( `address_id` INT(11) NOT NULL AUTO_INCREMENT, fragments no query taja linka. Viss normali. Drizak liekas, ka Grey_Wolf komentara 2. un 3. punkts. Pasam ir bijis, ka neatbilst MySQL versijas lai importetu. Skripta gan to dara PHP un nem tikai rindinas kas nav komentari. Es gan parak neiedzilinajos vai tiesam viens query izveidojas ar PHP no rindinas sakuma lidz (;). Ja ne, vaina varetu but ari tur. Edited January 3, 2008 by mounkuls Link to comment Share on other sites More sharing options...
Mikijs Posted January 3, 2008 Author Report Share Posted January 3, 2008 ok :D bik pačakarēju un aizgāja.. :) izrādās viņš nepareizu errooru uzrādija, jo man vajadzēja "register_globals" izslēgt, tikai nevaru iebraukt kādā jēgā register_globals ? ... Link to comment Share on other sites More sharing options...
Recommended Posts