[Skip Header and Navigation] [Jump to Main Content]

Drupal 6.x

Solving Cron run exceeded the time limit and was aborted Error

Recently i got this error in my log
Cron run exceeded the time limit and was aborted.

apparently it was because i have added a redirect page to keep an old path and avoid 404 error
so i have added a page with php code with a simple drupal_goto()

I have found that this breaks cron.php

I have found here is a simple solution , and here it is

Recently i got this error in my log
Cron run exceeded the time limit and was aborted.

apparently it was because i have added a redirect page to keep an old path and avoid 404 error
so i have added a page with php code with a simple drupal_goto()

I have found that this breaks cron.php

I have found here is a simple solution , and here it is

{syntaxhighlighter brush: php}
<?php
// redirect only if this is not cron script

Drupal website read-only mode to lock site from updates while upgrading

Having a live drupal website, that needs to be upgraded, or just a simple task such as adding Languages or changing a Themes, we would like to hold all content changes, till the work is done.

 

We found a nice module to set the site for Read-Only mode

http://drupal.org/project/readonlymode

 

Using the module is simple, just need to check the box, and the site moves to a Read-Only mode

 

The only thing missing in that module was that it still allows to add comments.

 

New module postiteverywhere

gmaps markers problemon interner-explorer

 

Dark Shaddows on Internet Explorer :-)

We built a drupal site with google maps, and it worked fine on our browsers. However, our customer pointed for us on a big & scarry shaddow where the markers should have seen

 

Aperently he was using ie7, and we found a javascript error in the markers. Doing some research and changes, we returned to the default settings, and suddenly it worked fine.

Talk Module

If you wonder "How to separate user generated content from editorial content", and

build your wiki-style discussion page,

we found a Drupal module - Talk that you can use for building a discussion page from the users' comments

 

 

Here is the link to module Talk

  

Liked it? Have a Question on it?

Write a comment

The Devart Team

function return filepath from file id

We had to use the filepath instead of fid more then once,

Here is a small function we wrote, returning the filepath from the fid

 


/**  * Get filepath by fid  */ 
function filepath($fid) {   
if (is_numeric($fid)) {     
  $filepath = db_fetch_object(db_query("SELECT filepath FROM files WHERE fid = '%s'", $fid));     
if (is_string($filepath->filepath))       
    return $filepath->filepath;     
  else return FALSE;   
} else return FALSE; 
}

<p>

comment form above comments module

How to change the location of the comments?

we found a nice module allowing placing the form of add comment above the comments, here is how it looks like:
:

if you want to try it yourself, visit: comment form above comments

  

good luck

The Devart Team

Why CMS ?
Find why you need a CMS web site
Why Drupal ?
Find why you need a Drupal web site
Why Us ?
Find why DevArt is the company you need

Latest Tweets

DevArt: דרופל הגיע לממשלת ישראל ! http://tinyurl.com/3x5k4zw 5 days 13 hours ago
DevArt: יבוא נתונים וניהול מסדי נתונים בדרופל http://tinyurl.com/35khcav 1 week 4 days ago
DevArt: קביעת שפה הכניסה לאתר לפי ארץ באתר רב לשוני http://tinyurl.com/34ft4s9 2 weeks 5 days ago
DevArt: בניית אתרים דרופל- סיפורי לקוחות מרוצים http://dev-art.net/he/testimonials 3 weeks 3 days ago
Happy customers, tell about their drupal website built with DevArt http://dev-art.net/en/testimonials 3 weeks 4 days ago

Testimony

I have worked with DevArt for over a year and I highly recommend them for any drupal needs.

 

What has impressed me most about Avior, is his loyalty and integrity. He has always been there for my company and because I was a start up company even helped me out on a payment plan. He's also a very hard worker and worked many late nights before my launch

 

Andrew Gitt

Principal & CMO

Story Time For Me, Inc.