pron.exe Posted April 17, 2009 Report Share Posted April 17, 2009 Sveicināti. Problēma tāda , ka met erroru , visādi mēģināju mainīt ceļu , bet tāpat met ārā. Warning: require(/home/symbianf/public_html/4tus.lv/forums/) [function.require]: failed to open stream: No such file or directory in /home/symbianf/public_html/4tus.lv/home/inc/latest_posts.php on line 79 79 lains - ////////////// // Required // ////////////// require ($url2."/home/symbianf/public_html/4tus.lv/forums/"); ko darīt lietas labā? Quote Link to comment Share on other sites More sharing options...
Delfins Posted April 17, 2009 Report Share Posted April 17, 2009 Tu pats saproti, ko ieraktīji iekš require() !? ghhh... Quote Link to comment Share on other sites More sharing options...
pron.exe Posted April 17, 2009 Author Report Share Posted April 17, 2009 Palabo mani lūdzu , lai būtu pareizi. Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted April 17, 2009 Report Share Posted April 17, 2009 No tās vienas rindiņas, ko Tu rādi nevar saprast, kur problēma. Kam būtu jānotiek ar to require() izsaukšanu? Quote Link to comment Share on other sites More sharing options...
pron.exe Posted April 17, 2009 Author Report Share Posted April 17, 2009 // This mod will pull the latest X posts from your forum and display them on your website. // This new version will also handle forums that you do not wish to show (excluded forums) Tagad +- skaidrs? Lai webā rāda pēdējos postus forumā. Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted April 17, 2009 Report Share Posted April 17, 2009 Diemžēl nē, ar to nepietiks. Vajadzētu redzēt, kurā vietā mainīgais $url2 saņem savu vērtību. Quote Link to comment Share on other sites More sharing options...
pron.exe Posted April 17, 2009 Author Report Share Posted April 17, 2009 http://paste.php.lv/c42c5e8aa8c13ecdbe5aa7...94d2c9?lang=php iepostoju visu! Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted April 17, 2009 Report Share Posted April 17, 2009 Hmm... Tu pats Tur kaut ko laboji? Jo pirmīt rakstīji, ka ir: require ($url2."/home/symbianf/public_html/4tus.lv/forums/"); bet tajā, ko ieliki ir: require ($url"/home/symbianf/public_html/4tus.lv/forums/"); To $url Tu pats liki klāt? Quote Link to comment Share on other sites More sharing options...
pron.exe Posted April 17, 2009 Author Report Share Posted April 17, 2009 Es viņu izlaboju domāju mošk tā , pareizais variants ir url2. Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted April 17, 2009 Report Share Posted April 17, 2009 Bet oriģināli tātad bija: require ($url"/home/symbianf/public_html/4tus.lv/forums/"); ??? Quote Link to comment Share on other sites More sharing options...
pron.exe Posted April 17, 2009 Author Report Share Posted April 17, 2009 Nē oriģināls bija - require ($url2."/home/symbianf/public_html/4tus.lv/forums/"); Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted April 17, 2009 Report Share Posted April 17, 2009 pamēģini: require("/home/symbianf/public_html/4tus.lv/forums/".$url2); vai arī require("/home/symbianf/public_html/4tus.lv/forums/".$url); Quote Link to comment Share on other sites More sharing options...
pron.exe Posted April 17, 2009 Author Report Share Posted April 17, 2009 Diemžēl nekas nemainās , to pašu met laukā. Quote Link to comment Share on other sites More sharing options...
Delfins Posted April 17, 2009 Report Share Posted April 17, 2009 da lol.... nekad php nav bijis, kad inkludē visu direktoriju... norādi vajadzīgo failu, nevis direktoriju... Quote Link to comment Share on other sites More sharing options...
codez Posted April 17, 2009 Report Share Posted April 17, 2009 Iemetam google pēdiņās komentāru no koda Un redzam, ka orģinālā ir require "conf_global.php"; 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.