installed the 4.7 version of Delicious module in a Drupal 4.7.3 installation; databases were created, configurations were saved normally on admin/modules page.
could not find a Delicious entry in Admin/Settings

this is a potentially great module - anxious to be able to use it!

thanks,
will taylor

CommentFileSizeAuthor
#6 delicious_settings_and_user.patch11.96 KBthe greenman

Comments

aitiba’s picture

I have the same problem but after activate delicious module I receive a white page. Then I go to admin module and the module is active and the tables created but the administration menu doesnt appear.

I`m using drupal 4.7.3 on debian stable with 4.7.0 module.

simillibus: if you can contant with me.

Thanks. aitiba

captainmish’s picture

Same problem here. I made the mistake of activating the module before adding the sql for mysql, not sure if this could have caused it. There is no delicious entry under "settings". When I go to http://mysite.com/settings/delicious I get:
Fatal error: Call to undefined function: node_list() in [snip] /modules/delicious/delicious.module on line 92
I am using 4.7.3 with delicious 0.6 (delicious4.7.0.tar.gz)

jrstmartin’s picture

Yup, me four. No administer > settings > delicious just administer > delicious blocks. I'm using 4.7.3.

_/03

hongpong’s picture

i am having the same problem, installed from the CVS version on drupal 4.7.3. it lets me make the blocks but not see the settings. when i force it to go there by typing in
http://www.hongpong.com/admin/settings/delicious
i get the following in my CGI error log
PHP Fatal error: Call to undefined function: node_list() in .../htdocs/modules/delicious/delicious.module on line 79

i can provide more info if useful...

the greenman’s picture

Title: in Drupal 4.7.3, no Delicious entry in Settings » Patch for settings page (also includes user errors fix)
StatusFileSize
new11.96 KB

The problem with the settings page is that it was declared in the menu definitions. You first need to remove it from delicious_menu.
There is also a problem with node_list, which no longer exists in 4.7.

vikramsurya’s picture

Title: Patch for settings page (also includes user errors fix) » Patch for settings page (also includes user errors fix) < still not working?
Priority: Normal » Critical

Module cannot be activated as it stands (with or without patch).

I think the patch isn't entirely right, still uses deprecated node_name in function delicious_settings

I tried this:

function delicious_settings {
  foreach (node_get_types() as $type => $name) {
    $node_type = node_invoke($type[$node->type]['name'], 'node_info');
    $nodes[$type] = t($node_type ? $node_type : $type[$node->type]['name']);

//... 
return $form;
}

It's a little better -- at least it got the settings page to appear when it is directly requested at admin/settings/delicious (but still does not appear in admin/settings menu), but content of page only reads "Array". No form there. Why would it just return "Array"?

digitalfrontiersmedia’s picture

Status: Active » Needs review

I believe you're simply missing the return argument. Try:

function delicious_settings($form) {

instead of:

function delicious_settings {

This seems to have worked for me. Delicious admin settings form now appears.

digitalfrontiersmedia’s picture

Status: Needs review » Active

My bad. Above is not the answer but according to my error reports, an argument is missing from the _settings().

digitalfrontiersmedia’s picture

What about this?

function delicious_settings() {
 foreach (node_get_types('name', $node) as $type => $name) {

I think the missing argument was for the "node_get_types()" as it was listed before.

Anonymous’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.