phpslash-users Mailing List for phpSlash (Page 7)
Brought to you by:
joestewart,
nhruby
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(142) |
Oct
(179) |
Nov
(175) |
Dec
(73) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(94) |
Feb
(139) |
Mar
(121) |
Apr
(133) |
May
(161) |
Jun
(140) |
Jul
(128) |
Aug
(40) |
Sep
(32) |
Oct
(47) |
Nov
(81) |
Dec
(55) |
2002 |
Jan
(79) |
Feb
(50) |
Mar
(65) |
Apr
(98) |
May
(79) |
Jun
(12) |
Jul
(19) |
Aug
(65) |
Sep
(37) |
Oct
(41) |
Nov
(39) |
Dec
(5) |
2003 |
Jan
(29) |
Feb
(46) |
Mar
(77) |
Apr
(54) |
May
(20) |
Jun
(19) |
Jul
(3) |
Aug
(9) |
Sep
(10) |
Oct
(10) |
Nov
(40) |
Dec
(17) |
2004 |
Jan
(1) |
Feb
|
Mar
(14) |
Apr
(3) |
May
(8) |
Jun
|
Jul
(3) |
Aug
|
Sep
(13) |
Oct
(5) |
Nov
(5) |
Dec
|
2005 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
2006 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Joe S. <joe...@us...> - 2003-05-22 21:09:58
|
Well things have been quiet on the list so here's a few discussion topics. A. phpSlash 0.7.2 released. Besides bugfixes and code modifications to reduce php warnings, there are a few items to note. 1. the mailinglist works much better. Many thanks to Luis. 2. The block options can now be specified with default values in a select or radio box as well as a regular text input field. Here is a picture if thats' not clear: http://www.phpslash.org/images/screenshots/block_options.jpg Note the column and width block options. 3. Block access is a little more optimized. B. phpSlash theme design contest. Hopefully Trollboy will have something on this soon. Seems like a fun thing to do. C. Theme downloads and repository. The phpslash-skins cvs tree contains some skins from other projects as well as Peter's ShankZen. They can be downloaded here: http://prdownloads.sourceforge.net/phpslash/phpslash-skins-0.7.1alpha.tar.gz?download These are not fully tested or optimized. Please submit any fixes back via the sf.net patch manager. D. Future development - The phpslash-dev cvs tree has been started for future phpslash development. This code has many changes to allow site flexibility and module installation. It is in early stages of planning however it is mostly operational. User input and testing is appreciated. E. Feel free to suggest new feature requests or gripes. The sf.net RFE and bug managers are the places for that. thanks, Joe |
From: Lars <la...@kv...> - 2003-05-15 22:29:05
|
Hi, Just downloaded the last version of the mailing list and crontab script and was very pleased to see it finally working again! However, there is one little bug in it still - it doesn't use the time zone stuff :o/ In my case, I'm located in Australia, my hosting server is on the east coast and my readers are all in Norway. This can give some unforeseen problems ;o) Since no cookies are used, wouldn't it be ok to use the site default for time zone in the news letter ? Also, would it be possible to specify which day you want output ? Some people might prefer running it at 23:55 to get today's stuff, while other might want to run it at 07:00 with yesterday's stuff. All in all - great work! Thanks, Lars |
From: Luis M <le...@ho...> - 2003-05-14 18:00:55
|
Since this error could happen easily, and the CACHEDATA is not that important, I was thinking we can have a "Repair CACHE table" button in the Admin page somewhere that basically drops the table and creates a new one (in one shot). what do you think ? of course, it would have to check if it has permissions for droping and creating tables first. And if not, then use a different user/password... (a la phpgroupware). >On Mon, May 12, 2003 at 08:48:46PM -0400, Luis M wrote: > > > > This is the error I got presented with when doing a regular check on my >own > > website after restoring the site from a nightly backup: > > > > Database error: Invalid SQL: delete from CACHEDATA where CACHEKEY LIKE > > "%-slashSess-3f74954be3f20e903ae3a1eeb7f7419d%" > > MySQL Error: 1016 (Can't open file: 'CACHEDATA.MYD'. (errno: 145)) > > Session halted. > > > >This indicates a corrupt table I think. ----)(----- Luis Mondesi System Administrator LatinoMixed.com le...@ho... "...The Mac does this so smoothly, it feels like an extension of your mind." - Paula Speer, MacWorld Magazine 2003-04 Public signature: http://www.latinomixed.com/lems1/public-a.asc _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp |
From: Joe S. <joe...@us...> - 2003-05-13 18:33:56
|
On Mon, May 12, 2003 at 08:48:46PM -0400, Luis M wrote: > > This is the error I got presented with when doing a regular check on my own > website after restoring the site from a nightly backup: > > Database error: Invalid SQL: delete from CACHEDATA where CACHEKEY LIKE > "%-slashSess-3f74954be3f20e903ae3a1eeb7f7419d%" > MySQL Error: 1016 (Can't open file: 'CACHEDATA.MYD'. (errno: 145)) > Session halted. > This indicates a corrupt table I think. |
From: Luis M <le...@ho...> - 2003-05-13 01:22:25
|
My solution for this... connect to mysql and do: drop table CACHEDATA then from command line create a file .sql with just the information on how to build the cachedata table and : mysql -u USER -p DATABASE < cachedata.sql I hope that helps somebody out there > >This is the error I got presented with when doing a regular check on my own >website after restoring the site from a nightly backup: > >Database error: Invalid SQL: delete from CACHEDATA where CACHEKEY LIKE >"%-slashSess-3f74954be3f20e903ae3a1eeb7f7419d%" >MySQL Error: 1016 (Can't open file: 'CACHEDATA.MYD'. (errno: 145)) >Session halted. > > >I fixed it by deleting the cookies from Mozilla 1.3 related to my own site. >Should that error be, say, coming from phpslash.org (or even slashdot.org), >I would never thought that my own cookies had something to do with it. > >Something should be done to jpcache so that it can recover from this type >of errors by itself. And yes, I tried making $cachetimeout=-1 before >deleting the cookies. > >This is the first time I see this error, I just hope no other user who >regularly visits my website ever sees this. > >Any input on this subject? ----)(----- Luis Mondesi System Administrator LatinoMixed.com le...@ho... "...The Mac does this so smoothly, it feels like an extension of your mind." - Paula Speer, MacWorld Magazine 2003-04 Public signature: http://www.latinomixed.com/lems1/public-a.asc _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp |
From: Luis M <le...@ho...> - 2003-05-13 00:48:52
|
This is the error I got presented with when doing a regular check on my own website after restoring the site from a nightly backup: Database error: Invalid SQL: delete from CACHEDATA where CACHEKEY LIKE "%-slashSess-3f74954be3f20e903ae3a1eeb7f7419d%" MySQL Error: 1016 (Can't open file: 'CACHEDATA.MYD'. (errno: 145)) Session halted. I fixed it by deleting the cookies from Mozilla 1.3 related to my own site. Should that error be, say, coming from phpslash.org (or even slashdot.org), I would never thought that my own cookies had something to do with it. Something should be done to jpcache so that it can recover from this type of errors by itself. And yes, I tried making $cachetimeout=-1 before deleting the cookies. This is the first time I see this error, I just hope no other user who regularly visits my website ever sees this. Any input on this subject? ----)(----- Luis Mondesi System Administrator LatinoMixed.com le...@ho... "...The Mac does this so smoothly, it feels like an extension of your mind." - Paula Speer, MacWorld Magazine 2003-04 Public signature: http://www.latinomixed.com/lems1/public-a.asc _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp |
From: Tigran <ti...@us...> - 2003-05-13 00:42:41
|
At 10:51 AM 5/2/2003, you wrote: >I would second the recomendation of "O'Reilly's _mSQL & MySQL_". Mine's >quite well worn and always open on my desk. Also "database design for mere >mortals". Funny you mention database design for mere mortals I just saw that on Amazon, was looking through the pages. I think I'll buy it now. >I live in Orange County, is that close enough to LA for you? :) I'd be >interested. Is this just a small contract job? I think Orange County is close enough. I'll email you off the list. >----- Original Message ----- >From: "Tigran" <ti...@us...> >To: <php...@li...> >Sent: Friday, May 02, 2003 1:19 AM >Subject: [phpslash-users] OT -- MySQL/general database info > > > > Sorry about the off topic post. > > If posts like this are strictly against the rules please let me know. > > > > I'm looking for a good book on database creation. > > I'd like to make my own database in MySQL but I'm not sure how to go about >it. > > How data should be organized and such. > > I'm looking for a book that's more about databases then MySQL itself. > > What book do you recommend? > > > > More specifically I need to create a database of devices that are stored >in > > an XY grid. The database must keep the XY location and lots of other > > information that goes with each device. > > > > sorry one more thing. If anybody on this list is from the Los Angeles area > > and would like a job designing a database + PHP web interface drop me an >email. > > > > Your help is greatly appreciated. > > Thank you > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > phpslash-users mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpslash-users > > |
From: Tigran <ti...@us...> - 2003-05-13 00:34:48
|
At 06:05 AM 5/2/2003, you wrote: >On Fri, 2 May 2003, Tigran wrote: > > > Sorry about the off topic post. > > If posts like this are strictly against the rules please let me know. > > > >Eh.. we like tangents. :) > > > I'm looking for a good book on database creation. > > I'd like to make my own database in MySQL but I'm not sure how to go > about it. > > How data should be organized and such. > > I'm looking for a book that's more about databases then MySQL itself. > > What book do you recommend? > > > >Your local college bookstore should have plenty of DB theory/design books >that would probably be worth a read if you wanted to know many of the >fundamentals. I'm partial to O'Reilly's _mSQL & MySQL_ which takes a >looks at some basic db design stuff, and then applies those principals to >building databses with both MySQl and mSQL (which is nice for a >point-counterpoint kind of thought process, making you see what's MySQL >specific, etc..) It also covers some very light php, perl, and other >tools to create frontends. There are tons others, slashdot has reviewd a >few LAMP/datadriven web app books as well. Try books.slashdot.org > > > More specifically I need to create a database of devices that are stored in > > an XY grid. The database must keep the XY location and lots of other > > information that goes with each device. > > > >Err.. that sounds like a spreadsheet. Db's aren't spreadsheets. You can >populate a spreadsheet with a db, and can probably do a simple XY grid, >though I think that would be limiting. Ahhh forgot yes it actually is an XY grip but there are hundreds of these XY grids which make it hard to keep track of in excel. Which is how they are stored now. I am thinking putting it into a database will make it easer. Right now when we need to find anything we have to go through several excel files, in a database a simple quarry should fix the problem. >-n >-- >------ >nathan hruby >na...@ds... >------ |
From: Tigran <ti...@us...> - 2003-05-13 00:29:15
|
At 06:05 AM 5/2/2003, you wrote: >On Fri, 2 May 2003, Tigran wrote: > > > Sorry about the off topic post. > > If posts like this are strictly against the rules please let me know. > > > >Eh.. we like tangents. :) > > > I'm looking for a good book on database creation. > > I'd like to make my own database in MySQL but I'm not sure how to go > about it. > > How data should be organized and such. > > I'm looking for a book that's more about databases then MySQL itself. > > What book do you recommend? > > > >Your local college bookstore should have plenty of DB theory/design books >that would probably be worth a read if you wanted to know many of the >fundamentals. I'm partial to O'Reilly's _mSQL & MySQL_ which takes a >looks at some basic db design stuff, and then applies those principals to >building databses with both MySQl and mSQL (which is nice for a >point-counterpoint kind of thought process, making you see what's MySQL >specific, etc..) It also covers some very light php, perl, and other >tools to create frontends. There are tons others, slashdot has reviewd a >few LAMP/datadriven web app books as well. Try books.slashdot.org sorry for not getting back sooner. I checked the library and found lots of interesting books on database design. I have two checked out Database Solutions by Thomas Connolly and Database Development for Dummies by Allen G. Taylor. I actually just finished reading O'Reilly's mSQL & MySQL. A good book overall but I found it a bit outdated and not very detailed as to how someone should start the database design. The one I read was published in 1999 so maybe they have a new one, I'll see if I can find it. > > More specifically I need to create a database of devices that are stored in > > an XY grid. The database must keep the XY location and lots of other > > information that goes with each device. > > > >Err.. that sounds like a spreadsheet. Db's aren't spreadsheets. You can >populate a spreadsheet with a db, and can probably do a simple XY grid, >though I think that would be limiting. > >-n >-- >------ >nathan hruby >na...@ds... >------ |
From: ScriptsIndex.com <su...@sc...> - 2003-05-05 03:04:29
|
Dear The PHPSlash Team, We, the developers of ScriptsIndex.com, have decided that your resource, PHPSlash, is qualified enough to be listed in our brand-new resource directory. We ask that you take the time (should take less than a minute) to add PHPSlash to our database. All listings are 100% free, and no user registrations are required. This directory is designed to benefit you, the developer, and the millions of webmasters that are looking to improve their websites by using exceptional resources such as yours. If you would like to add your resource, simply copy and paste the following URL to your browser: http://www.scriptsindex.com/add.php?autofill=4197 We appreciate your time, and hope that you choose to join our new directory. Thank you and have a nice day. Sincerely, ScriptsIndex.com Developement Team su...@sc... http://www.scriptsindex.com/ |
From: ALYAKOUBI CORP. <aly...@ma...> - 2003-05-04 11:18:12
|
Dear Sir, We have some USB Flash disk stock lots for sell. At the same time, we can offer you MP3+USB Flash disk, card reader, hard disk case, TV game.Please review our website for pictures: www.isav.com.cn. We welcome your inquiry for further details. Best regards! Susan Song, Overseas Dept. TOPBAND ELECTRONICS & TECHNOLOGY CO.,LTD 4/F, B Block Tsinghua University Institute, Hi-Tech Industrial Park, Shenzhen, 518057, China Direct line: 0086-755-26719852 Email: aly...@ma... / sus...@to... Website: www.isav.com.cn |
From: Joe S. <joe...@us...> - 2003-05-02 20:13:29
|
On Fri, May 02, 2003 at 03:30:32PM -0700, Siobahn Hotaling wrote: > Hi, > > I'm trying to install PHPSlash for the first time on my OpenBSD 3.2/Apache > 1.3.26/PHP 4.2.3 box. I initially didn't have the include pathset > correctly, so I got a bunch of include errors on the test.php page - but > otherwise, it looked okay. When I corrected the include path issue, > however, and then I went to the test.php page, all I got was a blank screen > with the following source: > Hello, Just some quick ideas before I go. Maybe someone can help more. > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=Content-Type content="text/html; > charset=windows-1252"></HEAD> > <BODY></BODY></HTML> > > If I mess up the include path in my php.ini file again (i.e. point it to > some random folder), I can see the test.php page, only with all the include > errors. So there is something wrong with my includes - when I point it to > the correct path, I can't see ANYTHING. I did check my local.inc file (and > the local4.inc file for good measure) to make sure that it had the database > info correct, but it looks really broken. > What are the include errors? > I followed the instructions on the site to a tee - however, I do have one > question that may have something to do with this problem. I installed > PHPLib separately and got it working, and then I noticed that there was a > phplib folder when I untarred my phpslash file, and that it had a bunch of > new files in it with a suffix of 4(i.e. local4.inc, etc.). So I tried > configuring my server and PHP to point to THAT folder, but the same problem > (blank screen) occurred. Should I be configuring the machine to look at > phpslash's phplib folder? Or was I correct the first time to configure it > for the original phplib install? > Do you have any need for phplib other than with phpSlash? If not, I suggest not trying to change any path settings and follow the "Quick Install". http://www.phpslash.org/article.php3?story_id=32&topic_id=39§ion_id=8#ss2.2 As you noticed phplib is preinstalled in the current release. There is no other configuration of phplib required for phpSlash. The local4.inc, etc use php4 sessions. > Any help would be much appreciated. I really want to make this thing work > and I have run out of ideas. > good luck, Joe > Thanks! > > |
From: Siobahn H. <si...@si...> - 2003-05-02 19:34:18
|
Hi, I'm trying to install PHPSlash for the first time on my OpenBSD 3.2/Apache 1.3.26/PHP 4.2.3 box. I initially didn't have the include pathset correctly, so I got a bunch of include errors on the test.php page - but otherwise, it looked okay. When I corrected the include path issue, however, and then I went to the test.php page, all I got was a blank screen with the following source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML> If I mess up the include path in my php.ini file again (i.e. point it to some random folder), I can see the test.php page, only with all the include errors. So there is something wrong with my includes - when I point it to the correct path, I can't see ANYTHING. I did check my local.inc file (and the local4.inc file for good measure) to make sure that it had the database info correct, but it looks really broken. I followed the instructions on the site to a tee - however, I do have one question that may have something to do with this problem. I installed PHPLib separately and got it working, and then I noticed that there was a phplib folder when I untarred my phpslash file, and that it had a bunch of new files in it with a suffix of 4(i.e. local4.inc, etc.). So I tried configuring my server and PHP to point to THAT folder, but the same problem (blank screen) occurred. Should I be configuring the machine to look at phpslash's phplib folder? Or was I correct the first time to configure it for the original phplib install? Any help would be much appreciated. I really want to make this thing work and I have run out of ideas. Thanks! |
From: nathan r. h. <na...@ds...> - 2003-05-02 13:51:32
|
On Fri, 2 May 2003, Tigran wrote: > Sorry about the off topic post. > If posts like this are strictly against the rules please let me know. > Eh.. we like tangents. :) > I'm looking for a good book on database creation. > I'd like to make my own database in MySQL but I'm not sure how to go about it. > How data should be organized and such. > I'm looking for a book that's more about databases then MySQL itself. > What book do you recommend? > Your local college bookstore should have plenty of DB theory/design books that would probably be worth a read if you wanted to know many of the fundamentals. I'm partial to O'Reilly's _mSQL & MySQL_ which takes a looks at some basic db design stuff, and then applies those principals to building databses with both MySQl and mSQL (which is nice for a point-counterpoint kind of thought process, making you see what's MySQL specific, etc..) It also covers some very light php, perl, and other tools to create frontends. There are tons others, slashdot has reviewd a few LAMP/datadriven web app books as well. Try books.slashdot.org > More specifically I need to create a database of devices that are stored in > an XY grid. The database must keep the XY location and lots of other > information that goes with each device. > Err.. that sounds like a spreadsheet. Db's aren't spreadsheets. You can populate a spreadsheet with a db, and can probably do a simple XY grid, though I think that would be limiting. -n -- ------ nathan hruby na...@ds... ------ |
From: Tigran <ti...@us...> - 2003-05-02 08:19:13
|
Sorry about the off topic post. If posts like this are strictly against the rules please let me know. I'm looking for a good book on database creation. I'd like to make my own database in MySQL but I'm not sure how to go about it. How data should be organized and such. I'm looking for a book that's more about databases then MySQL itself. What book do you recommend? More specifically I need to create a database of devices that are stored in an XY grid. The database must keep the XY location and lots of other information that goes with each device. sorry one more thing. If anybody on this list is from the Los Angeles area and would like a job designing a database + PHP web interface drop me an email. Your help is greatly appreciated. Thank you |
From: Joe S. <joe...@us...> - 2003-04-25 14:09:00
|
On Fri, Apr 25, 2003 at 02:07:45AM +1000, Lars wrote: > > > > This leads me to the following questions: > > > 1. How can a problem like this be allowed to crash a whole site ? > > > >The error condition was being logged for a period of time before the > >crash. Did > >the crash happen because the infolog table was full? > > I don't think so. The log had a lot of entries, but the site "came back" > when I deleted the rss feed block. > > >The rss blocks have three states for error logging specified by the error > >option: > > > >errors = on - always display errors > > off - never display errors > > debug - only display errors in debug mode [default] > > > >For all three the infolog is written if you have the Infolog turned on. > > I don't think the infolog is the problem. I didn't empty the infolog to get > the site back up, and even after the infolog is emptied there is nothing > being shown on the sites that show our rss feed. > I agree. > >Was there no cache time for this block? This would seem a performance > >bottleneck too. > > Guess you're right ;o) Didn't think too much about that since I ASSumed > blocks were only parsed for users who could see them. > I can understand your reasoning. > Even though the site is now up, infolog is cleared out etc etc there is no > rss feed. Got any good ideas ? > I can make up something for why the site wasn't responding. The rss block was attempting to read the nonexistent page every pageview. The timeout for this is pretty long. It's not too noticeable with a long cache. So it seems the site is not responding. In the past it was very obvious because the error message was shown in the block. This was not very nice because many rss feeds are malformed from time to time and generate errors. So now we give you the option of seeing the error message or just logging it. How's that :) Joe > Cheers, > > Lars > > |
From: Joe S. <joe...@us...> - 2003-04-25 14:02:37
|
On Thu, Apr 24, 2003 at 12:36:53PM -0700, Tigran wrote: > Comment problem fixed. > I had an old config.php file. > > i was upgrading from .7 to .7.1 so the db_xfer was done long ago. > > In config.php I have the following. > $menuitem[] = array( > 'name' => "Add Story", > 'link' => $_PSL['rooturl'] . "/submission.php", > 'perm' => "submissionNew", > 'module' => "Submission" > ); > > I changed 'perm' to nobody and its visible now. > But clicking on it goes to the login screen instead of the submissions screen. > > submission.php has the following > $auth->login_if(!$perm->have_perm('submissionNew')); > > I tried changing submissionNew to nobody but it didn't work. > In 0.7 this line is commented out. > It looks like 65_to_7.sql is missing this: INSERT INTO psl_group_permission_lut VALUES (109,20,12); You can either comment the line back out in submission.php, apply the mysql above, or add submissionNew to the nobody group ( group,edit nobody, ctrl-leftclick submissionNew, submit). thanks for pointing this out. Joe > > --tigran > > |
From: Tigran <ti...@us...> - 2003-04-24 19:37:09
|
Comment problem fixed. I had an old config.php file. i was upgrading from .7 to .7.1 so the db_xfer was done long ago. In config.php I have the following. $menuitem[] = array( 'name' => "Add Story", 'link' => $_PSL['rooturl'] . "/submission.php", 'perm' => "submissionNew", 'module' => "Submission" ); I changed 'perm' to nobody and its visible now. But clicking on it goes to the login screen instead of the submissions screen. submission.php has the following $auth->login_if(!$perm->have_perm('submissionNew')); I tried changing submissionNew to nobody but it didn't work. In 0.7 this line is commented out. --tigran At 08:44 AM 4/24/2003, you wrote: >On Wed, Apr 23, 2003 at 11:01:40PM -0700, Tigran wrote: > > After upgrading to 0.7.1 for some reason the submissions link isn't there. > > And for some reason comments to articles can not be submitted by just > > public viewers. It asks for a user name and password. > > > >It sounds like you didn't run the db_xfer script. > >http://www.phpslash.org/article.php3?story_id=31&topic_id=39§ion_id=8#ss3.3 > > > I'd like to make the site totally public with no usernames for reply > > comments to articles and public article submissions. > > > >The author/group changes made by the db_xfer script should allow public >comments. If this doesn't clear up the submissions also, let us know. > >Joe > > > Thanks in advance for the help. > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >phpslash-users mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/phpslash-users |
From: Lars <la...@kv...> - 2003-04-24 16:07:53
|
> > This leads me to the following questions: > > 1. How can a problem like this be allowed to crash a whole site ? > >The error condition was being logged for a period of time before the >crash. Did >the crash happen because the infolog table was full? I don't think so. The log had a lot of entries, but the site "came back" when I deleted the rss feed block. >The rss blocks have three states for error logging specified by the error >option: > >errors = on - always display errors > off - never display errors > debug - only display errors in debug mode [default] > >For all three the infolog is written if you have the Infolog turned on. I don't think the infolog is the problem. I didn't empty the infolog to get the site back up, and even after the infolog is emptied there is nothing being shown on the sites that show our rss feed. >Was there no cache time for this block? This would seem a performance >bottleneck too. Guess you're right ;o) Didn't think too much about that since I ASSumed blocks were only parsed for users who could see them. Even though the site is now up, infolog is cleared out etc etc there is no rss feed. Got any good ideas ? Cheers, Lars |
From: Joe S. <joe...@us...> - 2003-04-24 15:45:06
|
On Thu, Apr 24, 2003 at 05:13:17PM +1000, Lars wrote: > Hey, all! > > I just went through something that seemed particularly nasty to me, and it > caused my site to go down for almost 24 hours. The fault looked like it was > caused by a dead httpd, but when I tried to reconstruct my site on a fresh > install I found the culprit - my rss feed, which I display on my own site > (only for logged in root users) made all pages with blocks on them > inaccessible to *all* users. This, however, was not apparent until I found > the problem. > > The following error in the logs (Error in source file:rdfparser::parse_file > could not open http://www.pda-nytt.no/backend.php3?d=0 ) lead me in the > right direction. For some reason it's all over my logs, so it cannot be a > "new" problem. > > This leads me to the following questions: > 1. How can a problem like this be allowed to crash a whole site ? The error condition was being logged for a period of time before the crash. Did the crash happen because the infolog table was full? The rss blocks have three states for error logging specified by the error option: errors = on - always display errors off - never display errors debug - only display errors in debug mode [default] For all three the infolog is written if you have the Infolog turned on. > 2. Why are blocks rendered even for users who shouldn't see them ? Isn't > this a security breach and/or too resource intensive ? > No security problem as it's all server side before output rendering. It is a balance between ease of site specific changes and db optimization. If there is anywhere you see we could improve the queries or data setup, speak up. Was there no cache time for this block? This would seem a performance bottleneck too. > It was only last night (after the crash) backend.php (I rewrite the url's > so php3 -> php) stopped giving output, and this error seems to have > occurred plenty before then. > what fun. Joe > If one of the developers wants the db dump from my site I'd be more than > happy to give it out (I'll change my pwd's, though;o) > > Cheers, > > Lars > |
From: Joe S. <joe...@us...> - 2003-04-24 15:31:48
|
On Wed, Apr 23, 2003 at 11:01:40PM -0700, Tigran wrote: > After upgrading to 0.7.1 for some reason the submissions link isn't there. > And for some reason comments to articles can not be submitted by just > public viewers. It asks for a user name and password. > It sounds like you didn't run the db_xfer script. http://www.phpslash.org/article.php3?story_id=31&topic_id=39§ion_id=8#ss3.3 > I'd like to make the site totally public with no usernames for reply > comments to articles and public article submissions. > The author/group changes made by the db_xfer script should allow public comments. If this doesn't clear up the submissions also, let us know. Joe > Thanks in advance for the help. > |
From: ALYAKOUBI CORP. <aly...@ma...> - 2003-04-24 14:44:25
|
Dear Sir, Our factory is dedicated to Games Business Since it has being established. We are Chinese manufacturer based in Shenzhen, Guangdong province. We just released some novelty interactive TV sport game, which was well sold in recent CeBit Fair. We welcome your inquiry and OEM orders. Best regards! Susan Song, Overseas Dept. ALYAKOUBI ELECTRONICS & TECHNOLOGY FACTORY(CHINA) 4/F, B Block, TsingHua University Institute,Hi-tech Industrial Park, Shenzhen,518057, China Website: www.isav.com.cn Tel:0086-755-83526077/83526142/26719852 |
From: Lars <la...@kv...> - 2003-04-24 07:13:28
|
Hey, all! I just went through something that seemed particularly nasty to me, and it caused my site to go down for almost 24 hours. The fault looked like it was caused by a dead httpd, but when I tried to reconstruct my site on a fresh install I found the culprit - my rss feed, which I display on my own site (only for logged in root users) made all pages with blocks on them inaccessible to *all* users. This, however, was not apparent until I found the problem. The following error in the logs (Error in source file:rdfparser::parse_file could not open http://www.pda-nytt.no/backend.php3?d=0 ) lead me in the right direction. For some reason it's all over my logs, so it cannot be a "new" problem. This leads me to the following questions: 1. How can a problem like this be allowed to crash a whole site ? 2. Why are blocks rendered even for users who shouldn't see them ? Isn't this a security breach and/or too resource intensive ? It was only last night (after the crash) backend.php (I rewrite the url's so php3 -> php) stopped giving output, and this error seems to have occurred plenty before then. If one of the developers wants the db dump from my site I'd be more than happy to give it out (I'll change my pwd's, though;o) Cheers, Lars |
From: Tigran <ti...@us...> - 2003-04-24 06:01:50
|
After upgrading to 0.7.1 for some reason the submissions link isn't there. And for some reason comments to articles can not be submitted by just public viewers. It asks for a user name and password. I'd like to make the site totally public with no usernames for reply comments to articles and public article submissions. Thanks in advance for the help. |
From: Luis M <le...@ho...> - 2003-04-22 03:06:17
|
>Some things I've noticed using the mailing list: > >typo on manual mailing page (i.e. rage not range): >Check here to override the rage of dates sent in the news letter > >I'm not sure what the above means because I can set a range of dates for >the newsletter. Does it mean that the range I set will override what the >users have specified? yes, you will force your emails to everybody including those who subscribed themselves to get, say, only Sunday's newsletters... >I got this instead of apostrophes in the header of the newletter (not >embedded in the stories but only in the stuff I typed in the header window >prior to mailing it off): >But I've started again Yep. I know a lot about those little characters... I have a function in my own site that cleans up all latin characters from plain text to HTML encoding (é for é for instance) for posting and vice-versa when sending newsletters... I will commit this in functions.inc for phpslash-dev later on (after talking to Joe and others about it of course). However, I'm with you with that. I have a solution for it though, but I would recommend that you leave with it for now (set your encoding to latin-1 "ISO-8859-1" instead of UTF-8, for now. So that when you post your stories the function would take care of converting the characters.) >Somehow it mailed some stories that I had deleted - but I think that's >possibly a bug within my data tables only. > Tampering with the tables by hand is wrong. Getting things back to normal is even harder as the site grows. And upgrading when you need to will become daunting. So, try to use the Admin pages all the time. Just an advice from somebody who have done just that and it took me a long time to get things back to normal. P.S. The latest Mailinglist.class and other mailing list related files are now in phpslash-dev module from CVS. Just in case you happen to find other known issues that we have been working on for the past few days. I will commit what I have done so far, which is pretty much "stable", but has not been tested by others yet. Patience... ----)(----- Luis Mondesi System Administrator LatinoMixed.com le...@ho... "...The Mac does this so smoothly, it feels like an extension of your mind." - Paula Speer, MacWorld Magazine 2003-04 Public signature: http://www.latinomixed.com/lems1/public-a.asc _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp |