You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(29) |
Dec
(101) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(90) |
Feb
(101) |
Mar
(173) |
Apr
(141) |
May
(38) |
Jun
(28) |
Jul
(14) |
Aug
(7) |
Sep
(3) |
Oct
(7) |
Nov
(15) |
Dec
(9) |
2002 |
Jan
(2) |
Feb
(5) |
Mar
(11) |
Apr
|
May
(4) |
Jun
(6) |
Jul
(7) |
Aug
(12) |
Sep
(8) |
Oct
(1) |
Nov
(4) |
Dec
(7) |
2003 |
Jan
(7) |
Feb
(1) |
Mar
(9) |
Apr
(2) |
May
(3) |
Jun
(4) |
Jul
(19) |
Aug
(4) |
Sep
(8) |
Oct
(30) |
Nov
(25) |
Dec
(22) |
2004 |
Jan
(6) |
Feb
(12) |
Mar
|
Apr
(2) |
May
|
Jun
(10) |
Jul
(18) |
Aug
(2) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(4) |
2005 |
Jan
(8) |
Feb
(4) |
Mar
(6) |
Apr
(5) |
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(4) |
Nov
(3) |
Dec
|
2006 |
Jan
(9) |
Feb
(6) |
Mar
(11) |
Apr
|
May
(2) |
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(8) |
Oct
|
Nov
(1) |
Dec
(1) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eric D. <eri...@ja...> - 2002-08-02 00:37:47
|
The current CVS seems not to create a page with articles on it for anonymous users. It just does the side blocks. Any ideas? Yes, slashd is running and updating the file, and yes the templates are up to date. ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: Eric D. <eri...@ja...> - 2002-07-29 18:24:31
|
Oh. What do you mean that slash about no cgi? Couldn't I use like CGI::Upload http://search.cpan.org/search?dist=CGI-Upload to handle it? This sounds like it might be a real problem to do...........and that doesn't sound good.......... shane wrote: >There used to be some code in admin.pl to handle the file-upload of a file >through http. I don't think it was ever finished, or atleast, tested. Look >around, it may still be there and you may be able to use it. > >A while back I messed with doing file upload via http for the photo gallery >plugin that I started. I didn't get very far with it, because with slash you >can't just use cgi and use it to handle the file coming from the form. > >If you write the code to do file uploading, I would be eternally grateful to >you. I've just never had the time to get into it it more and get it written. > > Shane > |
From: shane <sh...@lo...> - 2002-07-29 13:55:54
|
On Monday 29 July 2002 02:17 am, Eric Dannewitz wrote: > I posted this on slashcode.com > (http://ask.slashcode.com/article.pl?sid=02/07/21/1755247&mode=thread&tid=4 >), but honestly seems like no one uses that site. In fact, seem that some > kiddies are posting very rude comments on the site....... > > Anyhow, here is the question. I want to somehow get support for > including files in posts. Krow hinted that it is kinda in there, but I > don't see anything...... > > How hard is this? What needs to be done? I think that would really take > slash up a notch if it had file/story support. Then I could stop > considering switching to moveabletype or something else........ > > any info would be great. Thanks There used to be some code in admin.pl to handle the file-upload of a file through http. I don't think it was ever finished, or atleast, tested. Look around, it may still be there and you may be able to use it. A while back I messed with doing file upload via http for the photo gallery plugin that I started. I didn't get very far with it, because with slash you can't just use cgi and use it to handle the file coming from the form. If you write the code to do file uploading, I would be eternally grateful to you. I've just never had the time to get into it it more and get it written. Shane |
From: Markus A. <mar...@ub...> - 2002-07-29 06:45:59
|
eri...@ja... wrote: > Anyhow, here is the question. I want to somehow get support for > including files in posts. Krow hinted that it is kinda in there, but I > don't see anything...... I would a) create a dir for upload of files. Must be writable by the web user (nobody). b) modify the submit and author's story edit form to include a file upload field. The file is placed in your upload dir, and it's name added to a new column in the DB. c) edit the storyprint (dunno it's exact name) function to display a link to the file unless that field is empty. Markus. |
From: Eric D. <eri...@ja...> - 2002-07-29 06:17:53
|
I posted this on slashcode.com (http://ask.slashcode.com/article.pl?sid=02/07/21/1755247&mode=thread&tid=4), but honestly seems like no one uses that site. In fact, seem that some kiddies are posting very rude comments on the site....... Anyhow, here is the question. I want to somehow get support for including files in posts. Krow hinted that it is kinda in there, but I don't see anything...... How hard is this? What needs to be done? I think that would really take slash up a notch if it had file/story support. Then I could stop considering switching to moveabletype or something else........ any info would be great. Thanks -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: Eric D. <eri...@ja...> - 2002-07-22 19:46:32
|
[Mon Jul 22 19:42:27 2002] [error] Invalid [] range "]-+" in transliteration operator at /usr/local/slash/site//www.jazz-sax.com/htdocs/comments.pl line 829. I'm using Perl 5.8.0 I now get apache error 500 when replying to comments -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: Chia-liang K. <cl...@cl...> - 2002-07-16 11:14:59
|
attached is the patch that makes the startup script works correctly on freebsd. note that the pid of the running slashd is still wrong, and you need to give the accoutn $USERNAME a valid shell. RCS file: /cvsroot/slashcode/slash/utils/slash,v retrieving revision 1.10 diff -u -r1.10 slash --- slash 8 Jan 2002 17:22:10 -0000 1.10 +++ slash 7 Jul 2002 19:28:16 -0000 @@ -66,7 +66,8 @@ # if you aren't using GMT for internal dates, please change # the appropriate lines, below. if [ "$OS" = "FreeBSD" ] ; then - su - $USERNAME "-c 'TZ=GMT $SLASHD $SERVER_NAME'" & + env TZ=GMT su $USERNAME -c "$SLASHD $SERVER_NAME" & elif [ "$OS" = "Linux" ] ; then su - $USERNAME -c "TZ=GMT $SLASHD $SERVER_NAME" & else Cheers, CLK |
From: Chia-liang K. <cl...@cl...> - 2002-07-16 11:14:57
|
Hi, there are several filters too strict for non-english sites. I could manually remove them from the content_filter table. but the hardcoded checks for the existence of non-whitespace below should be patched. Index: themes/slashcode/htdocs/comments.pl =================================================================== RCS file: /cvsroot/slashcode/slash/themes/slashcode/htdocs/comments.pl,v retrieving revision 1.70 diff -u -r1.70 comments.pl --- themes/slashcode/htdocs/comments.pl 3 Jul 2002 07:26:55 -0000 1.70 +++ themes/slashcode/htdocs/comments.pl 14 Jul 2002 19:40:26 -0000 @@ -731,7 +731,7 @@ for ($$comm, $$subj) { my $d = decode_entities($_); $d =~ s/&#?[a-zA-Z0-9]+;//g; # remove entities we don't know - if ($d !~ /\w/) { # require SOME non-whitespace + if ($d !~ /\S/) { # require SOME non-whitespace $$error_message = getError('no body'); return; } Cheers, CLK |
From: Alessio B. <al...@se...> - 2002-06-24 15:35:44
|
syndic8 is a directory of syndicated news headlines, including feeds from weblogs. They also keep track of 'toolkits', i.e. software used to run the site/feed. http://www.syndic8.com/toolkits.php To have Slash counted, we should insert a comment in the RSS feed with the software name/version. Your opinion? ----- Forwarded message from Jeff Barr <je...@ve...> ----- From: "Jeff Barr" <je...@ve...> Mailing-List: list sy...@ya...; contact syn...@ya... Date: Thu, 20 Jun 2002 10:43:24 -0700 Subject: Re: [syndic8] Help from an editor The toolkit information comes from the site's RSS. You need to update your XML template so that it includes a generator comment that looks something like this: <?xml version="1.0"?> <!-- generator="Movable Type/2.11" --> <rss version="0.91"> Jeff; ----- End forwarded message ----- -- Alessio F. Bragadini al...@se... |
From: Jesse H. <je...@op...> - 2002-06-13 17:09:56
|
yesterday i tried my first stab at moving from 2.2.5 to cvs. i tried to take some notes, explicitly focusing on filling in sql/mysql/upgrades and i will post said notes on my user journal on slashcode.com shortly. however i wanted to continue this thread, as it was also the primary problem i ran into after upgrading. i had the same types of errors that Eric D. describes. i also ran the command line cliff suggests below, and on the admin user created with this new 2.3 install i received all of that users info. however when i ran the same line on a uid that i imported from the 2.2.5 site i get: $VAR1 = undef; looking through my heavily populated error log i can surmise that some of the problems/errors may relate to zoo as my past userbase didn't have information like the people column also seeing erros like this: DBD::mysql::db selectall_arrayref failed: You have an error in your SQL syntax near '' at line 1 at /usr/local/lib/perl/5.6.1/Slash/DB/Utility.pm line 408. [Thu Jun 13 01:30:44 2002] [error] /users.pl:Slash::DB::MySQL:/usr/local/lib/perl/5.6.1/Slash/DB/MySQL.pm:5445:SELECT name,value FROM users_acl WHERE uid= [Thu Jun 13 01:30:44 2002] [error] Which was called by:Apache::ROOTlearning_2eopenflows_2eorg::users_2epl:/usr/local/slash/site/learning.openflows.org /htdocs/users.pl:733:SELECT name,value FROM users_acl WHERE uid= as well as DBD::mysql::st execute failed: You have an error in your SQL syntax near 'AND users_index.uid= AND users_info.uid= AND users_hits.uid= AND users_comments.' at line 1 at /usr/local/lib/perl/5.6.1/Slash/DB/Utility.pm line 351. [Thu Jun 13 01:30:41 2002] [error] /users.pl:Slash::DB::MySQL:/usr/local/lib/perl/5.6.1/Slash/DB/MySQL.pm:5432:SELECT * FROM users,users_index,users_info,users_hits,users_comments,users_prefs WHERE users.uid= AND users_index.uid= AND users_info.uid= AND users_hits.uid= AND users_comments.uid= AND users_prefs.uid= [Thu Jun 13 01:30:41 2002] [error] Which was called by:Apache::ROOTlearning_2eopenflows_2eorg::users_2epl:/usr/local/slash/site/learning.openflows.org /htdocs/users.pl:733:SELECT * FROM users,users_index,users_info,users_hits,users_comments,users_prefs WHERE users.uid= AND users_index.uid= AND users_info.uid= AND users_hits.uid= AND users_comments.uid= AND users_prefs.uid= anyhow, will keep on playing and will write up my notes shortly jesse/laotan 1:06pm up 142 days, 4:43, 16 users, load average: 0.21, 0.30, 0.19 On Sun, 2 Jun 2002, Clifton Wood wrote: > On Friday 03 May 2002 17:13, Eric Dannewitz wrote: > > yes, I have. > > > > The big problem seems to be users created before I updated the software. > > They can't seem to login or anything. Nothing works right for them. Even > > admin users. > > > > If you create a NEW user, then everything is great. Works fine. I'm > > trying to figure out what is going on but nothing so far......... > > Weird. > > Try this, delete all of the cookies associated with your old users, then > re-login to the site again. > > Just on a lark, could you show me what you get when you do the following: > > "perl -MSlash::Test=<your virtual user here> -le 'print > Dumper($slashdb->getUser(2)'" > > - Cliff > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Slashcode-development mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-development > |
From: Eric D. <eri...@ja...> - 2002-06-03 02:37:13
|
Again, this was over a month ago. I did do that, and it made no difference. I would be user (). I ended up purging the user database, and keeping the uids of people who submitted comments. Clifton Wood wrote: >On Friday 03 May 2002 17:13, Eric Dannewitz wrote: > > >>yes, I have. >> >>The big problem seems to be users created before I updated the software. >>They can't seem to login or anything. Nothing works right for them. Even >>admin users. >> >>If you create a NEW user, then everything is great. Works fine. I'm >>trying to figure out what is going on but nothing so far......... >> >> > >Weird. > >Try this, delete all of the cookies associated with your old users, then >re-login to the site again. > >Just on a lark, could you show me what you get when you do the following: > >"perl -MSlash::Test=<your virtual user here> -le 'print >Dumper($slashdb->getUser(2)'" > >- Cliff > >_______________________________________________________________ > >Don't miss the 2002 Sprint PCS Application Developer's Conference >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > >_______________________________________________ >Slashcode-development mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-development > > -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: Clifton W. <cl...@sl...> - 2002-06-03 02:27:56
|
On Friday 03 May 2002 17:13, Eric Dannewitz wrote: > yes, I have. > > The big problem seems to be users created before I updated the software. > They can't seem to login or anything. Nothing works right for them. Even > admin users. > > If you create a NEW user, then everything is great. Works fine. I'm > trying to figure out what is going on but nothing so far......... Weird. Try this, delete all of the cookies associated with your old users, then re-login to the site again. Just on a lark, could you show me what you get when you do the following: "perl -MSlash::Test=<your virtual user here> -le 'print Dumper($slashdb->getUser(2)'" - Cliff |
From: Eric D. <eri...@ja...> - 2002-06-03 02:27:53
|
Not to be totally rude, but this was like a MONTH ago............ I since fixed it. It actually a problem with the CVS version not correctly linking/installing the new tasks and related .pl files. Clifton Wood wrote: >On Friday 03 May 2002 03:55, you wrote: > > >>Hey all, I was brave enough to attempt to convert my 2.2.5 slash sites to >>the current CVS. Everything seems well so far except that the slashd keeps >>quitting with this message: >> >>Fri May 3 07:51:21 2002 Starting slashd with pid 81566 >>Fri May 3 07:51:21 2002 Starting up Slashd (verbosity 2) with pid 81566 >>Fri May 3 07:51:22 2002 processed >>/usr/local/slash/site/www.jazz-sax.com/tasks; 23 successful Invalid >>cronentry '*/15' at /usr/local/lib/perl5/site_perl/5.6.1/Schedule/Cron.pm >>line 621. >> >>Now, I installed all the plugins on this site. Could that be the problem? >>The other site slashds are running fine. What do I do to fix this? >> >> > >This is a problem with Schedule::Cron which has yet to be corrected, the >thing to do here would be to replace the "*" with the appropriate range for >the given field. > >So if "*/15" is the minute part of the timespec, use "0-59/15" instead. > >- Cliff > >_______________________________________________________________ > >Don't miss the 2002 Sprint PCS Application Developer's Conference >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > >_______________________________________________ >Slashcode-development mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-development > > -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: Clifton W. <cl...@sl...> - 2002-06-03 02:23:57
|
On Friday 03 May 2002 03:55, you wrote: > Hey all, I was brave enough to attempt to convert my 2.2.5 slash sites to > the current CVS. Everything seems well so far except that the slashd keeps > quitting with this message: > > Fri May 3 07:51:21 2002 Starting slashd with pid 81566 > Fri May 3 07:51:21 2002 Starting up Slashd (verbosity 2) with pid 81566 > Fri May 3 07:51:22 2002 processed > /usr/local/slash/site/www.jazz-sax.com/tasks; 23 successful Invalid > cronentry '*/15' at /usr/local/lib/perl5/site_perl/5.6.1/Schedule/Cron.pm > line 621. > > Now, I installed all the plugins on this site. Could that be the problem? > The other site slashds are running fine. What do I do to fix this? This is a problem with Schedule::Cron which has yet to be corrected, the thing to do here would be to replace the "*" with the appropriate range for the given field. So if "*/15" is the minute part of the timespec, use "0-59/15" instead. - Cliff |
From: Eric D. <eri...@ja...> - 2002-05-03 21:13:22
|
yes, I have. The big problem seems to be users created before I updated the software. They can't seem to login or anything. Nothing works right for them. Even admin users. If you create a NEW user, then everything is great. Works fine. I'm trying to figure out what is going on but nothing so far......... i18n wrote: >I still get the list but I am still using Bender but .... > >Have you checked the contents of the DB directly in the appropriate tables to compare all field values between the old and new IDs? maybe there is an unexpected difference. > >Barry > >At 01:08 PM 5/3/2002 -0700, you wrote: > > >>Ok, some things have stablized. The thing that is driving me nuts is that my usual user id, 2, doesn't work at all. I log in with the password, and nothing works. No admin menus. The "Page generated by a flock of geeze" thing has a () next to it. It is messed up. >> >>However, if I create a NEW user, and give it admin rights, it works fine........... >> >>Am I missing something? Does anyone still get this list? >> >> > > >_______________________________________________________________ > >Have big pipes? SourceForge.net is looking for download mirrors. We supply >the hardware. You get the recognition. Email Us: ban...@so... >_______________________________________________ >Slashcode-development mailing list >Sla...@li... >https://lists.sourceforge.net/lists/listinfo/slashcode-development > > -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: i18n <i1...@ya...> - 2002-05-03 21:07:59
|
I still get the list but I am still using Bender but .... Have you checked the contents of the DB directly in the appropriate tables to compare all field values between the old and new IDs? maybe there is an unexpected difference. Barry At 01:08 PM 5/3/2002 -0700, you wrote: >Ok, some things have stablized. The thing that is driving me nuts is that my usual user id, 2, doesn't work at all. I log in with the password, and nothing works. No admin menus. The "Page generated by a flock of geeze" thing has a () next to it. It is messed up. > >However, if I create a NEW user, and give it admin rights, it works fine........... > >Am I missing something? Does anyone still get this list? |
From: Eric D. <eri...@ja...> - 2002-05-03 20:08:58
|
Ok, some things have stablized. The thing that is driving me nuts is that my usual user id, 2, doesn't work at all. I log in with the password, and nothing works. No admin menus. The "Page generated by a flock of geeze" thing has a () next to it. It is messed up. However, if I create a NEW user, and give it admin rights, it works fine........... Am I missing something? Does anyone still get this list? |
From: Eric D. <eri...@ja...> - 2002-05-03 07:55:23
|
Hey all, I was brave enough to attempt to convert my 2.2.5 slash sites to the current CVS. Everything seems well so far except that the slashd keeps quitting with this message: Fri May 3 07:51:21 2002 Starting slashd with pid 81566 Fri May 3 07:51:21 2002 Starting up Slashd (verbosity 2) with pid 81566 Fri May 3 07:51:22 2002 processed /usr/local/slash/site/www.jazz-sax.com/tasks; 23 successful Invalid cronentry '*/15' at /usr/local/lib/perl5/site_perl/5.6.1/Schedule/Cron.pm line 621. Now, I installed all the plugins on this site. Could that be the problem? The other site slashds are running fine. What do I do to fix this? |
From: Jesse H. <je...@op...> - 2002-03-17 11:29:54
|
hey kevin, thanks, that was indeed the problem. i dropped the accesslog table, recreated it, and everything's fine now... i guess another option would have been to use myisamchk? jesse 6:22am up 53 days, 23:25, 6 users, load average: 0.21, 0.23, 0.16 On Sun, 17 Mar 2002, Kevin Tam wrote: > The last time I had something like that was when Mysql databases got > corrupted! You can confirm if this is the case by going into a Mysql shell > and try running some simple SQL queries on those tables. If they fail, you > will need to fix that > > Kevin > > > > 10:01pm up 53 days, 15:05, 7 users, load average: 0.07, 0.02, 0.00 |
From: Kevin T. <kt...@do...> - 2002-03-17 08:18:22
|
The last time I had something like that was when Mysql databases got corrupted! You can confirm if this is the case by going into a Mysql shell and try running some simple SQL queries on those tables. If they fail, you will need to fix that Kevin ----- Original Message ----- From: "Jesse Hirsh" <je...@op...> To: <sla...@li...> Sent: Sunday, March 17, 2002 3:01 AM Subject: [Slashcode-development] Re: cvs devel branch > > so i spent a little time today hacking with the latest cvs in the main > (devel) branch. one of the sites i've been playing with is one i keep > updating with each cvs update, just as a learning exercise. currently > however i've come across a little error that i'm stuck on and coulse use > some pointers. > > it occurs when i try to run the task adminmail.pl > > slashd.log gives me: > > > Sun Mar 17 03:04:21 2002 runtask adminmail.pl begin > Sun Mar 17 03:04:21 2002 runtask Send Admin Mail Begin > DBD::mysql::st execute failed: Can't open file: 'accesslog.MYD'. (errno: > 145) at /usr/local/lib/perl/5.6.1/Slash/DB/Utility.pm line 277. > Error in > library:Slash::Stats:/usr/local/share/perl/5.6.1/Slash/Stats.pm:161:SELECT > count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 > Which was called > by:main:/usr/local/slash/site/neksis.com/tasks/adminmail.pl:32:SELECT > count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 > DBD::mysql::st execute failed: Can't open file: 'accesslog.MYD'. (errno: > 145) at /usr/local/lib/perl/5.6.1/Slash/DB/Utility.pm line 255. > Error in > library:Slash::Stats:/usr/local/share/perl/5.6.1/Slash/Stats.pm:164:SELECT > count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 GROUP BY > host_addr > Which was called > by:main:/usr/local/slash/site/neksis.com/tasks/adminmail.pl:32:SELECT > count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 GROUP BY > host_addr > Can't call method "rows" on an undefined value at > /usr/local/share/perl/5.6.1/Slash/Stats.pm line 166. > > any hints? or tips? > > jesse > > > 10:01pm up 53 days, 15:05, 7 users, load average: 0.07, 0.02, 0.00 > > > _______________________________________________ > Slashcode-development mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-development > |
From: Jesse H. <je...@op...> - 2002-03-17 03:09:21
|
so i spent a little time today hacking with the latest cvs in the main (devel) branch. one of the sites i've been playing with is one i keep updating with each cvs update, just as a learning exercise. currently however i've come across a little error that i'm stuck on and coulse use some pointers. it occurs when i try to run the task adminmail.pl slashd.log gives me: Sun Mar 17 03:04:21 2002 runtask adminmail.pl begin Sun Mar 17 03:04:21 2002 runtask Send Admin Mail Begin DBD::mysql::st execute failed: Can't open file: 'accesslog.MYD'. (errno: 145) at /usr/local/lib/perl/5.6.1/Slash/DB/Utility.pm line 277. Error in library:Slash::Stats:/usr/local/share/perl/5.6.1/Slash/Stats.pm:161:SELECT count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 Which was called by:main:/usr/local/slash/site/neksis.com/tasks/adminmail.pl:32:SELECT count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 DBD::mysql::st execute failed: Can't open file: 'accesslog.MYD'. (errno: 145) at /usr/local/lib/perl/5.6.1/Slash/DB/Utility.pm line 255. Error in library:Slash::Stats:/usr/local/share/perl/5.6.1/Slash/Stats.pm:164:SELECT count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 GROUP BY host_addr Which was called by:main:/usr/local/slash/site/neksis.com/tasks/adminmail.pl:32:SELECT count(*) FROM accesslog WHERE to_days(now()) - to_days(ts)=1 GROUP BY host_addr Can't call method "rows" on an undefined value at /usr/local/share/perl/5.6.1/Slash/Stats.pm line 166. any hints? or tips? jesse 10:01pm up 53 days, 15:05, 7 users, load average: 0.07, 0.02, 0.00 |
From: shane <sh...@lo...> - 2002-03-13 21:03:05
|
I'm trying to determine where the "appropriate" place is to determine a user's current section, and I'm getting confused: in the current slash series: If I look at $user->{currentSection}, it is set when header() is called. the line is: $user->{currentSection} = $section || ''; where section was passed to header(). in the devel slash series: there's the SlashSectionHost call that will hard-wire the section because of the URL. It sets $new_cfg->{defaultsection} = $section; and Anchor.pm still has $user->{currentSection} = $section || ''; where section was *passed* to header(). Which leads me to think that getting $user->{currentSection} is *always* up to the perl script running at the time to get the section set correctly. So I cannot do the following: sub main { my $constants = getCurrentStatic(); my $slashdb = getCurrentDB(); my $user = getCurrentUser(); and expect that $user->{currentSection}, at this point in time, is correct. Only after calling header() in the script will $user->{currentSection} be correct. Am I understanding this correctly? Or what did I miss? What I am looking for is the correct way to obtain what section a user is in (so as to display the correct section-related data in a calendar for them). I had always thought this was easy - check the $form data for $form->{section}, look it up with $slashdb->getSection(), check the return for validity and you're set. But with the new Apache directive (which is very cool, btw) it would seem to me that $user->{currentSection} should immediately be populated with that section that the user's in, if they're in a section.sitename.blah And it also seems that any script that needs to know the current section (ie index.pl) would have to do something like my $section; if ($form->{section}) { $section = $slashdb->getSection($form->{section}); } else { $section->{section} = $constants->{defaultsection}; } instead of my $section; if ($form->{section}) { $section = $slashdb->getSection($form->{section}); } else { $section->{section} = 'index'; $section->{issue} = 1; } while other scripts just do: header("$constants->{sitename}", $form->{section}); and don't bother to lookup what's being passed to them via the form. I couldn't test the devel setup with the newer Apache directive, I've got no box that I can run slash>2.2.5 on at this time. (though I did try something like http://apache.slashdot.org/?section=features and it listed as it should) so I think I'm missing something... please help! Shane |
From: Matthew S. <mat...@ze...> - 2002-03-11 11:32:54
|
A long time ago in a Slashcode far away (0.3), I wrote a program called newsd which implemented NNTP support for Slash. It was never really used by anyone and wasn't updated when Slash 1.0 was released. Until today. I've taken up the project again, this time under the name NNTB (Network News Transport for 'Blogs), as the new version will be usable with other systems such as Scoop. The Slash-specific portion of NNTB is done - done in the sense that all the methods are implemented and it compiles, anyway. Since I'm not terribly familiar with Slash, it might be a good idea if the gurus would take a look at it. There are two components, a standalone daemon and a Slash plugin. The daemon part isn't done yet. The code is at http://www.zevils.com/cgi-bin/viewcvs.cgi/nntb/, or: cvs -d :pserver:ano...@ze...:/home/cvs (Password is 'cvs') cvs -z3 -d :pserver:ano...@ze...:/home/cvs co nntb I'd like to emphasize that this is very much a work in progress, and probably won't even run at this point. The main thing I'm interested in now is opinions on the NNTB::Weblog API, my implementation of the Slash-specific bits, and the general design. Thanks. -- Matthew Sachs <mat...@ze...> <mat...@wo...> http://www.zevils.com/ * GPG key: 0x600A0342 * PGP key: 0x93EA1151 #The original nonstandard deviant# (((T^E)%(PQ))^D)%(PQ) = RSA-NOP |
From: Chahine M. H. <mc...@ch...> - 2002-03-10 04:22:11
|
Ok but with some bugs here and there, granted. That said, you can see the site and use many parts of it. I guess I must submit the patches to sourceforge? One of the current problems I have is with persistent connections. In Utility.pm, the part that defines the sqlConnect and checks for an existing connection makes my apache segfault... I have no idea why, I don't know if it's a bug that is due to a slash-postgresql related bug or not. In any case, when I remove that part between #Ok, first let's see if we already have a connection and #Ok, new connection, let's create it it works well. The problem is, correct me if I'm wrong, the connection isn't persistent anymore, right? That's a performance serious prob. In order to correct this, I have to understand the mechanism behind this. One of the things that troubles me is the structure of the $self object used. PLEASE one of the developers who's familiar with slashcode's internals save me sometime, personal life aside, I have both a job and a university to work for too, so I can't spend a full day searching everytime I need to understand a little problem. I'm only asking for pointers, i.e. tell me where I can find the given info (I would even be grateful for a "take a look at file xxx or read page/url xxxx"). Best regards, Chahine PS: the sqlReplace is a headache to recode, I think it's easier to recode every function that uses it instead... any better idea? |
From: Chahine M. H. <mc...@ch...> - 2002-03-09 13:48:09
|
Hi there, if this is not the right place for asking, please direct me to the correct source (I have posted twice requests for help on the slashcode site and I understand they were ignored). I finally got through the whole install process smoothly using PostgreSQL. I had to do a lot of changes, mainly on the *.sql files (the schema among others was very much out of date), but also some at the perl source level. I should be able to post patches soon, but there's a little problem. I simply can't start apache. I get a syntax error of the kind: Starting web server: apache. Syntax error on line 22 of /usr/local/slash/site/www.net.loc/www.net.loc.conf: Argument is not an Apache or Apache::Server object at /usr/local/lib/perl/5.6.1/Slash/Utility/Environment.pm line 597. /usr/sbin/apachectl start: httpd could not be started I've spent last night searching and I'm about to give up which would be a pity after I invested a couple of days work on it and I feel I'm close from making the site run on PostgreSQL (well, there are still a few changes to make but hey, I'm close). All I could gather as information is that the directive SlashVirtualUser admin fails at the getCurrentAnonymousCoward function call, where the reference Apache->request sends nothing. Where should I go from here? Thanks, Chahine |