From johnturner at gmail.com Thu Nov 4 12:29:22 2004 From: johnturner at gmail.com (John Turner) Date: Thu Nov 4 12:29:18 2004 Subject: [PolarBlog] Error message when posting comment Message-ID: <2b99a66041104092971654824@mail.gmail.com> Hi - Long time listener, first time caller. ;) I've been working with PolarBlog for a couple days now. I really like it...I tried so many other packages but was ready to give up and write my own when I stumbled on PB via Freshmeat. I have a couple questions regarding comments. When I try to post a comment to an entry, I get an error message that says: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1024 bytes) in /home/httpd/vhosts/johnturner.com/httpdocs/blog/lib/PbComment_class.php on line 156 I looked in that file, and it is calling the strip_tags function. Further, if I click on the comments link of an entry when it shows that there are comments, nothing happens...I get taken to the comment entry screen and I never see comments that have been posted. On a side note, if I click the "Permalink" link on a blog entry, I get this: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 44 bytes) in /home/httpd/vhosts/johnturner.com/httpdocs/blog/lib/MySqlDb_class.php on line 555 Which appears very similar to the error when posting comments. Do I have something configured incorrectly? Is it my webhost? I'm just not handy enough with PHP yet to figure out what is going on. The link to the blog is http://www.johnturner.com/blog Any help is appreciated! John From johnturner at gmail.com Thu Nov 4 12:40:10 2004 From: johnturner at gmail.com (John Turner) Date: Thu Nov 4 12:40:11 2004 Subject: [PolarBlog] Feature request, and a documentation note Message-ID: <2b99a66041104094011f4f00b@mail.gmail.com> Hi - While tweaking the CSS file for PB, I ran into an issue with the topic icons. I was uploading an icon, yet everytime it displayed, it was much bigger than the icon I wanted to use. I tracked down line # 1602 in PolarBlog_class.php. This line hardcodes the icon size to be 32x32. Any chance the icon size could be configurable? Or even just delete the hardcoded size and let the browser figure it out? Also, the documentation is great, but I kinda went off on a tangent and spun my wheels for awhile trying to get left_nav.css to work. It didn't occur to me that left_nav.css was supposed to *replace* standard.css...I thought that if I wanted the left nav, I needed to include or enable it somehow in addtion to the CSS parameter in config.php. Probably my bad (I suck as CSS as much as I do PHP), but I thought maybe the docs could be just a tad clearer that if you want a left nav, then replace "standard.css" in config.php with "left_nav.css". The main things I like about PB are that it is clean, modular, easily configurable, and easily installed. I've tried just about every package I could find: MT, greymatter, blosxom, and a whole bunch I can't even remember, and the one thing they all had in common was that after about 10 minutes I gave up in disgust and confusion (with MT especially!). Being a sys-admin for over a decade, I was pleasantly pleased to find PolarBlog. It just made sense. Keep up the good work, and I will help out if I can! John From kevinp at polarlava.com Fri Nov 5 08:53:14 2004 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Fri Nov 5 08:53:20 2004 Subject: [PolarBlog] Error message when posting comment In-Reply-To: <2b99a66041104092971654824@mail.gmail.com> References: <2b99a66041104092971654824@mail.gmail.com> Message-ID: <1099662794.418b85ca5dd2d@nj1.fxsonet.com> John, I'm glad to hear you are like PolarBlog even though you seem to be having some difficulties. In regard to the memory errors, what version of PHP are you running? There have been a couple of others recently who have also reported these sort of problems. Unfortunately I can't duplicate it other that on the sites that reported the problem. I'm suspecting it may be a PHP version incompatibility problem. -klp Quoting John Turner : > Hi - > > Long time listener, first time caller. ;) > > I've been working with PolarBlog for a couple days now. I really like > it...I tried so many other packages but was ready to give up and write > my own when I stumbled on PB via Freshmeat. > > I have a couple questions regarding comments. When I try to post a > comment to an entry, I get an error message that says: > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 1024 bytes) in > /home/httpd/vhosts/johnturner.com/httpdocs/blog/lib/PbComment_class.php > on line 156 > > I looked in that file, and it is calling the strip_tags function. > > Further, if I click on the comments link of an entry when it shows > that there are comments, nothing happens...I get taken to the comment > entry screen and I never see comments that have been posted. > > On a side note, if I click the "Permalink" link on a blog entry, I get this: > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 44 bytes) in > /home/httpd/vhosts/johnturner.com/httpdocs/blog/lib/MySqlDb_class.php > on line 555 > > Which appears very similar to the error when posting comments. Do I > have something configured incorrectly? Is it my webhost? I'm just not > handy enough with PHP yet to figure out what is going on. > > The link to the blog is http://www.johnturner.com/blog > > Any help is appreciated! > > John > > _______________________________________________ > Polarblog mailing list > Polarblog@polarlava.com > http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com > -- Kevin L. Papendick www.polarlava.com From kevinp at polarlava.com Fri Nov 5 09:04:54 2004 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Fri Nov 5 09:05:01 2004 Subject: [PolarBlog] Feature request, and a documentation note In-Reply-To: <2b99a66041104094011f4f00b@mail.gmail.com> References: <2b99a66041104094011f4f00b@mail.gmail.com> Message-ID: <1099663494.418b888692cb3@nj1.fxsonet.com> John, Allowing the icon size to be adjustable would probably be more trouble than it is worth. The hardcoded 32x32 limit is a compatiblity carryover from the PWL days. At this point my thought is to add a configuration option to enable/disable these to a configurable set size. In the meantime I'd recommend you delete the height and width restrictions that you found (if you haven't done so already). The CSS documentation (http://polarblog.polarlava.com/docs/#CSS ) explains that you can use one of the provided CSS's or one of your own. In any case, I will update the documentation to try to make that point a bit clearer. Thanks for the suggestion. -klp Quoting John Turner : > Hi - > > While tweaking the CSS file for PB, I ran into an issue with the topic icons. > > I was uploading an icon, yet everytime it displayed, it was much > bigger than the icon I wanted to use. > > I tracked down line # 1602 in PolarBlog_class.php. This line hardcodes > the icon size to be 32x32. > > Any chance the icon size could be configurable? Or even just delete > the hardcoded size and let the browser figure it out? > > Also, the documentation is great, but I kinda went off on a tangent > and spun my wheels for awhile trying to get left_nav.css to work. It > didn't occur to me that left_nav.css was supposed to *replace* > standard.css...I thought that if I wanted the left nav, I needed to > include or enable it somehow in addtion to the CSS parameter in > config.php. > > Probably my bad (I suck as CSS as much as I do PHP), but I thought > maybe the docs could be just a tad clearer that if you want a left > nav, then replace "standard.css" in config.php with "left_nav.css". > > The main things I like about PB are that it is clean, modular, easily > configurable, and easily installed. I've tried just about every > package I could find: MT, greymatter, blosxom, and a whole bunch I > can't even remember, and the one thing they all had in common was that > after about 10 minutes I gave up in disgust and confusion (with MT > especially!). Being a sys-admin for over a decade, I was pleasantly > pleased to find PolarBlog. It just made sense. > > Keep up the good work, and I will help out if I can! > > John > > _______________________________________________ > Polarblog mailing list > Polarblog@polarlava.com > http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com > -- Kevin L. Papendick www.polarlava.com From kevinp at polarlava.com Fri Nov 5 09:05:18 2004 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Fri Nov 5 09:05:24 2004 Subject: [PolarBlog] Feature request, and a documentation note In-Reply-To: <2b99a66041104094011f4f00b@mail.gmail.com> References: <2b99a66041104094011f4f00b@mail.gmail.com> Message-ID: <1099663518.418b889ed5835@nj1.fxsonet.com> John, Allowing the icon size to be adjustable would probably be more trouble than it is worth. The hardcoded 32x32 limit is a compatiblity carryover from the PWL days. At this point my thought is to add a configuration option to enable/disable these to a configurable set size. In the meantime I'd recommend you delete the height and width restrictions that you found (if you haven't done so already). The CSS documentation (http://polarblog.polarlava.com/docs/#CSS ) explains that you can use one of the provided CSS's or one of your own. In any case, I will update the documentation to try to make that point a bit clearer. Thanks for the suggestion. -klp Quoting John Turner : > Hi - > > While tweaking the CSS file for PB, I ran into an issue with the topic icons. > > I was uploading an icon, yet everytime it displayed, it was much > bigger than the icon I wanted to use. > > I tracked down line # 1602 in PolarBlog_class.php. This line hardcodes > the icon size to be 32x32. > > Any chance the icon size could be configurable? Or even just delete > the hardcoded size and let the browser figure it out? > > Also, the documentation is great, but I kinda went off on a tangent > and spun my wheels for awhile trying to get left_nav.css to work. It > didn't occur to me that left_nav.css was supposed to *replace* > standard.css...I thought that if I wanted the left nav, I needed to > include or enable it somehow in addtion to the CSS parameter in > config.php. > > Probably my bad (I suck as CSS as much as I do PHP), but I thought > maybe the docs could be just a tad clearer that if you want a left > nav, then replace "standard.css" in config.php with "left_nav.css". > > The main things I like about PB are that it is clean, modular, easily > configurable, and easily installed. I've tried just about every > package I could find: MT, greymatter, blosxom, and a whole bunch I > can't even remember, and the one thing they all had in common was that > after about 10 minutes I gave up in disgust and confusion (with MT > especially!). Being a sys-admin for over a decade, I was pleasantly > pleased to find PolarBlog. It just made sense. > > Keep up the good work, and I will help out if I can! > > John > > _______________________________________________ > Polarblog mailing list > Polarblog@polarlava.com > http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com > -- Kevin L. Papendick www.polarlava.com