NBS Posted February 1, 2012 Report Share Posted February 1, 2012 Sveiki, vēlējos pajautāt kādēļ varētu nestrādāt šāds kods - http://codeviewer.org/view/code:2295 Piemērs, ņemts no php.net. Verot vaļā failu visu laiku tikai lādē kaut ko un nekas nenotiek. Varbūt, kādam ir idejas. Ar cieņu, NBS. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 1, 2012 Report Share Posted February 1, 2012 Jo kods paļaujas uz ārējiem resursiem un uz tādiem labāk nevajag paļauties. :) Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 Risinājums ? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 1, 2012 Report Share Posted February 1, 2012 Pameklē ? Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 Pameklē ? Varētu vismaz virzienu, ko man īsti meklēt ? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 1, 2012 Report Share Posted February 1, 2012 Tev kāds 'exceptions' izmetas? Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 Teicu jau: "Verot vaļā failu visu laiku tikai lādē kaut ko un nekas nenotiek." Quote Link to comment Share on other sites More sharing options...
v3rb0 Posted February 1, 2012 Report Share Posted February 1, 2012 mkay, tiek līdz 12 vai 22 rindiņai? Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 Īsti nevaru pateikt, jo visu laiku lādējas un nevienu echo man neizprintē. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 1, 2012 Report Share Posted February 1, 2012 Primitīva debuggošana: // Code. exit('tiktal #1'); // Code. exit('tiktal #2'); // Code. exit('tiktal #3'); // Code. exit('tiktal #4'); // Code. exit('tiktal #5'); P.S. Protams, ir XDebug! Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 http://codeviewer.org/view/code:2298 t1,t2,t3, t4 rādās. Un pie t4.5 griežās uz riņķi. Sanāk - `$client = new SoapClient('https://api.mindbodyonline.com/0_5/ClassService.asmx?WSDL', $options); ` ar šo ir problēmas. Ko man īsti darīt, ja es nevaru ietekmēt šo linku ? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 1, 2012 Report Share Posted February 1, 2012 Nesaprotu kāpēc try -> catch() tev nestrādā. Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 Nesaprotu kāpēc try -> catch() tev nestrādā. To es arī nesaprotu. Nevarētu būt, ka konfigurācijās kaut kas trūkst ? Quote Link to comment Share on other sites More sharing options...
v3rb0 Posted February 1, 2012 Report Share Posted February 1, 2012 file_get_contents('https://api..'); izpildās? Quote Link to comment Share on other sites More sharing options...
NBS Posted February 1, 2012 Author Report Share Posted February 1, 2012 file_get_contents('https://api..'); izpildās? Tieši tas pats, lādējās ļoti ilgi un nekas nenotiek. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.