drupal

How to successfully run drush commands from crontab?

Drupal throws 404 error after sharing a link on Facebook [Solved]

I had a strange error today. Lukily, a friend of mine warned me about it. I could hardly be aware of it without his help. (Thanks, Iosif!) So...

Why does Drupal 7 throws 404 error (Page not found)?

There could be plenty of reasons, but I guess the reason here is a bit stranger. All urls looked absolutely normal to me. I am using Pathauto with clean urls on. So why only SOME users get the page not found error? While looking at access logs, it seemed absolutely random to me. Of course, I had no 301 or 302 redirection component in case of errors.

I also didn't display a nice and friendly page for 404 errors (I thought I hadn't any). Pretty ignorant, huh? Visitors were discouraged and left away without even bothering to use the search box.

Fix for "Fatal error: Call to undefined function drupal_check_memory_limit()"

After a Drupal upgrade, I got this: Fatal error: Call to undefined function drupal_check_memory_limit() in full_path/modules/system/system.install on line 206.

This is mainly because the update was incomplete. You should update includes directory as well, after updating the core module files.

Disable Spell Checker in CKeditor 3.3.1 (Drupal)

CKeditor interface

Have you ever wanted to completely disable spell check function in CKeditor?

Well, after searching few hours for a solution, I ended up modifying the main plugin file, ckeditor.js, located in the CKeditor root folder (in my case, sites/all/libraries/ckeditor).

By default, this file is minified. If you try to beautify it, it might not work at all, so leave it minified.

Now, look after this string:

Bun venit... din nou

Intrucat am renuntat la gazduirea site-ului la Hostgator (din cauza unor neintelegeri si a reactiei intarziate la mailurile catre echipa de suport tehnic), am decis sa mut domeniul pe un server VDS pe care mai tin si alte cateva site-uri.

Totodata, am pierdut si vechiul site, facut pe nucleu de Joomla 1.5 si am ales pentru noul site framework-ul Drupal.

Subscribe to RSS - drupal
 

Portfolio

Samples of work done for me or my customers, for free or not, like websites, repairs, photography etc.
View all my recent work

 

Tutorials

I'm giving away some knowledge in my areas of expertise. Did you like something here? Share it please!
View all tutorials

 

Snippets

Useful Linux commands or other code snippets I often use.
View my useful shortcuts

 

Resources

Few bookmarks I find useful. Do you want website here? Give me a good reason and I can help you.
View my favourite web resources

About me

Hi there! My name is Marius Cârneală.

About me?

Loving husband, dad of one two three, drone pilot, web designer and administrator, SEO specialist, IT support guy, electronic hobbyist and content writer. This list is open.