Post thumbnail of Install phpMyFAQ from scratch
14 May 2009
Continue reading Install phpMyFAQ from scratch

Install phpMyFAQ from scratch

There’s a few packages you might not have installed that you’ll need before php phpMyFAQ will install. On a basic, headless virtual machine, I don’t install a web server, php or databases by default. So I’ll start from there.

Post thumbnail of Failed to write session data for php with lighttpd
11 May 2009
Continue reading Failed to write session data for php with lighttpd

Failed to write session data for php with lighttpd

I moved a database over to another server and setup php and lighttpd, but authentication for my app wasn’t working.

Post thumbnail of I configured $wgSMTP in LocalSettings.php, but password resets just weren’t working…
11 March 2009
Continue reading I configured $wgSMTP in LocalSettings.php, but password resets just weren’t working…

I configured $wgSMTP in LocalSettings.php, but password resets just weren’t working…

I had $wgSMTP set up to talk to a remote exchange server, but password resets just weren’t working from the wiki. It turns out all I was missing was the ‘php-pear-Mail package’ (in fedora, for debian or other systems it may be a different package name). I started by checking any logs related to this problem… mail.php missing in UserMailer.php - dependency problem

Post thumbnail of Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users
10 March 2009
Continue reading Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users

Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users

I wanted to simplify the toolbox for a special purpose wiki, but everywhere I searched all I could find was how to change the name of the toolbox, or how to show it only to logged in users, etc. To delete one of the default toolbox links, just change the data value to something it will never see. You could remove the if statements completely for each link you want removed, or just change the data value to something that will never result in entering the if statement. It’s less intrusive than removing the code completely. Either way, you won’t be deleting the toolbox function, only the link from the interface — which is exactly what I wanted. If you want to trim the navigation part of the sidebar, that’s built right in. Just go to Mediawiki:Sidebar and edit that page.

Post thumbnail of Install Mediawiki and Lighttpd on Fedora 10
4 March 2009
Continue reading Install Mediawiki and Lighttpd on Fedora 10

Install Mediawiki and Lighttpd on Fedora 10

blah blah, mediawiki http://blog.rootninja.com, And finally, “To complete the installation, move config/LocalSettings.php to the parent directory.” just like it says…

Post thumbnail of Remove lines in your php files that reveal your WordPress version
6 December 2008
Continue reading Remove lines in your php files that reveal your WordPress version

Remove lines in your php files that reveal your WordPress version

Get rid of this line in all your WordPress php files
<meta name=”generator” content=”WordPress <?php bloginfo(’version’); ?>” /><!– leave this for stats please –>
When wordpress comes out with a new version, part of the update is usually fixing an exploitable bug.  The bug may allow a hacker to access your wp-admin …

 Page 2 of 2 « 1  2 
Powered by Wordpress   |   Lunated designed by ZenVerse