Re: [SLUG] Pear, Horde and Gutsy Gibon
You could always use pear to upgrade itself: pear upgrade PEAR Rich 2008/6/30 Peter Rundle [EMAIL PROTECTED]: Sluggers, running Gutsy, don't want to upgrade right at the moment. Wish to install horde which requires Mail_mineDecode but when I go to install it I get this error pear/Mail_mimeDecode requires PEAR Installer (version = 1.6.0), installed version is 1.5.4 But apt-get install php-pear says; php-pear is already the newest version. How do I get out of this catch 22? Is there a repository that I need to add and if so how? TIA's Pete (still a little wet behind the ears in regards to apt-get, pear and pecl) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Rich Buggy http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] escaping apostrophies in php/mysql
It could be that your old server had magic_quotes_gpc turned on in your php.ini. Rich On 31/01/2008, Voytek Eymont [EMAIL PROTECTED] wrote: I have a PHP/MySQL custom CMS from a little while ago; the original developer is no longer available, recently, I've upgraded server from RH73 MySQL 3.x to Centos 4.x MySQL 4.1.22 now, on the new server, the user can not save any edited text that contains apostrophies (the existing text contains apostropies 'from before') could that be the MySQL collation that's the problem...? actual collation is 'utf8_general_ci', should I change it to 'latin1' ?(which I guess MySQL 3.x was) -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Rich Buggy http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] hacking at php: how to set a variable
If you set the field to disabled then the browser won't return the value. A hidden field is a better match but still provides the opportunity for someone to provide an arbitrary value. Use sessions to store the value or look it up again once they submit the form. Rich On Sun, 2007-12-30 at 21:25 +1100, Voytek Eymont wrote: On Mon, December 31, 2007 4:30 am, Jeremy Visser wrote: On 29/12/2007, at 9:46 PM, Peter Rundle wrote: input type=text name=lastname readonly style=cursor:not- allowed value= input readonly is one way, or if you want a better visual metaphor for being not allowed to edit, you can do input disabled, which will visibly grey the text box. Peter, Jeremy, Kelvin, many thanks, yes, I think I like 'disabled' best, though cursor not allowed is not bad either. but, I'm still struggling with getting it to pass name to the email mssg, I think I need to print out the code on a paper and stare at it a little harder thanks again -- Voytek -- Rich Buggy [EMAIL PROTECTED] http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] hacking at php: how to set a variable
While you're redeveloping you should also read about Cross-site Scripting and why you should escape user input before sending it back to the browser. Rich On Sun, 2007-12-30 at 21:29 +1100, Voytek Eymont wrote: On Sun, December 30, 2007 8:46 am, Peter Rundle wrote: BTW this style of Sql that you've written is at risk of SQL injection. thanks, Peter as it is, this website is pending redevelopment, and, there is less than 200 ppl than can access the actual site, it was a custom written cms, I just hack some alterations once in a while -- Voytek -- Rich Buggy [EMAIL PROTECTED] http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] BarCamp Sydney
I think you'll find it is an ad for esparko. The next barcamp hasn't been organised yet. Rich On Thu, 2007-12-20 at 09:07 +1100, Robert Collins wrote: On Wed, 2007-12-19 at 10:53 -0800, [EMAIL PROTECTED] wrote: Hi there, We have posted the BarCamp Sydney event and also many other more on Esparko.com. Esparko.com is another great avenue to help promote your future events. You may post and manage your own events at any time you want yourself on Esparko.com and share them with others with click of a button. As for your reference, you may also click on the link attached to access the event details or go visit other events on www.esparko.com directly. BarCamp Sydney http://www.esparko.com/event.aspx?eid=9bc92924-bf0a-4ff9-8e22-dc048fffcea5 This reads like an advertisement for esparko, rather than an invite to BarCamp :) Perhaps including details like time, place and a brief description for folk that are ignorant of what a BarCamp is would get more folk involved. Also, putting the BarCamp link into the Slug calendar might be a good idea. -Rob -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Rich Buggy [EMAIL PROTECTED] http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Re: [SLUG-ANNOUNCE] Re: SLUG Monthly Meeting, Friday 30 November
Hi Sridhar I had hoped that I would be able to make today's SLUG meeting but something has come up. Would it be possible for you to make an announcement about bringing OSDC to Sydney next year? Below is what I posted to my blog earlier today. We need to hear from anyone interested in being on the committee by Monday. This years Open Source Developers Conference finished yesterday. A group of us have been asked to put together a proposal to the Open Source Developers Club to host it in Sydney next year. If you’re interested in being involved, as an organiser or helper, then send me an email ASAP. We’re going to start discussing it next week so that we can have the organising committee and proposal ready by mid-December. Thanks, Rich On Fri, 2007-11-30 at 15:45 +1100, Sridhar Dhanapalan wrote: Unfortunately, we are no longer able to offer the Careers Panel at this month's SLUG meeting. In its place we will have the following: ** Melissa Draper - From Equality to Diversity: The Road Less Taken ** This paper describes how due to the nature of participation, the Open Source community can excel in diversity, whilst at the same time fall short for reasons of active and passive discrimination. Using gender imbalance as an example, aspects of diversity failures such as identifying causes, reparative actions and the reasons for doing so are discussed. This is the same talk as was delivered at CLUG in June and at OSDC earlier this week. More information at: http://www.cgpublisher.com/conferences/107/proposals/25/index_html http://lists.samba.org/archive/linux/2007-June/017886.html On Thu, 8 Nov 2007, Sridhar Dhanapalan [EMAIL PROTECTED] wrote: == November SLUG Monthly Meeting == You can read this announcement on the Web at http://www.slug.org.au/node/87 When: 18.30 - 20.30, Friday, 30 November, 2007 We start at 18:50 but we ask that people arrive 20 minutes early so we can all get into the building and start on time. Please do not arrive before 18:00, as it may hinder business activities for our host! Appropriate signage and directions will be posted on the building. Where: Atlassian[1], 173-185 Sussex Street, Sydney (corner of Sussex and Market Street) Entry is via the rear on Slip Street. There are stairs going down along the outside of building from Sussex St to near the entrance. A map of the area and directions can be found here[2]. = Talks = ** Jeff Waugh and guests - Careers Panel ** Jeff Waugh will lead a discussion of issues surrounding employment and careers in the FOSS world. ** Jamie Wilkinson - Linux authentication internals ** Jamie Wilkinson will be treating you all to a relaxing jaunt through glibc's nameservice switch, or what goes on under the hood of /etc/nsswitch.conf. In particular, we'll look at how it interoperates with LDAP, why nscd got invented, and all of the problems therein. This is a warm-up talk to one of similar content to be presented at LCA 2008. = Meeting Schedule = * 6:15pm: Open Doors * 6.40pm: The Usual Suspects * 6:45pm: General Talk (see above) * 7:30pm: Intermission * 7:45pm: Split into two groups for * In-depth Talk (see above) * SLUGlets: Linux QA and other miscellany * 8:30pm: Dinner We hope to see you there! - Sridhar [1] http://www.atlassian.com [2] http://tinyurl.com/35fxes -- SLUG - Sydney Linux User Group Announcements List - http://slug.org.au More info: http://lists.slug.org.au/listinfo/announce -- Rich Buggy [EMAIL PROTECTED] http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Retrieving Data from formatted drive
Hey Kevin Are there any linux tools to recover data from formatted drives? I can do this using windows, but wondered if there was a better way. I couldn't find anything about a year ago when I needed one. In the end I purchased a copy of Stella Phoenix - http://www.stellarinfo.com/linux-data-recovery.htm I think I got back about 80% of what hadn't been backed up after the drive got formatted (a long story involving disconnecting the wrong drive during an upgrade). Good luck, Rich -- Rich Buggy [EMAIL PROTECTED] http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Etax 2007
I think a better question is why can't the ATO produce a real web application that only requires a web browser? The rest of the planet seems to have managed to do it. Rich On 03/07/07, Glen Turner [EMAIL PROTECTED] wrote: On Mon, 2007-07-02 at 23:22 +1000, Howard Lowndes wrote: Dean Hamstead wrote: ran perfectly in wine (whatever is current). That should not be used as an excuse for the ATO not to provide a Linux port. Out of interest, why is a native Linux binary better than Wine? Especially if the ATO supported Linux via Wine? Of course, since my taxes have paid for this, I would have preferred that the application be free software. Thanks, Glen -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Rich Buggy http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] drupal question - external urls in primary menu?
ZenCart was a fork from osCommerce. I think osCommRes is another fork (http://www.oscommres.com/). For as long as I can remember they've been struggling to release osCommerce 2.2. A while ago I read somewhere they were now working on 3.0. Drupal has an ecommerce module available that might do what you want, although I've never used it. http://drupal.org/project/ecommerce The default rules with my Drupal installation already included RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d So you should be able to use oscommerce simply by putting it into www.test.com/oscommerce/ Rich Wed, 2007-06-06 at 08:35 +1000, Sonia Hamilton wrote: * On Wed, Jun 06, 2007 at 08:20:54AM +1000, Howard Lowndes wrote: I would suggest zencart as a better alternative. I don't think oscommerce has been maintained for a while; last I saw it was not friendly with PHP5. Thanks for that. I had a look at the ZenCart site - it looked commercial rather than open source. I might check out the site on more detail - do you know if it's open source? -- Sonia Hamilton | GNU/Linux - 'free' as in .| free speech, not free beer. -- Rich Buggy [EMAIL PROTECTED] http://www.buggy.id.au/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] NVIDIA driver
I had a similar problem. If performed an rmmod followed by a modprobe it loaded the binary drivers instead of the ones that shipped with Ubuntu. After wasting a lot of time I ended up simply removing the following so it couldn't find them. /lib/modules/2.6.17-11-generic/volatile/nvidia.ko /lib/modules/2.6.17-11-generic/volatile/nvidia_legacy.ko /lib/linux-restricted-modules/2.6.17-11-generic/nvidia /lib/linux-restricted-modules/2.6.17-11-generic/nvidia_legacy Make sure you keep the binary drivers from nVIDIA somewhere handy. When you upgrade the kernel you'll need to reinstall them and remove these files again. Rich On Sun, 2007-03-11 at 20:19 +1100, Heracles wrote: I am now trying a 32bit system on my AMD64. All works well and many times faster than the 64bit version of ubuntu. The only glitch is the NVIDIA driver. I have a GeForce 6200 and when I install the proprietry driver I constantly get version mismatch on boot BUT (and here is the strange bit) if I start in console mode and run startx I get the NVIDIA screen flash up and then all works. Anyone have any ideas? Heracles -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Trouble connecting Pocket PC to Ubuntu
Thanks Mark I've tried it on a number of different computers (all running Ubuntu) including one that work when it had Fedora Core 5 installed. Still no luck. Rich On Thu, 2007-03-01 at 12:01 +1100, Mark Pearson wrote: Try using a different usb cable or a different usb slot. If the pocket pc is usb 2.0 it may not work correctly in a 1.0 slot or with a 1.0 cable. I have an external disk that only works when plugged into the rear slots. Rich Buggy wrote: I'm trying to connect a pocket pc to Ubuntu 6.10. When I connect the device Linux seems to pick it up correctly but then disconnects almost immediately. Below is the output from dmesg. I've checked /proc/bus/usb/devices and for a short while it also lists the device correctly. Does anyone have any suggestions? Thanks, Rich -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux laptop and training for new user
Avoid nVidia graphics cards like the plague. Everything else in mine is Intel and the graphics card is the one thing that causes me problems. :( Rich -- BarCamp Sydney - March 3, 2007 http://www.barcampsydney.org/ On Thu, 2007-03-01 at 20:26 +1100, Jeff Waugh wrote: quote who=Russell Davie A customer has asked me advice on a new entry level laptop that would run Linux. Which is a good choice? I can't point to a particular brand or model, but I can give you a big hint that will help your purchasing decision: Buy Intel, from top to bottom. You will have a massively better experience using Linux with a completely Intel based laptop, particularly the video chipset. They also want training as they have never used Linux before. Who could do this? is this available as a computer based learning or DVD? Perhaps look around on the OSIA website: http://www.osia.net.au/ - Jeff -- Open CeBIT 2007: Sydney, Australia http://www.opencebit.com.au/ Cette menace est trs srieuse. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Trouble connecting Pocket PC to Ubuntu
I'm trying to connect a pocket pc to Ubuntu 6.10. When I connect the device Linux seems to pick it up correctly but then disconnects almost immediately. Below is the output from dmesg. I've checked /proc/bus/usb/devices and for a short while it also lists the device correctly. Does anyone have any suggestions? Thanks, Rich [17187573.004000] usb 3-2: new full speed USB device using uhci_hcd and address 4 [17187573.172000] usb 3-2: configuration #1 chosen from 1 choice [17187573.172000] ipaq 3-2:1.0: PocketPC PDA converter detected [17187573.176000] usb 3-2: PocketPC PDA converter now attached to ttyUSB0 [17187587.632000] usb 3-2: USB disconnect, address 4 [17187587.632000] ipaq ttyUSB0: PocketPC PDA converter now disconnected from tty USB0 [17187587.632000] ipaq 3-2:1.0: device disconnected -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] mySQL Control Center - Access Denied Problem
From memory MySQL handles local access differently to remote access. If you connect from the localhost then it will use [EMAIL PROTECTED] while remote access will use [EMAIL PROTECTED] Make sure both accounts exist and use the password for [EMAIL PROTECTED] when using mycc from a windows box. (Remember that [EMAIL PROTECTED] and [EMAIL PROTECTED] can have different passwords because they are different users) Rich - Original Message - From: Adam W [EMAIL PROTECTED] To: '[EMAIL PROTECTED] Org. Au' [EMAIL PROTECTED] Sent: Thursday, April 03, 2003 10:34 AM Subject: [SLUG] mySQL Control Center - Access Denied Problem Hi All, I am having a few problems with mySQL. Why would it be doing this: * I can login locally on the mySQL box using $mysql -uadamw -p * I try and do this through mySQL control center running on windows machine and it gives me: ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) * I try this on a linux (not the server) box using $mysql -uadamw -p and it lets me access it. * Last night I could access mySQL via the control center - but after a reboot it now refuses. Though last night it allowwed me after some changes to hosts.allow, hosts.deny (don't know if that is relevant - isnt this just xinetd? I'm not running mySQL through xinetd) Of course I have set the users table correctly - user adamw is accepted from all hosts. Can anyone pick the error?? Cheers Adam W. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] ADSL recommedation
Hi, I'm about to move home and I'm considering switching from Bigpond Cable to ADSL (probably Apple Communications). I'd also like to host e-mail/web at home and will be using EasyDNS to provide DDNS. 1. Does anyone have any horror stories about using Apple Communications for ADSL? I think they are reselling Telstra Bigpond ADSL so horror stories about them are welcome too. 2. Should I be buying an ADSL router or an ADSL modem and then using my Linux box as a router? I'm currently using the second option with Telstra cable and would prefer to keep it. 3. Would anyone like to recommend an ADSL modem/router? Both buy and keep away recommendations are welcome. I was considering the Dynalink ALH-110 but the archives seem to indicate this one has problems. If anyone has this working with RedHat 7.2 then please let me know as I can get one cheaply. Thanks Rich -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Domain delegation (slightly OT)
well it's been so long since i've been in the business of setup/delegating domains that i've forgotton! I have the domain name. Where do I go to get a domain delegated? The company you registered it with. How you do it depends on your domain registrar. Most will have a form you can fill out that allows you to change the name servers. Simply set up and test your DNS then change the name server entries to point to the new server. Rich -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] newbie trying to secure his box
... I don't know what any of this means, but I don't like it! cmd.exe? winnt? Who is 210.23.229.57 anyway, and why is he accessing my system, Twits running IIS who have been infected with nimda and codered. You can't do much else but ignore it, or block them. Either way, you get to pay for the traffic. Kinda like SPAM, really. The only effective solution I can think of is to have the web server rewrite URL's that are known to indicate infected machines so they call a cgi script. The cgi would then need to connect to another process which has access to modify the ip tables in the kernel to block that IP address. This would allow the first connection through but block the subsequent ones. Has anyone tried this? Did you find software to do it or write it yourself? Rich -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] newbie trying to secure his box
I don't actually see how any attempts to block the traffic at your host will prevent you being charged for that traffic. That's easy to answer. If they can't connect to your web server (because of iptables) then they can't send the HTTP request and your server doesn't have to return it's error page. You also need to know that these attacks seem to come in groups of 12 requests. If you take a hit on the first one you can still block the remaining 11. Using my server logs for last month Virus generated requests: 10,000 Average request size: 500 bytes (plus TCP/IP overhead) Total traffic from viruses: 5MB without blocking, 0.4MB with blocking The figures on my server are pretty small. One of my previous employers has an error page that is nearly 8k. With the same 10,000 hits there figures would be more like 80MB without blocking and 6MB with. It may stop filling up your logs if you are running an active web server, but for the effort logs are fairly cheap things. It's got nothing to do with running an active web server. I started getting virus generated requests within 15 minutes of setting up my server. My web server traffic is fairly low (because the server is mostly for friends e-mail) and it's out stripped 10-1 by virus generated requests. The only useful thing I see in this would be to alert dumb NT admins that their boxes have worms and need cleaning out ASAP... In my experience a pointless exercise that usually results in discovering that it's someone's desktop (if you can find real person). While leaving a file on their desktop might sound like a good idea all it takes is an idiot user that thinks you are hacking his machine and suddenly you're on the wrong side of the law. :( Rich -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] OT: University
Actually, it is because your semesters are only 12 weeks not 14 weeks. 13 actually. And the person who said employers care you have a degree but not where you got it from is correct. They just left out that (except for your first job) they also don't care what grades you got. I'm not encouraging you to slack off but try to have some fun while you're there too. :) Rich -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] OT: University
Hi Matt, Currently i'm looking at UTS, Sydney and UNSW but am wondering how these differ from universities such as Macquarie and UWS and why these may be discouraged ? I wouldn't discourage anyone going to club mac (aka Macquarie). I have a degree from there and had a great time getting it. The one advantage that Macquarie has over the rest is the flexible program. My understanding with your 3 preferred universities is that you have to do a fixed program. You might get a choice like chemistry or physics but that's it. At Macquarie you have to get a major at 3rd year and meet the requirements of your degree but you choose the courses you do. This allows you to do stuff like languages, music, psychology, ... as part of your degree. It also means you can do the computing subjects that interest you to complete the major. I don't know if UTS still makes you do a years work experience as part of the their degree but that always turns me off them (personal preference - please don't flame). I had a friend their who's (non-computing) degree was delayed by 12 months because he couldn't get relative work experience. Rich PS: The name club mac comes from the number of holidays we appeared to get. I suspect this had a lot to do with a smaller exam period because of lower student numbers. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug