[04:09] hello? [04:25] shaun__: hi [04:28] I'm new to ubuntu web dev team [04:29] as you already know of coarse [04:30] yup :) [04:30] how goes it? [04:31] well I'm trying to get drupal going I think I may already have it installed [04:31] lol [04:32] did you try that guide at all? [04:32] some [04:33] I have it installed to /var/www/drupal I just checked [04:34] what's your apache config look like? [04:34] your config will be aroung /etc/apache2/sites-available [04:36] Document root is /var/www [04:36] is this correct [04:37] nope [04:37] /var/www/drupal [04:37] didn't think so [04:37] put the 6 at the end of drupal too [04:37] for both parts [04:38] on a side note have you herd of bluefish web editor [04:38] yucky [04:39] errr- wait.. [04:39] lol [04:39] I was thinking something else [04:39] nope, I use vim [04:41] oh [04:41] one of our devs swears by komodo edit - personal i think it's an ugly bloated bug [04:43] lol [04:44] now is it just the folder or is it a file inside the drupal directory [04:45] /var/www/drupal6/install.php [04:45] you want that - and everything else lined up [04:45] oops I downloaded drupal 5 [04:45] :( [04:46] yucky [04:47] D5 is nearly dead actually [04:47] Can't I update it from the terminal [04:47] hm? [04:47] or is that just for Ubuntu's aps [04:47] don't use the one from the repo - it's always out of date [04:48] so should I do a MAJOR clean house and reinstall? [04:48] ? [04:48] no [04:48] no [04:48] aptitude purge drupal5 [04:49] follow that guide - after removing drupal5/6 [04:49] I didn't mean reinstalling the system [04:49] oh, then - go for it [04:49] That would take for ever [04:49] lol [04:59] shaun__: I'm heading to bed - it's usually quiet in here but others will be aroudn to help - if not I'll be back on in the (mine) morning [04:59] k [04:59] see ya [05:00] g'luck [05:52] hey [11:16] hey guys good morning [11:25] shaun__: hey [11:26] are you familiar with how to set drupal up [11:27] ? [11:27] shaun__: yes, but I'm not the guy to ask about drupal :) [11:27] talk to MTecknology [11:27] though he's in US tz so it might take a while till he's online [11:29] I'm in US also [11:29] I woke up [11:29] lol [11:29] well dunno then :) [11:29] ok thanks anyway [11:29] :) === shaun__ is now known as php_Dude1 === php_Dude1 is now known as shaun__ [12:33] why isn't maverick included on packages.ubuntu.com? [14:19] stas: hi [14:19] shaun__: you still need help? [14:19] MTecknology: hey [15:32] newz2000: stas: MTecknology: Check out http://loco.ubuntu.com [15:33] mhall119: looking good! [15:33] mhall119: shiny [15:34] yeah, nice [15:35] though that footer sucks when we have just a little content [15:37] great work [18:38] um, the header "ubuntu loco team directory" looks weird === Turl1 is now known as Turl === MTecknology is now known as MTeck-rcider === MTeck-rcider is now known as MTecknology [20:59] hey [20:59] guys [21:00] hey shaun__ [21:01] I need some help setting up my system to help with web development [21:01] where are you at in the process? [21:02] I installed Xampp for linux and downloaded and unpacked drupal [21:03] is xampp ok for what we're doing here [21:03] ? [21:03] it's good for a nice simple system that doesn't intrude on the normal operation of your computer [21:04] I've not used it for a while myself so it's not fresh in my memory though [21:04] where did you install it to? [21:04] well how do I use drupal (drupal is a bit new to me) [21:05] find out where you want to put it, unzip it (or untar) [21:05] cd sites/default [21:05] I unzipped it to /var/www [21:05] ok. That may not be the normal place for xampp, but it's a start [21:05] cd /var/www/sites/default [21:05] no that's where I installed drupal [21:05] you should see a sample config file there [21:05] yeah, but xampp may not see it there, but it's ok for now [21:06] Do you see the sample config file? [21:08] Oh I'm sorry I actually installed it to /opt [21:09] ok, good [21:09] /opt/lampp/htdocs is a great place to put it [21:09] do you have /opt/lampp/htdocs/drupal/ ? [21:10] no but I could move drupal from /var/www to that path [21:10] it'd be easier if you moved it there [21:10] ok [21:10] hey thanks for the help [21:11] then cd /opt/lampp/htdocs/drupal/sites/default [21:11] ls to see the sample config file [21:11] I think it's default.settings.php [21:12] cp default.settings.php settings.php [21:12] then edit it to add the database options [21:13] if you don't know the database settings then start xampp and go to http://localhost and I think it will give you a list of helpful info [21:22] this might sound like a "doh!" question but add database settings where (I'm done with everything else) [21:23] shaun__: in that file is a line that says $db_url = ... [21:23] you need to edit that one [21:23] it's remarkably well buried [21:24] found it [21:25] it says ... $db_url = 'mysql://username:password@localhost/databasename'; [21:25] so I change it to where drupal is or where mysql is? [21:25] you need to use your mysql settings that xampp suggests [21:25] OH DURRRR [21:26] sorry [21:26] no sweat [21:31] well it's xampp isn't showing any helpful info [21:32] shaun__: when you go to http://localhost do you get an information page so you know it worked? [21:32] oh [21:33] so it's showing xampps homepage so I'm finished? [21:33] shaun__: well, you konw it works [21:33] I think there's some tools that come with xampp that give you database access [21:33] do you see something like that? [21:33] phpmyadmin is there [21:34] ok, you'll want to go there and create a database for drupal [21:34] you can just call it drupal [21:35] database made [21:35] ok, so go to your drupal settings.php file [21:36] that line should be something like this: [21:36] $db_url = 'mysql://root:@localhost/drupal'; [21:36] (assuming no password) [21:36] Then you can probably go to http://localhost/drupal to see the site [21:41] darn it says object not foudn [21:41] found* [21:42] hi [21:42] hello [21:43] newz2000: root:@localhost/drupal <- really? [21:43] that sounds.. bad [21:43] MTecknology: that's the default for xampp I think [21:43] it's only meant for local dev, not for public sites [21:43] shaun__: http://www.apachefriends.org/en/xampp-linux.html# [21:44] newz2000: i suppose - I just like to always make a user for a db instead of having things wide open [21:46] well I think I found the problem [21:47] Do I need to do anything with the DB upon creation of it [21:47] no, as long as your settings.php is right drupal will do the rest [21:47] then there's my problem [21:48] sorry, got to step away for a few min [21:48] ok [22:19] I'm back if you still need help [22:20] wow, what a match [22:28] yep [22:28] ghana should [22:28] have won [22:28] really [22:28] i feel like unsportmanship has won, even if gyan failed to score the goal himself [22:28] it should have been a goal without a penalty shot [22:29] still need help [22:29] I've found out that apache isn't in the xampp folder [22:29] unless I'm looking in the wrong place [22:30] how did you start xampp [22:30] shaun__: ^ [22:30] well I don't know [22:30] let me look again [22:31] where would it usually be do you know [22:31] try this: [22:31] /opt/lampp/lampp stop [22:31] everything should shut down, http://localhost should give an error [22:31] confirmed? [22:31] confirmed stop yes [22:32] http://localhost no longer works? [22:32] correct [22:33] ok, so /opt/lampp/lampp start [22:33] confirm that http://localhost works [22:33] yep [22:33] once that works, please try http://locahost/newz2000-rocks [22:34] and confirm that you get a page not found (404) error [22:34] ???? >:| [22:34] sorry [22:34] just had to get that out of my system [22:34] loll [22:34] I had to come up with something that was guaranteed to get a 404. ;-) [22:34] newz2000, doesnotworkforme [22:35] knome: are you testing xampp too? [22:35] newz2000, no, but http://localhost/newz2000-rocks does not give a 404 [22:35] yeah it's actually a page I think [22:35] yeah [22:35] it says [22:35] "just kidding" [22:36] well, I just want to make sure you recognize a 404 error page. Some systems make them so pretty you dn't realize it's a 404 [22:36] oh nevermind I typed it in wrong [22:36] yep it recegnizes it [22:36] recognizes* [22:37] wait, what? [22:38] I already know because when I run http://localhost/drupal I get a 404 [22:39] ok, that's what I'm getting at [22:39] so now in your terminal go to /opt/lampp/htdocs [22:39] create a file called newz2000.php [22:39] inside put: [22:39] [22:39] save and close it [22:39] then go to http://localhost/newz2000.php [22:43] you should get a nice long php diagnostic page [22:44] if not, then we don't know what your document root is, and when we find that, move your drupal folder there [22:44] (or create a symlink there) [22:45] yeah that worked [22:45] shaun__: ok, so ls -1 /opt/lampp/htdocs and paste the output to http://paste.ubuntu.com [22:50] it's there [22:50] where? [22:50] shaun__: after you paste it and submit you need to tell the url [22:50] http://paste.ubuntu.com [22:51] the url you get after you submit [22:51] 458502/ [22:51] oh, ok [22:51] mv drupal-6.17 drupal [22:51] then your url should work [22:53] the page shows the word "deprecated" a couple hundreds lines [22:54] e.g. Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/drupal/includes/file.inc on line 926 [22:56] what does thsi mean [22:57] shaun__: oh, right, you probably need to hit http://localhost/drupal/install.php [22:58] ereg is deprecated, eh? I guess that's a good thing [23:00] Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/drupal/includes/file.inc:926) in /opt/lampp/htdocs/drupal/includes/install.inc on line 618 [23:01] I'm sorry, my php is getting rusty... there's a way to hide deprecation warnings. You need to do that. [23:01] It will probably be in /opt/lamp/[something]/php.ini [23:02] ok I think I remember how to do that [23:02] what language do you use? [23:02] Php, python, javascript, html, css [23:02] ewww python [23:02] i mostly use finnish and english [23:02] ;] [23:02] sorry it's just too complicated [23:02] lol [23:02] yeah, well, try using django to do a couple web apps and then switch to php [23:02] python is not too complicated [23:03] you're perspective will reverse [23:03] oh [23:03] so you suggest trying python [23:03] check out python / django or ruby on rails [23:03] ok [23:03] I wouldn't normally choose python or ruby for web apps but both of those let you focus on the fun parts of app dev [23:04] but for now I'll stick with php I'm used to it because of c++ [23:04] I used to dabble in c++ [23:04] and knowing python and not php lets you not interact with drupal [23:04] shaun__: /opt/lampp/etc/php.ini [23:04] search for the word error [23:04] maybe error_reporting or something like that [23:05] maybe set it to E_ALL [23:06] error_reporting = E_ALL & ~E_DEPRECATED [23:07] The paste.ubuntu.com site is really bad; I've created a modified CSS file for it that makes it match the new branding. Can it be considered for use on paste.ubuntu.com? (Example of page: http://bit.ly/cQ0ESc ) [23:07] dieki: yes, I'd love to recommend that [23:07] dieki: would you put it into a branch in launchpad and send me the link? [23:07] Sure. [23:09] ; error_reporting [23:09] ; Default Value: E_ALL & ~E_NOTICE [23:09] ; Development Value: E_ALL | E_STRICT [23:09] ; Production Value: E_ALL & ~E_DEPRECATED [23:09] // This is what's already there [23:09] remove the semicolon from the last option [23:09] Is there an existing branch for paste.ubuntu.com that I should branch off of? [23:09] shaun__, those are all comments [23:09] oh DUH [23:09] dieki: I don't know where it is but I suspect so [23:15] I can't edit php.ini for some stupid reason [23:15] try sudo [23:15] shaun__, try with sudo [23:15] already did it's blank when it opens [23:16] guys, sorry, but I must take off. Get some food and do some relaxing. [23:16] ok [23:16] I'll be online over the weekend for sure though [23:16] I'll look into how to do this [23:20] Hm... I can't find a branch for that anywhere. [23:56] What forum scripts do the LoCo sites usually use?