See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

commn.inc error

Hi

I upgraded my drupal to 4.7.5 and now I get this error:

[client 74.6.73.122] PHP Parse error:  parse error, unexpected T_STRING, expecting ',' or ';' in /var/www/html/portal/includes/common.inc(1196) : eval()'d code on line 2

If somebody can help .... or know the problem ...

Thank you in advance.

icons not displayed after Clear Url is enabled

Hi,

Icons are not shown on some pages after activating clear URL.
It is quite interesting that the image path is same before & after Clear URL..
It seems to be happening due to some tag missalignment.

Is there any way to fix this problem?

Thanks in advance...

cheers,
Sumeet Anand

Two semi colons end of line

I have noticed on line 413 in 4.7.3 (haven't checked others) that there is a line with two semi colons at the end (in node_save)

if (empty($node->nid)) {
    // Insert a new node.
    $node->is_new = true;

    $node->nid = db_next_id('{node}_nid');
    $node->vid = db_next_id('{node_revisions}_vid');;
  }

Can anyone explain what functionality this serves?

I'm guessing it adds a blank statement... but why?

I hope this hasn't been covered before, I tried searching everywhere for an answer.

Drupal architecture redone with Object Orientation?

It's really a pipe-dream, considering how deeply ingrained the present architecture is in the very core of Drupal.

But looking a bit more closely, there already is a kind of pseudo-object-orientation in the architecture: Function names are prefixed with category names (module name, theme name, "drupal_"), similar to static member functions of a class. Nodes are handled as objects already, it seems.

So the only real disadvantages (apart from changing all the code) would be:

Problems with v. 5. Missing links

I have just upgraded to v. 5
My problem is that when I for example write an article, in the menu below. These are suppose to be link tha expand when i click them, but it seemed they arent linked?

Look at this picture:
www.nokiabilder.com/diverse/nolink.JPG

Whats wrong?

How to check whether a user may logout or not?

Greetings,

How can I check whether user is allowed to logout (close session) or not? In my project I have operators and messages (CCK nodes) assigned to them. I need to create a specific logic - something like 'operator may not close session until he specify _something_ in all his assigned messages'.

I found that user 'logout' hook will not help because it is called after the logout is already performed (just like login hook).

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core