Had some problems getting creative commons to install on a clean D7 using the super user account.
There isn't (not sure if there was meant to be) a link under module operations to configure the module. There is a link to help which has a link to admin/config/search/creativecommons and clicking that I get this error

* Notice: Undefined index: mark in creativecommons_license_sort() (line 854 of /public_html/sites/all/modules/creativecommons/creativecommons.module).
* Notice: Undefined index: mark in creativecommons_license_sort() (line 854 of /public_html/sites/all/modules/creativecommons/creativecommons.module).
* Notice: Undefined index: mark in creativecommons_license_sort() (line 854 of /public_html/sites/all/modules/creativecommons/creativecommons.module).
* Notice: Undefined index: mark in creativecommons_license_sort() (line 854 of /public_html/sites/all/modules/creativecommons/creativecommons.module).
* Warning: uksort() [function.uksort]: Array was modified by the user comparison function in creativecommons_get_licenses() (line 818 of /public_html/sites/all/modules/creativecommons/creativecommons.module).
* Notice: Array to string conversion in rdf_preprocess_image() (line 773 of /public_html/modules/rdf/rdf.module).
* Recoverable fatal error: Argument 1 passed to drupal_attributes() must be an array, string given, called in /public_html/includes/theme.inc on line 1517 and defined in drupal_attributes() (line 2258 of /public_html/includes/common.inc).

Besides the standard core modules I have pathauto & Token enabled, I don't have Apachesolr installed

What could be the cause of this?

CommentFileSizeAuthor
#4 1004078_Clean_up_info_file.patch1.02 KBpancho

Comments

mobcdi’s picture

Title: Configure Link missing/ broken » Configure Link missing/ broken and unable to configure module
mobcdi’s picture

Component: User interface » Miscellaneous

I also get this message when I add new content

Notice: Undefined index: #default_value in creativecommons_form_alter() (line 1330 of /public_html/sites/all/modules/creativecommons/creativecommons.module).

sw3b’s picture

Exactly same errors for me !

pancho’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

Let's start with the missing configure link and some cleanup of the info file:
The code register has been rolled back, so only files containing classes need to be registered in the info-file. Also fixed some wrong paths.

sw3b’s picture

It's not working on my side ! First I got error on the website when enabling the module. After flushing cache and re-enable the module the link appears in search section. But when clicking on the link to configure module I got a fatal error on the website.

So, the link is there but the configuration is impossible !

pancho’s picture

Sure. As stated in #4, this one only fixes the .info file.
As these three bugs are completely unrelated, I didn't want to roll them into one single patch, so #1107588: Error in creativecommons_license_sort() is the second issue, and #1004078: Error on admin/config/search/creativecommons is the third issue.

sw3b’s picture

OK so for the .info I think it is solve ! ;o)

kreynen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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