Reading Time: < 1 minute
Easy!
sudo apt-get install lamp-server^
Be careful not to delete the ^ character.
This will install:
Reading Time: < 1 minute
Easy!
sudo apt-get install lamp-server^
Be careful not to delete the ^ character.
This will install:
Reading Time: < 1 minute
Login and re-login and re-re-login in phpmyadmin is a huge pain.
Here is the way to extend sessions duration.
Open the file config.inc.php in /usr/share/phpmyadmin or in /etc/phpmyadmin
Add the following line:
$cfg['LoginCookieValidity']=86400;
And in php.ini, modify the following line:
session.gc_maxlifetime = 86400
Restart apache.
apache2ctl restart
You now have 24h sessions.
Reading Time: < 1 minute
I have had some problem with my Tripit badge on the left of the screen. For some strange reason it wouldn’t load on my Google Chrome. It would load if I would open this page with Firefox or IE though. The weirdest thing is that after loading it from Firefox or IE, I could then load it with Chrome.
So I decided I would take a different approach and cache the badge somewhere.
Here is how to do it:
First get the URL of the javascript file of your badge.
Here is the code of my badge:
Reading Time: < 1 minuteSometimes a drupal theme can be broken and it can be needed to reset the default theme so the site can be accessed again in order to fix the problem.
As a rule of thumb I always try to use the theme "Cube" for the administrive part of drupal. that makes things a lot easier and if you breeak the theme you can at least still use the admin part.
Here is anyhow how to reset the theme using SQL:
Simply execute the three following commands:
UPDATE system SET status=1 WHERE name = 'garland';