PHP
fb.connect.logout doesn’t work (doesn’t log user out of facebook)
I’ve been doing a Facebook Connect implementation using CakePHP and was having no luck using the fb.connect.logout function. I’m not sure whether this qualifies as a bug (dodgy code) or just a case of RTFM (or look at the examples closely) but I simply couldn’t get the fb.connect.logout function to log me out of Facebook [...]
PHP new line not showing in text
Note to self whenever you are experiencing problems with rendering new lines in php e.g. using \n you must wrap these in double quotes not single e.g.
This will NOT work
echo =’My line with a line feed \n’;
This WILL work
echo =”My line with a line feed \n”;
PHP: Call to undefined function mb_strlen()
Simple one but a pain when it arises, mb_strlen() relies on the PHP extension mbstring which is not enabled by default.
Search for extension=php_mbstring.dll in your php.ini, uncomment it and restart Apache, unless you have a non standard install it should work fine from here on in.
Drupal search index not updating (Says “The index will be rebuilt”)
In early days of experimenting wiht Drupal, mostly pretty good news I have to say, I’m enjoying it’s flexibility and the large number of modules that speed things up!
One problem I just came across was that under admin>settings>search the “Re-index site” button was not working when clicked, it just kept repeating “The index will be rebuilt” [...]
Drupal installation fails at Database configuration
Trying to install Drupal? Failing at the Database configuration stage?
Read the manual!
Or, when you fail to do that properly refer to posts like this:
http://drupal.org/node/484534#comment-1675612
As it says:
default.settings.php isn’t supposed to be “changed” it is supposed to be copied and renamed settings.php
this in sites/default you should have 2 files default.settings.php and settings.php
This is exactly the opposite of [...]
