From marun2 at gmail.com Mon Aug 31 05:27:36 2009 From: marun2 at gmail.com (Mohan Arun L) Date: Mon, 31 Aug 2009 15:57:36 +0530 Subject: [thelist] Amazon S3 for serving video: restricting permissions Message-ID: >> Dude, life's too short -- why don't you lease a server from someplace > like RackSpace and, if you're not inclined, put someone on retainer to handle installing/maintaining PHP, etc.? > > >>money. I don't have the funds, today, to start paying 5-10 times >>what I'm paying now. have a look at http://www.minivds.com/products/unlim.html - VDS/VPS at prices so low I havent seen elsewhere the same price quoted. (I am not affiliated with them) I saw in another forum that you can use ustream.tv to host your videos - they allow password-protecting videos (I believe it hosting is free but I am not sure about length limitation) - in that case you would just hire a virtual assistant to create accounts for your subscribers at ustream.tv when somebody signs up at your site. Your flow would be something like this User signs up at your site -> your virtual assistant gets notified via email/IM -> create account at ustream.tv -> send username/password of ustream to subscriber. "Ustream allows you to password-protect your streams, so you can provide a simple password to users you wish to invite." http://www.auctioneertech.com/ustream-provides-easy-free-live-video-streaming-on-any-website/ "You can password protect your Live Streaming video page and then give access to certain individuals limiting access to the public." http://sitesires.com/live-video-streaming/ I believe vimeo also allows you to password protect your uploaded videos. http://www.vimeo.com/forums/topic:7442 "Make video private for only contacts & password-protect for thos" By using ustream or vimeo, you can satisfy your this requirement: "I don't want to risk the possibility of uncontrolled ad hoc bandwidth charges from Amazon. I want to know that someone watching the video is a paying member, which offsets my costs."- because bandwidth is from vimeo and ustream - and you wont even have to pay for s3. I am not sure if vimeo or ustream have a length limit, but I guess you could work out a premium plan with their support, and the cost would probably be lesser than spending time coding to password protect videos on s3. "Vimeo does not have a limitation on duration, but has a weekly limit on upload size (500 MB)." http://www.n252q.com/2008/08/vimeo-versus-youtube.html Or you could use this simple one liner php script to protect the php pages that allows members to view videos http://www.zubrag.com/scripts/password-protect.php Of course, anybody watching a S3/ustream.tv/vimeo video could also screencast the video and bootleg, if they really wanted to. ---------------------------------------- MohanArun.com From fredthejonester at gmail.com Mon Aug 31 08:41:01 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 31 Aug 2009 16:41:01 +0300 Subject: [thelist] Rendering Mystery Message-ID: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> A client says that on this page: http://tinyurl.com/nlq8yc ( username/password is dev/dev ) he sees that title overlapping the user login block on the left. He says he uses FF 3.0.2 on Windows. I have 3.5 Linux and I tested on Opera 9.6 and then on IE7, IE8, Safari and FF 3.0.1 on Windows Vista and it looks fine to me on all browsers. I had him do shift-refresh, but he says the problem remains. Does anyone see this problem? Thanks. From nan at nanharbison.com Mon Aug 31 09:50:03 2009 From: nan at nanharbison.com (Nan Harbison) Date: Mon, 31 Aug 2009 10:50:03 -0400 Subject: [thelist] Rendering Mystery In-Reply-To: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> Message-ID: <4DFE695978F44C95AB585492307DB180@nancyb0bda4ba6> Looks fine on FF 3.5 and Safari on XP. What would we do with our time if all browsers worked the way they should? Nan -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Fred Jones Sent: Monday, August 31, 2009 9:41 AM To: thelist at lists.evolt.org Subject: [thelist] Rendering Mystery A client says that on this page: http://tinyurl.com/nlq8yc ( username/password is dev/dev ) he sees that title overlapping the user login block on the left. He says he uses FF 3.0.2 on Windows. I have 3.5 Linux and I tested on Opera 9.6 and then on IE7, IE8, Safari and FF 3.0.1 on Windows Vista and it looks fine to me on all browsers. I had him do shift-refresh, but he says the problem remains. Does anyone see this problem? Thanks. -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From eike at diebesteallerzeiten.de Mon Aug 31 10:13:34 2009 From: eike at diebesteallerzeiten.de (Eike Pierstorff) Date: Mon, 31 Aug 2009 17:13:34 +0200 Subject: [thelist] Rendering Mystery In-Reply-To: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> Message-ID: <037d01ca2a4d$9baac970$d3005c50$@de> Hi, > ( username/password is dev/dev ) he sees that title overlapping the > user login block on the left. > Does anyone see this problem? This seems to be a problem with smaller screen resolutions - with less than 850px browser width title and login block overlap, with more the site looks fine. -- eike From jason.handby at corestar.co.uk Mon Aug 31 08:46:46 2009 From: jason.handby at corestar.co.uk (Jason Handby) Date: Mon, 31 Aug 2009 14:46:46 +0100 Subject: [thelist] Rendering Mystery In-Reply-To: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> Message-ID: <9A50776858A21848A96469CDFCBCDEFF0267FC73@exch-be12.exchange.local> > A client says that on this page: > > http://tinyurl.com/nlq8yc > > ( username/password is dev/dev ) he sees that title overlapping the > user login block on the left. He says he uses FF 3.0.2 on Windows. I > have 3.5 Linux and I tested on Opera 9.6 and then on IE7, IE8, Safari > and FF 3.0.1 on Windows Vista and it looks fine to me on all browsers. > I had him do shift-refresh, but he says the problem remains. > > Does anyone see this problem? Looks OK to me (Vista/IE8 and Vista/FF 3.0.13). Jason From eccentric.one at gmail.com Mon Aug 31 10:19:37 2009 From: eccentric.one at gmail.com (Jeremy Weiss) Date: Mon, 31 Aug 2009 10:19:37 -0500 Subject: [thelist] Rendering Mystery In-Reply-To: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> Message-ID: <4a9bea1c.09035a0a.054f.4bb9@mx.google.com> > -----Original Message----- > From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On > Behalf Of Fred Jones > > http://tinyurl.com/nlq8yc > > Does anyone see this problem? > Looks fine on FF 3.5.2 and Chrome on Win Vista 64bit -jeremy From bobm at dottedi.biz Mon Aug 31 12:16:06 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Mon, 31 Aug 2009 11:16:06 -0600 Subject: [thelist] Rendering Mystery In-Reply-To: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> Message-ID: <4A9C0556.5010205@dottedi.biz> Fred Jones wrote: > A client says that on this page: > > http://tinyurl.com/nlq8yc > > ( username/password is dev/dev ) he sees that title overlapping the > user login block on the left. He says he uses FF 3.0.2 on Windows. I > have 3.5 Linux and I tested on Opera 9.6 and then on IE7, IE8, Safari > and FF 3.0.1 on Windows Vista and it looks fine to me on all browsers. > I had him do shift-refresh, but he says the problem remains. > > Does anyone see this problem? > > Thanks. > No trouble found here with Firefox (3.0.13) on Ubuntu Linux (widescreen) or on either Win PC's running FF 3.0.13 http://dottedi.biz/images/diagnostics/dev.tzip.jpg Perhaps local font customization or reset font zoom? -- Bob From misterhaan at track7.org Mon Aug 31 13:03:39 2009 From: misterhaan at track7.org (misterhaan) Date: Mon, 31 Aug 2009 13:03:39 -0500 Subject: [thelist] Rendering Mystery In-Reply-To: <037d01ca2a4d$9baac970$d3005c50$@de> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> <037d01ca2a4d$9baac970$d3005c50$@de> Message-ID: <4A9C107B.5060105@track7.org> Eike Pierstorff wrote: >> Does anyone see this problem? >> > > This seems to be a problem with smaller screen resolutions - with less than > 850px browser width title and login block overlap, with more the site looks > fine. > > -- eike > agreed. FF 3.0.latest on Ubuntu shows the problem if i set it to 800x600 but looks fine at my normal size of 1024x600. From marun2 at gmail.com Mon Aug 31 13:07:34 2009 From: marun2 at gmail.com (Mohan Arun L) Date: Mon, 31 Aug 2009 23:37:34 +0530 Subject: [thelist] Rendering Mystery Message-ID: > ( username/password is dev/dev ) he sees that title overlapping the > user login block on the left. > Does anyone see this problem? I am using FF 3.5.2 on xp, and it looked fine when the browser window is maximized. When I resized the window to be smaller in height and width I could see that the div content-header is overlapping on the login box at the left (div appears atop the login box). ------------------------------------------ www.WebDesignExpert.Me From fredthejonester at gmail.com Mon Aug 31 13:23:28 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 31 Aug 2009 21:23:28 +0300 Subject: [thelist] Rendering Mystery In-Reply-To: <4A9C107B.5060105@track7.org> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> <037d01ca2a4d$9baac970$d3005c50$@de> <4A9C107B.5060105@track7.org> Message-ID: <177c0a10908311123h7dd7fca2q3bf5ba941de2f5be@mail.gmail.com> >> This seems to be a problem with smaller screen resolutions ?- with less than >> 850px browser width title and login block overlap, with more the site looks >> fine. >> >> -- eike >> > agreed. ?FF 3.0.latest on Ubuntu shows the problem if i set it to > 800x600 but looks fine at my normal size of 1024x600. Yep, that's it! Thank you both very much. F From Chris at activeide.com Mon Aug 31 12:38:32 2009 From: Chris at activeide.com (Chris Anderson) Date: Mon, 31 Aug 2009 18:38:32 +0100 Subject: [thelist] Rendering Mystery In-Reply-To: <57C6A26A383A4437BA406CFB474B1349@ActiveIDE.local> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> <57C6A26A383A4437BA406CFB474B1349@ActiveIDE.local> Message-ID: <09DEC79B6F995248B402303C86CA49122381AD@scarlet.ActiveIDE.local> > Fred Jones wrote: > > A client says that on this page: > > > > http://tinyurl.com/nlq8yc > > > > ( username/password is dev/dev ) he sees that title overlapping the > > user login block on the left. He says he uses FF 3.0.2 on Windows. I > > have 3.5 Linux and I tested on Opera 9.6 and then on IE7, IE8, Safari > > and FF 3.0.1 on Windows Vista and it looks fine to me on all > browsers. > > I had him do shift-refresh, but he says the problem remains. > > > > Does anyone see this problem? > > > > Thanks. > > > No trouble found here with Firefox (3.0.13) on Ubuntu Linux > (widescreen) > or on either Win PC's running FF 3.0.13 > > http://dottedi.biz/images/diagnostics/dev.tzip.jpg > > Perhaps local font customization or reset font zoom? The problem occurs when you resize the window width to one equal to or less than the width of the top banner (Tested and seen on Windows, FF 3.52, Chrome 3.0.195.10, and Opera 9.64) Chris From david at chelseacreekstudio.com Mon Aug 31 12:43:49 2009 From: david at chelseacreekstudio.com (David Laakso) Date: Mon, 31 Aug 2009 13:43:49 -0400 Subject: [thelist] Rendering Mystery In-Reply-To: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> References: <177c0a10908310641k2399ada1l96770213ed995dd6@mail.gmail.com> Message-ID: <4A9C0BD5.3040404@chelseacreekstudio.com> Fred Jones wrote: > A client says that on this page: > > http://tinyurl.com/nlq8yc > > ( username/password is dev/dev ) he sees that title overlapping the > user login block on the left. He says he uses FF 3.0.2 on Windows. I > have 3.5 Linux and I tested on Opera 9.6 and then on IE7, IE8, Safari > and FF 3.0.1 on Windows Vista and it looks fine to me on all browsers. > I had him do shift-refresh, but he says the problem remains. > > Does anyone see this problem? > > Thanks. > The overlap is in a 640 or 800 window regardless of OS/browser. Use preference of minimum font-size 24px totally destroys your layout regardless of OS/browser or window width. From dunawaydon at sbcglobal.net Mon Aug 31 14:27:05 2009 From: dunawaydon at sbcglobal.net (Don Dunaway) Date: Mon, 31 Aug 2009 12:27:05 -0700 (PDT) Subject: [thelist] JavaScript function( )s Message-ID: <40057.21977.qm@web180008.mail.gq1.yahoo.com> With JavaScript code kept in it's own .js file, what syntax does one use to call a function from an .html file? From fredthejonester at gmail.com Mon Aug 31 15:07:52 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 31 Aug 2009 23:07:52 +0300 Subject: [thelist] JavaScript function( )s In-Reply-To: <40057.21977.qm@web180008.mail.gq1.yahoo.com> References: <40057.21977.qm@web180008.mail.gq1.yahoo.com> Message-ID: <177c0a10908311307h598007bch82140012588c8ba6@mail.gmail.com> > With JavaScript code kept in it's own .js file, what syntax does one use to call a function from an .html file? don't exactly follow you, but if you mean that the function is defined via inline JS in the HTML file AND the .js file is also included in that HTML file, then you call it regularly: myFunction() b/c it's all one namespace. AFAIK. If that's not it, then explain in more detail what you're asking. F From Paul.Bennett at mch.govt.nz Mon Aug 31 15:09:42 2009 From: Paul.Bennett at mch.govt.nz (Paul Bennett) Date: Tue, 1 Sep 2009 08:09:42 +1200 Subject: [thelist] JavaScript function( )s In-Reply-To: <40057.21977.qm@web180008.mail.gq1.yahoo.com> Message-ID: The same as if it was embedded in a script block in the html page... Are you having difficulty attaching event handlers? Or is your html page trying to call a function before the .js file has loaded? Paul -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Don Dunaway Sent: Tuesday, 1 September 2009 7:27 a.m. To: thelist at lists.evolt.org Subject: [thelist] JavaScript function( )s With JavaScript code kept in it's own .js file, what syntax does one use to call a function from an .html file? -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From dan at danromanchik.com Mon Aug 31 16:09:57 2009 From: dan at danromanchik.com (Dan Romanchik) Date: Mon, 31 Aug 2009 17:09:57 -0400 Subject: [thelist] Any Moodle Experts? Message-ID: <29A4153D-5EE3-4D6A-B40C-C67422B1146C@danromanchik.com> I'm having some trouble with a 1.8.9 updgrade. Sometimes it lets me login, sometimes not. When It does let me login, it usually logs me out as soon as I click on anything. I still have the old installation (1.8+) installed on this server, and it seems to be working just fine. I'm at my wit's end here, and would even be willing to pay someone to fix this or advise me on what's wrong. Dan Romanchik From dean.mah at gmail.com Mon Aug 31 16:19:42 2009 From: dean.mah at gmail.com (Dean Mah) Date: Mon, 31 Aug 2009 15:19:42 -0600 Subject: [thelist] Any Moodle Experts? In-Reply-To: <29A4153D-5EE3-4D6A-B40C-C67422B1146C@danromanchik.com> References: <29A4153D-5EE3-4D6A-B40C-C67422B1146C@danromanchik.com> Message-ID: Sounds like a session/cookie problem. Search the moodle bug tracker for those keywords and hopefully it is a known problem. Also make sure that you are allowing cookies for the domain that you have moodle 1.8.9 installed on. Dean On Mon, Aug 31, 2009 at 3:09 PM, Dan Romanchik wrote: > I'm having some trouble with a 1.8.9 updgrade. > > Sometimes it lets me login, sometimes not. ?When It does let me login, > it usually logs me out as soon as I click on anything. > > I still have the old installation (1.8+) installed on this server, and > it seems to be working just fine. > > I'm at my wit's end here, and would even be willing to pay someone to > fix this or advise me on what's wrong. > > Dan Romanchik From marun2 at gmail.com Tue Sep 1 01:48:06 2009 From: marun2 at gmail.com (Mohan Arun L) Date: Tue, 1 Sep 2009 12:18:06 +0530 Subject: [thelist] Amazon S3 for serving video: restricting permissions Message-ID: You could also use drm if your video files are flash (flv) freeware: http://www.giveawayoftheday.com/freeware/2008/08/28/flash-ownerguard/ You could also offload the hosting of the videos to save money spent on bandwidth http://www.steadyoffload.com/faq "As a SteadyOffload subscriber you can define URL filters. If the offloaded URL doesn't match any of these filters, the request is halted with the "URL Filter Mismatch" error status." The big draw about steadyoffload is that you pay only for bandwidth actually used - unlike in S3 where you would pay every month even if you used it or not. ----------------------------------------------- www.mohanarun.com From joel at bizba6.com Tue Sep 1 02:52:57 2009 From: joel at bizba6.com (Joel Canfield) Date: Tue, 1 Sep 2009 00:52:57 -0700 Subject: [thelist] Amazon S3 for serving video: restricting permissions In-Reply-To: References: Message-ID: <619d00930909010052u79b54c80j8e3c5e63d3e7a75e@mail.gmail.com> > > You could also use drm if your video files are flash (flv) > > freeware: > http://www.giveawayoftheday.com/freeware/2008/08/28/flash-ownerguard/ > > that doesn't protect from unwarranted bandwidth costs, which is the issue actually used - unlike in S3 where you would pay every month even if > you used it or not. > > actually, S3, you pay about a penny per GB per month for storage, and only pay bandwidth as it's used. I've sorted out S3's auth process from one of the links you sent, so as soon as I move to PHP5 hosting I should be ready to go. joel From dan at danromanchik.com Tue Sep 1 08:08:11 2009 From: dan at danromanchik.com (Dan Romanchik) Date: Tue, 1 Sep 2009 09:08:11 -0400 Subject: [thelist] Any Moodle Experts? In-Reply-To: References: <29A4153D-5EE3-4D6A-B40C-C67422B1146C@danromanchik.com> Message-ID: <34790F70-A72F-4222-9C79-89217EEB74D0@danromanchik.com> Hi, Dean-- Thanks for your message. It sounded like a session/cookie problem to me, too, but apparently it's not. I did find out that there's session test script at /lib/ session-test.php. When I run that, it tells me that sessions are running correctly. I've search the Moodle forums, but haven't really found anything like this problem. I've also entered items in the General Problems forum and the Installation forums, but haven't gotten any replies there. Dan On Aug 31, 2009, at 5:19 PM, Dean Mah wrote: > Sounds like a session/cookie problem. Search the moodle bug tracker > for those keywords and hopefully it is a known problem. Also make > sure that you are allowing cookies for the domain that you have moodle > 1.8.9 installed on. > > Dean > > > On Mon, Aug 31, 2009 at 3:09 PM, Dan Romanchik > wrote: >> I'm having some trouble with a 1.8.9 updgrade. >> >> Sometimes it lets me login, sometimes not. When It does let me >> login, >> it usually logs me out as soon as I click on anything. >> >> I still have the old installation (1.8+) installed on this server, >> and >> it seems to be working just fine. >> >> I'm at my wit's end here, and would even be willing to pay someone to >> fix this or advise me on what's wrong. >> >> Dan Romanchik > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! From AHall at NACDS.org Tue Sep 1 09:00:20 2009 From: AHall at NACDS.org (Annetta Hall) Date: Tue, 1 Sep 2009 10:00:20 -0400 Subject: [thelist] make PDFs open at 100% References: <619d00930908251352j6473b67ege8873ee72ac725a9@mail.gmail.com><619d00930908251446g7f6e8678k138e94253e36deb4@mail.gmail.com><9A50776858A21848A96469CDFCBCDEFF0267F970@exch-be12.exchange.local><2751EFEAD1C945DE8DC6F3E3DEF578F7@hppav> <9A50776858A21848A96469CDFCBCDEFF0267F97A@exch-be12.exchange.local> Message-ID: <7290E22E571EE54CB2FAB06DF040CD2608921D0C@Pan> This can be controlled when creating a pdf or later by going to File/Properties/Initial View/ Set the Magnification level to 100%. Annetta -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Jason Handby Sent: Wednesday, August 26, 2009 3:48 AM To: thelist at lists.evolt.org Subject: Re: [thelist] make PDFs open at 100% > You can specify a lot of the display attributes in the hash of the URL > used to open the PDF document. > > For example, this link inside an HTML page might do what you want: > > [URLPathToThePDFDocument]/ThePDFDocument.pdf#zoom=100 > > ...where the key piece is the URL hash "#zoom=100", meaning you want > the document to be scaled to 100%. > > Another option might be the hash "#page=1&view=fitH", meaning start the > display on page 1 of the document, and scale the document to fit the > horizontal width of its container. > > I've not tried this using PDF viewers other than Adobe Acrobat. > > Adobe's "PDF Open Parameters" documentation for Acrobat 7 (downlevel, I > know) is at: > http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters > .pdf This is a much better idea. I wish my google skills had enabled me to find it before posting :-) Thanks Steve, these look very useful. Jason -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From nan at nanharbison.com Tue Sep 1 11:44:36 2009 From: nan at nanharbison.com (Nan Harbison) Date: Tue, 1 Sep 2009 12:44:36 -0400 Subject: [thelist] file upload class problems Message-ID: Hi List, I have created a file upload class for a school district to receive proposals from architects for a school renovation project. Some of the larger files are timing out before the file is uploaded, so it doesn't get uploaded, and I am wondering if there is something I can do about this? I have it set to give error messages if the file type is wrong, or it is too large a file (but the max file size is 100 mg), but there is only an error from the browser, not one of my error messages, that says it has timed out. Could this be that the file sizes (one was 35 mg) is choking the upload? You can see this page here: http://concordpublicschools.net/renovation/upload.php Thanks Nan From eccentric.one at gmail.com Tue Sep 1 12:55:05 2009 From: eccentric.one at gmail.com (Jeremy Weiss) Date: Tue, 1 Sep 2009 12:55:05 -0500 Subject: [thelist] file upload class problems In-Reply-To: References: Message-ID: <4a9d6011.01025a0a.1d70.ffff8d83@mx.google.com> > -----Original Message----- > From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On > Behalf Of Nan Harbison > I have created a file upload class for a school district to receive > proposals from architects for a school renovation project. Some of the > larger files are timing out before the file is uploaded, so it doesn't get > uploaded, and I am wondering if there is something I can do about this? > I have it set to give error messages if the file type is wrong, or it is too > large a file (but the max file size is 100 mg), but there is only an error > from the browser, not one of my error messages, that says it has timed out. > > Could this be that the file sizes (one was 35 mg) is choking the upload? Nan, Have you tried increasing the value of max_execution_time in your php.ini or .htaccess file? -jeremy From nan at nanharbison.com Tue Sep 1 13:04:25 2009 From: nan at nanharbison.com (Nan Harbison) Date: Tue, 1 Sep 2009 14:04:25 -0400 Subject: [thelist] file upload class problems In-Reply-To: <4a9d6011.01025a0a.1d70.ffff8d83@mx.google.com> References: <4a9d6011.01025a0a.1d70.ffff8d83@mx.google.com> Message-ID: <4D74FFAE7B7A4C04A44D651662190C11@nancyb0bda4ba6> Ah yes, it turns out PHP by default limits file size to 8 MB, so you have to make changes to the php.ini file to override that. this limits file size to 8 MB So I added this to the php.ini file: memory_limit = 100M post_max_size = 100M file_uploads = On upload_max_filesize = 100M A new lesson for me, I had no idea about this. Thanks for your help! Nan -----Original Message----- From: Jeremy Weiss [mailto:eccentric.one at gmail.com] Sent: Tuesday, September 01, 2009 1:55 PM To: nan at nanharbison.com; thelist at lists.evolt.org Subject: RE: [thelist] file upload class problems > -----Original Message----- > From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On > Behalf Of Nan Harbison > I have created a file upload class for a school district to receive > proposals from architects for a school renovation project. Some of the > larger files are timing out before the file is uploaded, so it doesn't > get uploaded, and I am wondering if there is something I can do about this? > I have it set to give error messages if the file type is wrong, or it > is too > large a file (but the max file size is 100 mg), but there is only an > error from the browser, not one of my error messages, that says it has > timed out. > > Could this be that the file sizes (one was 35 mg) is choking the upload? Nan, Have you tried increasing the value of max_execution_time in your php.ini or .htaccess file? -jeremy From dean.mah at gmail.com Tue Sep 1 14:24:40 2009 From: dean.mah at gmail.com (Dean Mah) Date: Tue, 1 Sep 2009 13:24:40 -0600 Subject: [thelist] Any Moodle Experts? In-Reply-To: <34790F70-A72F-4222-9C79-89217EEB74D0@danromanchik.com> References: <29A4153D-5EE3-4D6A-B40C-C67422B1146C@danromanchik.com> <34790F70-A72F-4222-9C79-89217EEB74D0@danromanchik.com> Message-ID: Hmmm.... I've never used the session-test script. I would still check to make sure that the session information is correct. Find your session save_path in the php.ini file or wherever that it may have been overridden. Check to make sure that non-empty session files are being created there. Check their content to ensure the session corresponds to your cookie. Try using watching the live headers in the browser to see that the cookie is being passed back and forth. Dean On Tue, Sep 1, 2009 at 7:08 AM, Dan Romanchik wrote: > Hi, Dean-- > > Thanks for your message. > > It sounded like a session/cookie problem to me, too, but apparently > it's not. ?I did find out that there's session test script at /lib/ > session-test.php. When I run that, it tells me that sessions are > running correctly. > > I've search the Moodle forums, but haven't really found anything like > this problem. I've also entered items in the General Problems forum > and the Installation forums, but haven't gotten any replies there. > > Dan > > On Aug 31, 2009, at 5:19 PM, Dean Mah wrote: >> Sounds like a session/cookie problem. ?Search the moodle bug tracker >> for those keywords and hopefully it is a known problem. ?Also make >> sure that you are allowing cookies for the domain that you have moodle >> 1.8.9 installed on. >> >> Dean >> >> >> On Mon, Aug 31, 2009 at 3:09 PM, Dan Romanchik >> wrote: >>> I'm having some trouble with a 1.8.9 updgrade. >>> >>> Sometimes it lets me login, sometimes not. ?When It does let me >>> login, >>> it usually logs me out as soon as I click on anything. >>> >>> I still have the old installation (1.8+) installed on this server, >>> and >>> it seems to be working just fine. >>> >>> I'm at my wit's end here, and would even be willing to pay someone to >>> fix this or advise me on what's wrong. >>> >>> Dan Romanchik From Paul.Bennett at mch.govt.nz Tue Sep 1 14:51:34 2009 From: Paul.Bennett at mch.govt.nz (Paul Bennett) Date: Wed, 2 Sep 2009 07:51:34 +1200 Subject: [thelist] file upload class problems In-Reply-To: <4a9d6011.01025a0a.1d70.ffff8d83@mx.google.com> Message-ID: Hi Nan, It's not always convenient (or desired) to change php.ini settings directly, as these affect *all* php scripts on the server. You can do this on a script by script (or application by application) basis by using ini_set() http://nz.php.net/manual/en/function.ini-set.php For example, for the scripts you're using, you could add something like this in the class constructor instead of needing to alter php.ini directly: ini_set('memory_limit', '100M'); ini_set('post_max_size', '100M'); ini_set('file_uploads', 'On'); ini_set('upload_max_filesize', '100M'); :) Paul www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From bobm at dottedi.biz Tue Sep 1 16:07:26 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Tue, 01 Sep 2009 15:07:26 -0600 Subject: [thelist] post variable/value for date picker Message-ID: <4A9D8D0E.2040105@dottedi.biz> I found this sweet datepicker called Rich Calendar. I downloaded it, am trying to get a $_POST to work with the inline version but don't see how to set this up. The popup version works. The line that calls the function is:
I have it set to echo back the following: print_r($_POST); echo "
"; echo "POPUP Value: "; echo "$_POST[popup_cal_value]" How or where do I set the value/variable for the inline cal? Somewhere in the inline javascript? See my demo at: www.dottedi.biz/codesamples/datepickers/my-cal.php -- Bob From nan at nanharbison.com Tue Sep 1 16:10:52 2009 From: nan at nanharbison.com (Nan Harbison) Date: Tue, 1 Sep 2009 17:10:52 -0400 Subject: [thelist] file upload class problems In-Reply-To: References: <4a9d6011.01025a0a.1d70.ffff8d83@mx.google.com> Message-ID: This is really helpful, I am not an expert on the ini file stuff. I also need to set the time out, as Jeremy suggested because some of these files are ridiculously large, the biggest one so far is 65 MB, which seems really ridiculous, so the timeout has to be huge, this file is taking over an hour for me to upload using an ftp program! If I don't set a large timeout time, the server still chokes on the upload. Thanks for your help. Nan -----Original Message----- From: Paul Bennett [mailto:Paul.Bennett at mch.govt.nz] Sent: Tuesday, September 01, 2009 3:52 PM To: thelist at lists.evolt.org; nan at nanharbison.com Subject: RE: [thelist] file upload class problems Hi Nan, It's not always convenient (or desired) to change php.ini settings directly, as these affect *all* php scripts on the server. You can do this on a script by script (or application by application) basis by using ini_set() http://nz.php.net/manual/en/function.ini-set.php For example, for the scripts you're using, you could add something like this in the class constructor instead of needing to alter php.ini directly: ini_set('memory_limit', '100M'); ini_set('post_max_size', '100M'); ini_set('file_uploads', 'On'); ini_set('upload_max_filesize', '100M'); :) Paul www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From evolt_org at striderweb.com Tue Sep 1 16:44:23 2009 From: evolt_org at striderweb.com (Stephen Rider) Date: Tue, 1 Sep 2009 16:44:23 -0500 Subject: [thelist] recommend Drupal devs? (Chicago area preferred) Message-ID: Hi All -- I was wondering if anyone could recommend a good Drupal developer, preferably in the Chicago area? Having issues with the people who did our site, and may have to get new devs. Thanks, Stephen R From bobm at dottedi.biz Tue Sep 1 18:08:19 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Tue, 01 Sep 2009 17:08:19 -0600 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... Message-ID: <4A9DA963.90306@dottedi.biz> This is a fairly robust database of around 360000 records in the table and 35 fields per record. If I do "select * from $table" I get the system message: Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... I can limit the select to somewhere just above 97000 records and it succeeds. Also if I only select a few fields but all the data it runs fine. So the question, is there an internal limit or is possible that there is some corrupt (?) data that is causing the failure? -Bob From admin at chrome.me.uk Tue Sep 1 18:18:56 2009 From: admin at chrome.me.uk (Chrome) Date: Wed, 2 Sep 2009 00:18:56 +0100 Subject: [thelist] post variable/value for date picker In-Reply-To: <4A9D8D0E.2040105@dottedi.biz> References: <4A9D8D0E.2040105@dottedi.biz> Message-ID: <01a701ca2b5a$942dc900$bc895b00$@me.uk> > I found this sweet datepicker called Rich Calendar. I downloaded it, > am > trying to get a $_POST to work with the inline version but don't see > how to set this up. The popup version works. The line that calls the > function is: > >
> > I have it set to echo back the following: > > print_r($_POST); > echo "
"; > echo "POPUP Value: "; > echo "$_POST[popup_cal_value]" > > How or where do I set the value/variable for the inline cal? Somewhere > in the inline javascript? See my demo at: > www.dottedi.biz/codesamples/datepickers/my-cal.php > > -- > Bob Hi Just a thought but maybe you could replace this line: alert('Date selected: ' + cal.get_formatted_date()); With this line: document.getElementById('text_field').value = cal.get_formatted_date()); In the function called cal_on_change_dummy HTH Dan From hassan.schroeder at gmail.com Tue Sep 1 18:28:11 2009 From: hassan.schroeder at gmail.com (Hassan Schroeder) Date: Tue, 1 Sep 2009 16:28:11 -0700 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... In-Reply-To: <4A9DA963.90306@dottedi.biz> References: <4A9DA963.90306@dottedi.biz> Message-ID: <4eedb92a0909011628g5a347247ybe9264eb8dab10db@mail.gmail.com> On Tue, Sep 1, 2009 at 4:08 PM, Bob Meetin wrote: > Warning: mysql_query() [function.mysql-query]: Unable to save result set > in ... Looks like a PHP message; what happens when you do the same query from the command line? -- Hassan Schroeder ------------------------ hassan.schroeder at gmail.com twitter: @hassan From bobm at dottedi.biz Tue Sep 1 18:36:48 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Tue, 01 Sep 2009 17:36:48 -0600 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... In-Reply-To: <4eedb92a0909011628g5a347247ybe9264eb8dab10db@mail.gmail.com> References: <4A9DA963.90306@dottedi.biz> <4eedb92a0909011628g5a347247ybe9264eb8dab10db@mail.gmail.com> Message-ID: <4A9DB010.3010804@dottedi.biz> Hassan Schroeder wrote: > On Tue, Sep 1, 2009 at 4:08 PM, Bob Meetin wrote: > > >> Warning: mysql_query() [function.mysql-query]: Unable to save result set >> in ... >> Looks like a PHP message; what happens when you do the same >> query from the command line? > It runs, seemingly forever, of course. Enough to perhaps get a call from hostgator if I don't halt it. a PHP limit? From hassan.schroeder at gmail.com Tue Sep 1 19:01:07 2009 From: hassan.schroeder at gmail.com (Hassan Schroeder) Date: Tue, 1 Sep 2009 17:01:07 -0700 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... In-Reply-To: <4A9DB010.3010804@dottedi.biz> References: <4A9DA963.90306@dottedi.biz> <4eedb92a0909011628g5a347247ybe9264eb8dab10db@mail.gmail.com> <4A9DB010.3010804@dottedi.biz> Message-ID: <4eedb92a0909011701q29b5ceffsee005488014abb1e@mail.gmail.com> On Tue, Sep 1, 2009 at 4:36 PM, Bob Meetin wrote: >> It runs, seemingly forever, of course. Enough to perhaps get a call from hostgator if I don't halt it. > a PHP limit? Dunno about PHP. If you think there might be corruption in your table, MySQL has tools to check that. If the message is from PHP, "unable to save" might mean a memory or disk allocation problem -- just a guess. -- Hassan Schroeder ------------------------ hassan.schroeder at gmail.com twitter: @hassan From joel at bizba6.com Tue Sep 1 21:50:28 2009 From: joel at bizba6.com (Joel Canfield) Date: Tue, 1 Sep 2009 19:50:28 -0700 Subject: [thelist] selling a domain name Message-ID: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> Looking for pointers I can pass along to a friend about selling a domain name. (I'm not sharing the name yet because I haven't asked him if he wants to publicise the fact that he's selling.) It's a dot com, the name of his band which was wildly successful in Vegas for 38 years. They all retired from full time showbiz two years ago, and he thinks it's time to let it go, but would prefer not to just drop the domain name he's had for quite a few years (obviously not 38 ;) I'm going to suggest that he post a message on the site for any fans who might want to take it over as a fan site. Any suggestions for making a rational valuation, services to use/not use, things he ought to think about, avoid, or plant in the basement? joel -- Joel at Bizba6.com http://BusinessHeretics.com/ From rob at rob-n-steph.net Tue Sep 1 22:29:37 2009 From: rob at rob-n-steph.net (Robert Lee) Date: Tue, 1 Sep 2009 23:29:37 -0400 Subject: [thelist] selling a domain name In-Reply-To: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> References: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> Message-ID: <014401ca2b7d$9afd7a50$d0f86ef0$@net> The fan site idea is a great one. If there are any fan sites that already exist, he may be able to give the domain to them as well. You might also post at http://www.webhostingtalk.com/ Specifically in the domain section. You should be able to get some good direction there. HTH, Rob -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel Canfield Sent: Tuesday, September 01, 2009 10:50 PM To: thelist at lists.evolt.org Subject: [thelist] selling a domain name Looking for pointers I can pass along to a friend about selling a domain name. (I'm not sharing the name yet because I haven't asked him if he wants to publicise the fact that he's selling.) It's a dot com, the name of his band which was wildly successful in Vegas for 38 years. They all retired from full time showbiz two years ago, and he thinks it's time to let it go, but would prefer not to just drop the domain name he's had for quite a few years (obviously not 38 ;) I'm going to suggest that he post a message on the site for any fans who might want to take it over as a fan site. Any suggestions for making a rational valuation, services to use/not use, things he ought to think about, avoid, or plant in the basement? joel -- Joel at Bizba6.com http://BusinessHeretics.com/ -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From david at gigawatt.com Wed Sep 2 00:05:08 2009 From: david at gigawatt.com (David Kaufman) Date: Wed, 02 Sep 2009 01:05:08 -0400 Subject: [thelist] selling a domain name In-Reply-To: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> References: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> Message-ID: <4A9DFD04.9020003@gigawatt.com> Hi Joel, Joel Canfield wrote: > Looking for pointers I can pass along to a friend about selling a domain > name [...] Any suggestions for making a rational valuation, Impossible. Worth what the market will bear, and all that. > services to use/not use, I've used, and wholeheartedly recommend Sedo.com for selling domain names, should he decide to sell it for any significant sum in an arm-length transaction (i.e. to someone he does not know, trust and.or have recourse against, should try to pull a fast one). They have the only system I've seen for correctly brokering domain transfers in a way that protects both the buyer and seller. They actually do what other escrow services claim to do, but usually fail to do (at least in the case of domain names), which is technically and irrevocably assume control of both the funds and the domain name before releasing either to the parties of the sale. > things he ought to think about, avoid, or plant in the basement? Sounds like this is a domain with a lot of personal sentimental value that he might really regret letting go of on down the road. Why not use Network Solutions 99 year domain registration service, park some archival content on it and wait for the revival (or the reunion tour) years from now? It might be worth much more in the future -- Sedo also lets you list a domain for sale (along with its site/content) and allow bidders to come to him, for as long as it takes to get an offer he feels is fair? hth, -dave From joel at bizba6.com Wed Sep 2 00:14:50 2009 From: joel at bizba6.com (Joel Canfield) Date: Tue, 1 Sep 2009 22:14:50 -0700 Subject: [thelist] selling a domain name In-Reply-To: <4A9DFD04.9020003@gigawatt.com> References: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> <4A9DFD04.9020003@gigawatt.com> Message-ID: <619d00930909012214o213e88e4n61334f2e3d22165d@mail.gmail.com> > > Sounds like this is a domain with a lot of personal sentimental value > that he might really regret letting go of on down the road. thanks (and to Robert) for the suggestions and linkage. I'll pass it all along. joel From tonyc at boldfish.co.uk Wed Sep 2 01:06:20 2009 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Wed, 2 Sep 2009 07:06:20 +0100 Subject: [thelist] selling a domain name In-Reply-To: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> References: <619d00930909011950s7758ccbnb380e51b176bbe0d@mail.gmail.com> Message-ID: On 2 Sep 2009, at 03:50, Joel Canfield wrote: > Looking for pointers I can pass along to a friend about selling a > domain > name. (I'm not sharing the name yet because I haven't asked him if > he wants > to publicise the fact that he's selling.) you might try an auction on Flippa: http://flippa.com/ (run by sitepoint) From marun2 at gmail.com Wed Sep 2 12:33:16 2009 From: marun2 at gmail.com (Mohan Arun L) Date: Wed, 2 Sep 2009 23:03:16 +0530 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... Message-ID: >>If I do "select * from $table" I get the system message: >>Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... >>there is some corrupt (?) data that is causing the failure? Most probably - corrupt table structure. First try running the same query using a restricting WHERE clause (so it returns very few rows), if you dont get mysql error then the permissions are correct. Then use phpMyAdmin to repair the table. Source: http://www.fasthostinghelp.com/error-message-warning-mysql-t121.html?s=29d4c2c3194c2b3cd8c173fa912754f5& -------------------------------------- www.webdesignexpert.me www.mohanarun.com From marun2 at gmail.com Wed Sep 2 12:20:39 2009 From: marun2 at gmail.com (Mohan Arun L) Date: Wed, 2 Sep 2009 22:50:39 +0530 Subject: [thelist] selling a domain name Message-ID: Check out this sitepoint thread http://www.sitepoint.com/blogs/2009/08/24/10-places-to-sell-your-web-site/ There are many places to sell a website : bido, sitedeal.org, dnforum, webmastersmarketplace.com, namedrive, snapnames,dealasite, site-for-sale.net, buydomains.com (the biggest one), godaddy auctions, sitepoint marketplace... To estimate website value: estimatewebsitevalue.com http://www.domaingrower.com/appraisal.htm u2ws.com pufip.com valuatemysite.com Your friend may also goin for professional domain name appraisal (godaddy) for a domain that is many years old and established, if he's gonna sell it. But again, this being a music band site he may want to give it over to a fellow music enthusiast who can maintain the site as part of a JV. --------------------------------------------------- www.webdesignexpert.me www.mohanarun.com From bobm at dottedi.biz Wed Sep 2 17:58:06 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Wed, 02 Sep 2009 16:58:06 -0600 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... In-Reply-To: References: Message-ID: <4A9EF87E.9040704@dottedi.biz> Mohan Arun L wrote: >>> If I do "select * from $table" I get the system message: >>> Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... >>> there is some corrupt (?) data that is causing the failure? >>> > > Most probably - corrupt table structure. > First try running the same query using a restricting WHERE clause (so > it returns very few rows), if you dont get mysql error then the > permissions are correct. Then use phpMyAdmin to repair the table. > Source: > http://www.fasthostinghelp.com/error-message-warning-mysql-t121.html?s=29d4c2c3194c2b3cd8c173fa912754f5& > > -------------------------------------- > www.webdesignexpert.me > www.mohanarun.com > If I run any select from the mysql prompt (SSH access) the results are fine. It is only when I attempt this via a PHP script interface. I did a couple samples queries where I changed the order (from desc to asc) and set limits to around 97000-98000 from either direction with similar results. It always breaks in that vicinity. Hassan suggested this may also be a PHP limit which I can check in the PHP.ini file. This makes sense according to what I found in switching the order and the tests. The reality here is that although there are 360000+ records in the DB, the max query size would probably not approach 5000. Thx, Bob From bobm at dottedi.biz Thu Sep 3 10:30:45 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Thu, 03 Sep 2009 09:30:45 -0600 Subject: [thelist] custom order / credit card processing / downloadable Message-ID: <4A9FE125.4000006@dottedi.biz> Just a wee bit of brainstorming here with a new project. * The product is information and will change dynamically for each/every customer and instance. * The customer will choose from an a-la-carte list then an algorithm will be applied to calculate the charge. * He/she go through the checkout and pays. * Customer will get access to the downloadable output. Payment options - the client would prefer using a true payment gateway and offer regular choices as opposed to forcing the customer to register with a use PayPal. Perhaps authorize.net or www.cdgcommerce.com? I will use Joomla CMS for the website which gives access to Virtuemart eCommerce. Regardless whether it is VM or PayPal, I'm sure that I can dynamically (on the fly) create a product as soon as the customer agrees to make the purchase then take that makeshift product through the cart process and eventually to the payment Gateway. Although a product/SKU is created I can probably keep it hidden from public view by not providing access via a search, product list, category tree, etc. Does this sound like a reasonable route with a product that dynamically changes? Any comments or ideas? -- Bob Meetin www.dottedi.biz 303-926-0167 On www.Twitter.com/bobmeetin, Facebook, www.linkedin.com/in/bobmeetin, or catch my blog at www.dottedi.biz/blog.php Standards - you gotta love em - with so many to choose from! From dan at danromanchik.com Thu Sep 3 14:48:22 2009 From: dan at danromanchik.com (Dan Romanchik) Date: Thu, 3 Sep 2009 15:48:22 -0400 Subject: [thelist] Any Moodle Experts? In-Reply-To: References: <29A4153D-5EE3-4D6A-B40C-C67422B1146C@danromanchik.com> <34790F70-A72F-4222-9C79-89217EEB74D0@danromanchik.com> Message-ID: fyi, I got the sysadmin at the web hosting company involved. He changed "sessioncookiepath" in the database table "mdl_config" from / tmp to /, and things started working correctly. That doesn't make a lot of sense to me (/tmp seems to be the proper place to put temporary files, such as those that handle sessions), but that was the fix. Thanks again for your help... Dan On Sep 1, 2009, at 3:24 PM, Dean Mah wrote: > Hmmm.... I've never used the session-test script. I would still check > to make sure that the session information is correct. Find your > session save_path in the php.ini file or wherever that it may have > been overridden. Check to make sure that non-empty session files are > being created there. Check their content to ensure the session > corresponds to your cookie. Try using watching the live headers in the > browser to see that the cookie is being passed back and forth. > > Dean > > > On Tue, Sep 1, 2009 at 7:08 AM, Dan Romanchik > wrote: >> Hi, Dean-- >> >> Thanks for your message. >> >> It sounded like a session/cookie problem to me, too, but apparently >> it's not. I did find out that there's session test script at /lib/ >> session-test.php. When I run that, it tells me that sessions are >> running correctly. >> >> I've search the Moodle forums, but haven't really found anything like >> this problem. I've also entered items in the General Problems forum >> and the Installation forums, but haven't gotten any replies there. >> >> Dan >> >> On Aug 31, 2009, at 5:19 PM, Dean Mah wrote: >>> Sounds like a session/cookie problem. Search the moodle bug tracker >>> for those keywords and hopefully it is a known problem. Also make >>> sure that you are allowing cookies for the domain that you have >>> moodle >>> 1.8.9 installed on. >>> >>> Dean >>> >>> >>> On Mon, Aug 31, 2009 at 3:09 PM, Dan Romanchik >>> wrote: >>>> I'm having some trouble with a 1.8.9 updgrade. >>>> >>>> Sometimes it lets me login, sometimes not. When It does let me >>>> login, >>>> it usually logs me out as soon as I click on anything. >>>> >>>> I still have the old installation (1.8+) installed on this server, >>>> and >>>> it seems to be working just fine. >>>> >>>> I'm at my wit's end here, and would even be willing to pay >>>> someone to >>>> fix this or advise me on what's wrong. >>>> >>>> Dan Romanchik > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! From mydarb at gmail.com Fri Sep 4 03:11:53 2009 From: mydarb at gmail.com (Brady Mitchell) Date: Fri, 4 Sep 2009 01:11:53 -0700 Subject: [thelist] Warning: mysql_query() [function.mysql-query]: Unable to save result set in ... In-Reply-To: <4A9EF87E.9040704@dottedi.biz> References: <4A9EF87E.9040704@dottedi.biz> Message-ID: <43f7a9ca0909040111m5ae6c1ft7a38d6e75a4b32c3@mail.gmail.com> > If I run any select from the mysql prompt (SSH access) the results are > fine. > > It is only when I attempt this via a PHP script interface. ?I did a > couple samples queries where I changed the order (from desc to asc) and > set limits to around 97000-98000 from either direction with similar > results. ?It always breaks in that vicinity. With that many results, you're probably exceeding the memory limit or max execution time. http://us3.php.net/manual/en/ini.core.php#ini.memory-limit http://us3.php.net/manual/en/info.configuration.php#ini.max-execution-time Both of these can be set on a per-script basis using ini_set (http://us3.php.net/manual/en/function.ini-set.php). If you need to deal with that much data through PHP, you'll need to setup pagination so that it will be within reasonable memory/time/page load time limits. Brady From Paul.Bennett at mch.govt.nz Sun Sep 6 21:18:43 2009 From: Paul.Bennett at mch.govt.nz (Paul Bennett) Date: Mon, 7 Sep 2009 14:18:43 +1200 Subject: [thelist] cross platform PGP Message-ID: Hi all, I'm looking to encrypt data on a USB drive using PGP. Reality: I use Mac at home, Windows at work. I use a USB drive to transfer files to / from when required but I don't want to risk losing the USB drive and having the data available by the 'finder' Theory: I can use PGP to encrypt the data on the drive, store a copy of the key on my work and home computers and then encrypt and decrypt as needed. Trouble is I haven't found a PGP client which works cross platform. Portable PGP is java based but oddly enough doesn't work on Mac (even with Java installed). Does anyone know of a decent cross platform PGP encryption / decryption / signing client? Paul www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From lord.icervantes at gmail.com Sun Sep 6 23:57:34 2009 From: lord.icervantes at gmail.com (=?ISO-8859-1?Q?Iv=E1n_Cervantes?=) Date: Sun, 6 Sep 2009 23:57:34 -0500 Subject: [thelist] cross platform PGP In-Reply-To: References: Message-ID: Maybe gpg works for you. http://www.gnupg.org/ On Sun, Sep 6, 2009 at 9:18 PM, Paul Bennett wrote: > Hi all, > > > > I'm looking to encrypt data on a USB drive using PGP. > > Reality: > > I use Mac at home, Windows at work. > > I use a USB drive to transfer files to / from when required but I don't > want to risk losing the USB drive and having the data available by the > 'finder' > > > > Theory: > > I can use PGP to encrypt the data on the drive, store a copy of the key > on my work and home computers and then encrypt and decrypt as needed. > > > > Trouble is I haven't found a PGP client which works cross platform. > Portable PGP is java based but oddly enough doesn't work on Mac (even > with Java installed). > > Does anyone know of a decent cross platform PGP encryption / decryption > / signing client? > > > > Paul > > > www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - > www.nzlive.com > > The information contained in this email message does not necessarily > reflect the views of the Ministry for Culture and Heritage and may contain > information that is confidential or subject to legal privilege. If you are > not the intended recipient and receive this email in error: please notify > the Ministry for Culture and Heritage by return email or telephone (64 4 499 > 4229) and delete this email; you must not use, disclose, copy or distribute > this message or the information in it. > > PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL > > > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > -- Iv?n Cervantes