IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.67 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Next >
[00:30]<fzvnzzfus>AfroTurf: ...
[00:30]<apzjtuzp_>nvm
[00:30]<st00pyd>:D
[00:31]<rrrnfrq9>DepretioN ?
[00:31]<txgwzzmgg>richardlynch: oh no I mean mysql encrypt() is being used without salt.
[00:31]<apzjtuzp_>i've just upgraded and now a bunch of shit doesn't work, same shit different day with gentoo
[00:31]<wygduvv>pdo+forking==borked
[00:31]<txgwzzmgg>damn it anyone how doesn't work...argh. Now what.. mmm
[00:31]<fzvnzzfus>AfroTurf: No upgrade has ever moved /tmp.
[00:31]<zdzxzzmfdgzx>TheWarden: Show us a sample password (encrypted) from your db.
[00:31]<dnlznvyjn>AfroTurf : thats why Gentoo is so fun ... you get to fix things all the time and you learn so much :)
[00:32]<fzvnzzfus>If you're asking where /tmp is, there's a problem here that is not Gentoo.
[00:32]<apzjtuzp_>lateralus: i'm getting mysql_connect errors: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
[00:32]<fzvnzzfus>AfroTurf: So start mysql.
[00:32]<dnlznvyjn>put a cron job to emerge system && emerge world and get all the testing packages aswell.... now thats fun :)
[00:32]<apzjtuzp_>Lateralus: it is :)
[00:33]<dnlznvyjn>AfroTurf : check your my.cnf where it sets the .sock file
[00:33]<fzvnzzfus>AfroTurf: http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html
[00:33]<zdzxzzmfdgzx>AfroTurf_: Probably not started correctly... Or did they move the directory for mysql.sock in the distro?
[00:33]<dnlznvyjn>then either symlink it to /tmp/mysql.sock , or recompile php with correct sock location
[00:33]<apzjtuzp_>ya i'm checking whee the dir i sfor the mysql.sock
[00:34]<apzjtuzp_>knowing gentoo they move it with every upgrade of something somewhere
[00:34]<dnlznvyjn>they would have patched the php ebuild then aswell
[00:35]<txgwzzmgg>richardlynch: okay sec...
[00:35]<apzjtuzp_>i'll create a sym link and see if that will work
[00:35]<dnlznvyjn>should, but it will probably break everytime you restart mysql
[00:35]<||aw>AfroTurf: sounds more like you've hacked in a non-standard location, I'd expect it to be somewhere more like /var/lib/mysql/mysql.sock
[00:36]<txgwzzmgg>richardlynch: okay this is the stored password value inside quotes, "oZgARWaiOyqT6". The password actual value is "foobar".
[00:36]<zdzxzzmfdgzx>||cw: Yeah, well the MySQL guys default it to /tmp, so that's where *I* expect it to be.
[00:36]<apzjtuzp_>this is why i'm scared to upgrade all the time with gentoo
[00:37]<drvvdaa>Debian packages change the default, because it's stupid.
[00:37]<drvvdaa>Runfiles have no business being in /tmp.
[00:37]<dnlznvyjn>TheWarden ... is that in your mysql.user or something?
[00:37]<txgwzzmgg>richardlynch: I'm doing this to test it, SELECT * FROM Web_Accounts WHERE Password=encrypt('foobar');
[00:38]<||aw>AfroTurf: the official mysql source tarball does this?
[00:38]<zdzxzzmfdgzx>TheWarden: It's the old old 2-char salt at the beginning algorithm whose name I forgot.
[00:38]<txgwzzmgg>DepretioN: no this is stored in a table the stores all my users on the web site. this is for a web site not for mysql access.
[00:38]<apzjtuzp_>||cw: everything in gentoo does this lol
[00:38]<dnlznvyjn>SELECT * FROM Web_Accounts WHERE Password = OLD_PASSWORD('foobar');
[00:38]<dnlznvyjn>try that
[00:38]<zdzxzzmfdgzx>TheWarden: password = encrypt(password, substring(password, 1, 2))
[00:38]<txgwzzmgg>richardlynch: oh great... ahh mmm
[00:38]<zdzxzzmfdgzx>TheWarden: It's also not a particularly good algorithm anymore, as I recall...
[00:39]<apzjtuzp_>||cw: been using gentoo for over 2 years and i've not had one easy simple emerge -uN world
[00:39]<sxrmpa>im having a script that uses gd functions fail silently (i have E_NOTICE on), and i cant figure out why. php5, apache2
[00:40]<fzvnzzfus>AfroTurf: Then there is a problem here that is not Gentoo, as most people have no trouble. Perhaps you aren't cut out for Gentoo. Try debian.
[00:40]<vrcurg>is anybody in here used to getting php en mysql to work under windows with apache?
[00:40]<svjzdzxzsnz>AfroTurf: As said: gentoo \o/
[00:40]<drvvdaa>AfroTurf: Not being cut out to run gentoo isn't necessarily a character flaw.
[00:40]<zdzxzzmfdgzx>mattmcc: If you wanna argue with the MySQL guys where they ought to put their files, then argue with them. I don't care where they are, so long as the distro doesn't move them for only half my software..
[00:40]<zdzxzzmfdgzx>mattmcc: If you wanna argue with the MySQL guys where they ought to put their files, then argue with them. I don't care where they are, so long as the distro doesn't move them for only half my software..
[00:41]<dnlznvyjn>Gentoo > *
[00:41]<rrdrdr>loser
[00:41]<zdzxzzmfdgzx>takuan: Errr. Not "used to" but I've done it. It was pretty easy, really...
[00:41]<vrcurg>well
[00:41]<svjzdzxzsnz>DepretioN: Let me put it this way: abacus > Gentoo
[00:41]<vrcurg>for some reason it doesn't want to find files which are there
[00:41]<dnlznvyjn>haha
[00:41]<vrcurg>currently I'm downgrading to php4
[00:42]<vrcurg>see what gives
[00:42]<dnlznvyjn>I will never goto another operating system, I love portage too much
[00:42]<zdzxzzmfdgzx>takuan: You have to be a bit more precise than "it" and "files" and "there"
[00:42]<vrcurg>well it doesn't find php5apache2.dll while it's there
[00:42]<||aw>takuan: where? in apache's modules folder?
[00:43]<fzvnzzfus>AfroTurf: It might be a good time for you to try one of the other distro's you've always wanted to.
[00:43]<dnlznvyjn>Stormchaser : whats the rush? Not liek your system isnt usable whilst its still compiling
[00:43]<||aw>or are you providing a full path? have you tried a WAMP installer?
[00:43]<vrcurg>||cw: in c:\php5\
[00:43]<dnlznvyjn>You can emerge the whole of modular X , and upgrade KDE, whilst you are in KDE, then just restart X and you are good to go
[00:43]<txgwzzmgg>richardlynch: oh damn man, that works. Awesome thanks. So you are saying that type of encrypt() is bad? Should I change it to something else?
[00:43]<zdzxzzmfdgzx>takuan: What doesn't find php5apache2.dll? And *where* is php5apache2.dll located?
[00:44]<vrcurg>doesn't matter where because the exact path where it says it can't find it, that's where it is...
[00:44]<vrcurg>apache doesn't richardlynch
[00:44]<||aw>DepretioN: you can do that with unbuntu too, except it take 2 mintues instaed of 15 hours
[00:44]<zdzxzzmfdgzx>TheWarden: Yes, and yes -- But you'll want to "migrate" to the new algorithm to avoid losing username/passwords. Think it through.
[00:44]<dnlznvyjn>Yeah , but you cant choose anything :P
[00:44]<svjzdzxzsnz>DepretioN: You're right... Nothing better than memory eating spikes and nothing nicer then laggy machine...
[00:44]<svjzdzxzsnz>||cw++
[00:45]<||aw>takuan: are you using c:\php5\ or c:\\php5\\ or c:/php5/ ?
[00:45]<svjzdzxzsnz>DepretioN: 'you can't choose'? What?
[00:45]<drvvdaa>DepretioN: Of course you can. KDE is split into a number of packages.
[00:45]<||aw>takuan: in apache's conf
[00:45]<vrcurg>let's see
[00:45]<zdzxzzmfdgzx>takuan: Give us one example directory you are using that doesn't work, and what's in httpd.conf to set it and what version of Windows?
[00:45]<vrcurg>c:/php5/
[00:45]<vrcurg>win 2000
[00:45]<||aw>DepretioN: you can choose everything that actualy works
[00:46]<||aw>takuan: what are the lines you have in httpd.conf that relate to php
[00:46]<vrcurg>but php5+apache1 gave an error along the lines of "cannot find mysql.so"
[00:46]<txgwzzmgg>richardlynch: yeah the migrate would be tough... I would have to re-issue new passwords to everyone I guess right? What is a better solution to encrypt() then?
[00:46]<vrcurg>which really belongs in linux
[00:46]<svjzdzxzsnz>mattmcc: Heh... the only distro, that I knew of before ubuntu, that splited the KDE was Caldera :/
[00:46]<vrcurg>second second people
[00:46]<vrcurg>i'm currently installing php4 to see what gives
[00:46]<drvvdaa>Stormchaser: Well, naturally Debian... :)
[00:46]<ugywm9m>i need to develop an admin interface with an header, an menu in the left and in the right all the options from the selected menu. wich is the best way to do it?
[00:46]<pzrgac19>hi all, what the best way to make bidirectionnal communication between a parent and N childs (php/cli + forks) ?
[00:47]<||aw>takuan: that's a php config problem, you enabled a unix expention when you should have enabled a windows one
[00:47]<dnlznvyjn>Ahh well, I love Gentoo, I love USE Flags, I love compiling from source , I like it when it breaks so that I can fix it and udnerstand why it broke ... stfu all :P
[00:47]<vrcurg>||cw: there was no line like that in the ini file







