-
have a working WordPress installation
-
extract the LightPress archive in
wp-content/plugins

-
activate the LightPress plugin from the WP console

-
enter the 'LightPress' menu and select installation type
-
testingwill leave WP as-is letting you run LP in a sub-folder of your blog (eg http://my.blog.net/lightpress/)
-
rootwill let LP take over your main blog URL

-
-
check LightPress options

-
go back to the main 'LightPress' menu page to find out if any additional steps are needed

-
review LightPress plugins

-
edit LightPress plugins options

-
open the LP URL in your browser and watch the PHP error messages scroll by :)
the first image is useless, cant read the path…
but try once more… do i have to place this within a lightpress subfolder? *hmmpf*
no word on mod_rewrite… it doesn't work without right? or what am i doing wrong? thx
Erik, the first image reflects my setup.
It uses mod_rewrite if .htaccess in your web folder (the same used by WP) is writable by the web server. LP works even without mod_rewrite, but you have to clear the 'post_prefix' option to tell it to use "raw" URLs.
ok, i finally managed to get lightpress doing its job on a test-account that provides mod_rewrite… so i'm quite happy now.
i would be very happy, if you could guide me step by step in order to delete this 'post_prefix' as i have no idea where this can be found.
i'm also wondering if you advice me to make the htaccess unwritable for the apache (setting a chmod shouldnt help here right?) or…
help very appreciated.
i'd also like to help the team, as far as i find time for this, possible things for me to offer could be: translate some of the docs into german, give more critic feedback on the already existing docs (as i'm a newbie, i have all the usual problems others might run into again, & that i think you should be interested in - by solving through better documentation…), create lp templates (converting my existing wp-version)
let me know how i can help / participate…
btw: my opinion on the first image is still the same :-P as it doesn't tell clearly enough that files need to be stored in wp-content/plugins/lightpress/ (ok the words extract the zip do this, but just because this folder is in the zip) one more note on that (eg: you will finally find all lightpress files in plugins/lightpress folder) could have saved me from searching & deleting numerous files from the plugins dir. (i know what you wanna say ;-)
something else: does "switching" to LP make WP-Updates unnecessary? or does updating from wp-1.5.1.3 to wp-1.5.2 still make sense (root install)
next thing: a plugin wish: ;-) revised-image-headlines-for-lightpress (see equivalent)
kind regards, erik
and (hopefully) finally: a template 'bug' - visiting this site with a so called 'browser' that is in fact IE6/win the content swaps below the sidebar, so there's probably some floating-error, maybe caused by IEs annoying box-model interpretation…
thats it for now (pretty sure) feel free to just delete this comment-spam ;-D
you'll want to set up a forum :-P to prevent readers from spamming :-D
Erik, have a little patience as both Jerome and I are on vacation, so we won't be able to answer as fast as we usually do. :)
1. clearing post_prefix is easy, just go to the Lightpress "Options" menu and erase the "post_prefix" field.
2. to make .htaccess not writable by anyone, do "chmod 444 .htaccess" to restore it to the default, do "chmod 644 .htaccess".
3. you are more than welcome to contribute to the project; we have a forum (the link is on the right menu in the most pages), and a Wiki (again, on the right menu) where you can write documentation or translate the existing (still incomplete) docs.
4. hehe ok, will replace the first image when I get back home. :)
5. updating WP still makes sense, to get any security patch or new feature in the admin console or in the other WP files.
6. Uhm, I tested the template with ie5, will check with ie6 whenever I can. Thanks for the tip.
I installed Lightpress but at the end of installing process when I test lightpress I receive this error:
Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/mhd-03/www.gpsnews.org/htdocs/wp-content/plugins/lightpress/classes/DBlite/MySQL.php on line 37
Have you any idea about this problem?
Thanks
Fabio
I applied LightPress to a wordpress instance I'm using for a CMS that will cater to users of a CRM package - the focus being to teach them to write sql queries to retrieve/mine data from the system. I have hundreds of queries I'm going to enter categorized by type of search such as history, pending activities etc. I first searched for an opensource CMS and found very little so I went with WordPress which I already use for my Blog. I got worried that it might not scale so I added LightPress.
Here is my question: I thought I was going to see errors because I'm using a modified version of Mike Little's Journalized-Blue wp template but everything is working fine - would I only need to use your template in order to take advantage of lightpress features that I'm not using in this case?
Doug, if you are seeing your blog exactly as it was before installing LightPress, it means LightPress is installed but not active.
A possible reason is that LP is unable to overwrite your .htaccess. Try having a look at the main LightPress plugin page ("LightPress" in the WP admin console) and see if any additional steps are needed, then stop by our forum if you keep seeing WP instead of LP.
hello,
i'm excited to give lightpress a try but after installing it and going to my test lightpress directory i get a bunch of errors like this
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1309
etc
what am i doing wrong?
Jon, what version are you using?
lightpress-1.2.0-b1
and it was a first-time install, not an upgrade (if that's a factor)
i'm sorry, i seem to have forgotten to include this part, which appeared beneath all those "undefined index" errors:
dblite_mysql.query() line 67: cannot execute query SELECT p.id, p.post_name AS name, p.post_title AS title, UNIX_TIMESTAMP(p.post_date) AS tstamp, s.context, COUNT(*) AS hits, (COUNT(*) / (NOW() - p.post_date)) AS freq FROM wp2_stats s INNER JOIN wp2_posts p ON p.post_name=s.postname WHERE s.log_id='jon' AND (s.context='post' OR s.context='static') AND p.post_date BETWEEN '2005-11-15 08:28:20' - interval 60 day AND '2005-11-15 08:28:20' - interval 1 day AND (p.post_status='publish' OR p.post_status='static') GROUP BY p.post_name ORDER BY freq DESC LIMIT 5 (mysql error: Table 'buzz_fukung.wp2_stats' doesn't exist) in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/DBlite/MySQL.php on line 133
My fault, it's the TopRead plugin which is enabled by default and looks for the stats table, which you do not have.
Disable the TopRead plugin or enable the Stats plugin and the problem should hopefully disappear.
thanks ludo! my lightpress page is showing up now :) but i still have 6 of those "undefined index: 0" errors showing up (actually it's a set of 3 twice)
————–
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1309
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1310
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1311
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1309
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1310
Notice: Undefined index: 0 in /home/sites/jon/users/buzz/public_html/pcs/wp-content/plugins/lightpress/classes/Frontend.php on line 1311
Uhm, very strange. It looks like the category of the post LP is trying to render is missing from the categories list. Never seen this one. Will try to debug it tonight…
hmm, well, before you go spending too much time looking at that, i should disclose that the content of my WP was ported in from a script — as far as i know every post has a category which exists in the category list; it's possible a post was assigned a category which isn't in the list, but not likely (or apparent to me thus far). nevertheless i appreciate your efforts here!