Hi, Here is the log of the chatroom at http://community.hackit.cx/chat/ for the 08/12/2010.
09:18:14 <> Pramendra joins Farsides 09:20:32 <Xavier> Hi Pramendra! 09:21:05 <Pramendra> Hi Xavier 11:45:38 <Xavier> David: http://php.net/manual/en/function.preg-match.php 11:45:55 <> da joins Farsides 11:46:12 <da> Hi :) 11:46:16 <da> thx Xavier 12:39:09 <Xavier> Pramendra, are you around? 12:39:56 <Xavier> I've retreived the latest code from Launchpad, but I'm having issues in the game - cf http://apps.facebook.com/cardstories-beta 13:36:59 <Pramendra> Hi Xavier 13:37:25 <Xavier> wb : ) 13:37:39 <Pramendra> what is the issue with this link? 13:47:16 <Xavier> Did you try to visit it? 13:47:50 <Pramendra> yes 13:48:01 <Pramendra> at home page there is no image 13:48:05 <Xavier> It's the install on farsides' server 13:48:11 <Xavier> yes 13:48:15 <Pramendra> ok 13:48:27 <Pramendra> but path of image is not right 13:48:35 <Xavier> and when I try to click on the only link I get Undefined offset: 0 [APP/controllers/pages_controller.php, line 138] Code | Context $this->set("cardsForPicking",$cardsForPicking); $this->set("gameId",$gameId); $this->set("cardSentence",$gameDetails[0]['Game']['sentence']); $gameId = "37" $redirectionFlag = 0 $setErrorValue = "Sorry! You have joined game late." $cardsForP 13:48:38 <Pramendra> i have seen in debugger 13:48:55 <Xavier> let me see for the images 13:51:58 <Xavier> The path in core.php seems correct 13:52:09 <Xavier> but when I try to access one of the images: http://cardstories.farsides.com/img/this_text.png 13:52:23 <Xavier> I get "Error: ImgController could not be found. Error: Create the class ImgController below in file: app/controllers/img_controller.php" 13:53:54 <Pramendra> please tell me path of the webroot folder from root folder 13:54:25 <Pramendra> path setting not right or it may be because of htaccess 13:55:46 <Xavier> The webroot is in /var/www/cardstories.farsides.com/app/webroot/ 13:56:54 <Xavier> and in core.php I have 13:56:57 <Xavier> define("BASE_URL","http://cardstories.farsides.com/"); define("APP_BASE_URL","http://apps.facebook.com/cardstories-beta/"); define("DOC_ROOT","/var/www/cardstories.farsides.com/app/webroot/"); define("IMG_PATH","http://cardstories.farsides.com/img/"); 13:58:31 <Pramendra> in core - it is ok 13:58:55 <Pramendra> but i am not getting image in img 13:59:28 <Pramendra> http://labs.codefiretechnologies.com/gameapp/app/webroot/img/cards/card01.png 13:59:34 <Pramendra> let's see 13:59:34 <Xavier> Do you have a controller ImgController ? 13:59:50 <Pramendra> it doesn't required 14:00:11 <Pramendra> at my development server, i am getting image 14:00:29 <Xavier> probably a htaccess like issue then 14:00:41 <Pramendra> but http://cardstories.farsides.com/app/webroot/img/this_text.png not working 14:00:48 <Pramendra> yes 14:01:20 <Pramendra> there are three important htaccess in this project folder 14:01:57 <Pramendra> in the gameapp folder, in app folder, and in webroot folder 14:03:19 <Xavier> let me have a look :q 14:03:42 <Pramendra> ok 14:18:37 <Xavier> ls app/webroot/img/this_text.png ls: cannot access app/webroot/img/this_text.png: No such file or directory 14:19:14 <Xavier> you probably forgot to add/commit some files (see 'bzr status') 14:20:04 <Pramendra> let me check 14:24:37 <Pramendra> but i am trying http://cardstories.farsides.com/app/webroot/img/cat.jpg 14:24:45 <Pramendra> cat.jpg is there 14:29:21 <Xavier> you're right - I keep investigating 14:29:50 <Xavier> Did you find any files that weren't commited? 14:30:31 <Pramendra> yes, there may be some html related files 14:30:57 <Pramendra> beacuse html pages are in testing phases so it is changing frequently 14:31:17 <Pramendra> so some image may be missed 14:31:26 <Pramendra> but backgroung image is there 14:31:38 <Pramendra> also some another images used in page 14:31:57 <Pramendra> but it will not affact code 14:32:14 <Pramendra> and you also getting some error with that code 14:32:39 <Pramendra> same code i am working with our development server 14:34:57 <Pramendra> please check there may be another isuue with you server setting. 14:35:10 <Pramendra> I am coming back in 45 min 14:35:19 <Xavier> ok! 14:36:27 <Pramendra> Pramendra quit 14:42:55 <Xavier> Now http://cardstories.farsides.com/img/cat.jpg works, but it's still broken:q 15:44:28 <Xavier> Deborah: http://www.kewego.fr/video/iLyROoafJZ0M.html 15:45:16 <> tartaruga feliz joins Farsides 15:45:35 <tartaruga feliz> thank you for your kindness! 15:45:53 <Xavier> you're welcome :D 15:47:19 <tartaruga feliz> Xavier quit (timeout) 16:03:33 <> Pramendra joins Farsides 16:04:32 <Pramendra> Hi Xavier 16:04:45 <Xavier> hi again : ) 16:05:24 <Xavier> Cf above: Now http://cardstories.farsides.com/img/cat.jpg works, butthe homepage is still broken:q 16:09:24 <Pramendra> yes 16:14:43 <Pramendra> but in at my server path of the image is url("http://labs.codefiretechnologies.com/gameapp/app/webroot/img/yellow_banner.png") nad on your's url("http://cardstories.farsides.com/img/brown_banner.png") 16:17:29 <Pramendra> please test the htaccess and other settings for pointing the url on it 16:19:24 <Xavier> hackit:~/cardstories.farsides.com$ ls app/webroot/img/brown_banner.png ls: cannot access app/webroot/img/brown_banner.png: No such file or directory 16:19:51 <Xavier> This file is missing in the repository 16:21:09 <Pramendra> yes, that is right. but if we change it by debugger with an existing one then that also doesn't come 16:21:31 <Xavier> like which one? 16:21:51 <Pramendra> i will commit all images, but right now problem is not that one 16:21:57 <Pramendra> like cat.jpg 16:22:13 <Xavier> cat.jpg works: http://cardstories.farsides.com/img/cat.jpg 16:22:20 <Pramendra> yes 16:22:35 <Pramendra> but this link is not in page 16:22:54 <Xavier> what is the correct link? 16:22:56 <Pramendra> url("http://cardstories.farsides.com/img/cat.jpg") 16:23:29 <Pramendra> it will be automatically created when the setting will be right 16:23:40 <Pramendra> because i have not hard coded that 16:23:49 <Pramendra> it is with cakephp standard 16:25:00 <Pramendra> so if the setting will be right than link will be url("http://cardstories.farsides.com/gameapp/app/webroot/img/cat.jpg") 16:25:35 <Pramendra> currently it is url("http://cardstories.farsides.com/img/cat.jpg") 16:25:52 <Xavier> ah no, that's what I'm trying to avoid - I only want to expose app/webroot, since this is the production server 16:26:27 <Pramendra> ok, tha's right 16:26:48 <Pramendra> when our sight will be live, then it will be change 16:27:17 <Pramendra> cakephp provide the two way put the code on server 16:27:27 <Xavier> I mean, this is something we should be able to configure with the configuration variables 16:27:41 <Pramendra> that is development server and production server 16:28:01 <Pramendra> so, at last we will change it, when it will be live 16:28:05 <Xavier> Actually, it seems to properly format the URLs for the images - cf http://dl.free.fr/bFDG11M80 16:28:23 <Xavier> It's just that it's only looking for files that aren't actually on the server 16:28:40 <Pramendra> yes 16:29:11 <Pramendra> it will be like it automatically, when we will set it as application server 16:29:27 <Xavier> can you copy&paste the output of 'bzr status' on http://pastebin.com/ and give me the link? 16:29:37 <Pramendra> no one can see the original path of the files 16:30:16 <Xavier> ah, I see - do you have a link to the corresponding documentation? I'll have a look 16:34:20 <Pramendra> please check it - http://book.cakephp.org/view/32/Installation 16:35:18 <Xavier> yup, I've read that part - I thought you were referring to a configuration option that I didn't see 16:35:48 <Xavier> Let me know when you have the bzr status output on pastebin, I'd like to have a look 16:36:25 <Pramendra> i am not getting that for which status page for you asking? 16:36:37 <Xavier> 16:29:27 â¹Xavier⺠can you copy&paste the output of 'bzr status' on http://pastebin.com/ and give me the link? 16:36:55 <Pramendra> yes 16:37:06 <Pramendra> i have seen this message 16:37:21 <Pramendra> but for which page you asking for 16:37:31 <Pramendra> may you please give an example 16:37:37 <Xavier> on the command-line, type: 16:37:41 <Xavier> $ bzr status 16:37:48 <Pramendra> ok 16:37:50 <Xavier> on your installation repository 16:39:47 <Pramendra> when i typed C:\Users\pramendra\gameapp>bzr status 16:40:02 <Pramendra> gain prompt comes like 16:40:11 <Pramendra> sorry 16:40:24 <Pramendra> again prompts comes like C:\Users\pramendra\gameapp> 16:41:24 <Xavier> ah, yes, you're are not with linux - how do you use bazaar usually? 16:41:40 <Xavier> to commit or push to the repository 16:41:51 <Pramendra> by command prompt 16:42:30 <Xavier> for example, what do you type in the command prompt to commit? 16:42:59 <Pramendra> i got way in your provided link 16:43:21 <Pramendra> bzr add 16:43:28 <Xavier> ok 16:43:40 <Xavier> bzr add works but not bzr status ? 16:43:41 <Pramendra> bzr commit -m "word for commit" 16:43:51 <Pramendra> bzr push lp:~pramendra/cardstories/gameapp 16:44:21 <Pramendra> it works 16:44:40 <Xavier> ah bzr status works? 16:44:53 <Pramendra> if there is not any error message the command run successfully 16:45:02 <Pramendra> yes 16:45:05 <Xavier> ah and is displays a list of files? 16:45:18 <Pramendra> but no output 16:45:22 <Xavier> hmm 16:45:25 <Xavier> strange 16:45:52 <Pramendra> wait i checking again 16:47:19 <Xavier> otherwise try to install cygwin, select bazaar in the list of packages during installation, and then run the command from cygwin rather than from the windows command line 16:47:21 <Xavier> http://cygwin.com/ 16:48:37 <Pramendra> it may because i have not added any change right now 16:50:49 <Xavier> that would be surprising, since some image files aren't on the repository, no? 16:51:42 <Xavier> unless you have added and commited all changes, but not pushed to launchpad? 16:52:36 <Pramendra> i have deleted some images also 16:52:53 <Pramendra> so, it also deleted them 16:56:50 <Xavier> ok - so then could you try to commit & push your repository to launchpad? This way we'll look at the same version, this could help 16:57:52 <Pramendra> ok 16:58:20 <Xavier> thanks :) 17:09:17 <Pramendra> i have commited and pushed images by- bzr push lp:~pramendra/cardstories/gameapp 17:09:32 <Pramendra> it shown - Connected (version 2.0, client Twisted) Authentication (publickey) successful! Secsh channel 1 opened. Pushed up to revision 3. 17:10:44 <Xavier> cool, thanks! 17:10:48 <Xavier> I'm trying now 17:12:21 <Pramendra> please check it by http://bazaar.launchpad.net/~pramendra/cardstories/gameapp/files/head%3A/app/webroot/img/ 17:12:31 <Xavier> It works : ) 17:12:41 <Xavier> http://apps.facebook.com/cardstories-beta/ 17:12:46 <Xavier> It was the missing files 17:13:48 <Xavier> Morality: always push to the repository after commiting a change : ) 17:14:07 <Xavier> thanks for the help pramendra 17:14:17 <Pramendra> :) 17:15:01 <> pit joins Farsides 17:15:09 <pit> hello 17:15:09 <Pramendra> actually there are many chages rapidally in the application. 17:15:17 <Xavier> hello pit! 17:15:23 <Pramendra> so it happens 17:15:23 <Xavier> yup, I can imagine 17:16:02 <Xavier> I will continue the review tomorrow, I have to work on hackit now - but two things you can do in the meantime: 17:16:39 <Pramendra> yes please 17:17:01 <Xavier> 1) merge the changes I've made to the repository (I've fixed some of the issues directly, so that you don't have to fix them yourselves): 'bzr merge lp:cardstories' 17:17:33 <Xavier> 2) Have a look at the first issues from the code review that I have reported here: https://bugs.launchpad.net/cardstories/+bugs 17:17:56 <Xavier> Add comment on each of them and pass them as "fix released" once you have fixed them 17:18:27 <Pramendra> i am trying to meet the the deadline 17:18:51 <Xavier> (the full process is detailled there: http://farsides.com/wiki/Handling_Bugs_-_Process ) 17:19:00 <Pramendra> so, i can do any work for bug fixing 17:19:52 <Pramendra> sorry mistake in upper line, "i can not do" 17:20:21 <Xavier> as you wish - but it takes time to get the right habits, so even if you only spend a few minutes on it, you can already ask questions, etc 17:21:23 <Pramendra> i am agree with you 17:21:23 <Xavier> (in any case, you should at least merge my changes - otherwise you may end up with conflicts later on) 17:21:39 <Pramendra> yes right 17:21:45 <Pramendra> i will do it 17:22:12 <Xavier> thanks pramendra! and good luck with the last sprint toward the deadline : ) 17:22:46 <Pramendra> i am targeted to complete the normal flow at first 17:23:32 <Pramendra> I am already mailed you for few extra days for htmls nad test cases 17:26:17 <Pramendra> if you want to manage it in another way, then please let me know 17:32:28 <Xavier> ok, I'll have a look - thanks for keeping me up to date on this! 17:53:09 <Xavier> David> I've upgraded the uservoice, and created specific forums for missions ideas & API requests : ) 17:53:12 <Xavier> http://farsides.uservoice.com/forums/90259-hackit-missions-api-requests-code- 17:53:27 <Xavier> (forums list on the right) 17:53:38 <da> thx ! 18:09:40 <tartaruga feliz> da quit (timeout) 18:39:54 <Pramendra> Pramendra quit 18:50:21 <Xavier> tartaruga feliz quit (timeout) 19:01:08 <> da joins Farsides 19:21:52 <pit> da quit (timeout) 20:32:34 <Xavier> pit quit (timeout) 22:03:04 <Xavier> pit quit (timeout) 22:16:59 <Xavier> pit quit (timeout)
_______________________________________________ Farsides mailing list - [email protected] Wiki: http://farsides.com/ List: http://farsides.com/ml/ Forum: http://farsides.com/forum/ Ideas: http://farsides.com/ideas/ Chat: http://farsides.com/chat/

