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?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1004078_Clean_up_info_file.patch | 1.02 KB | pancho |
Comments
Comment #1
mobcdi commentedComment #2
mobcdi commentedI 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).
Comment #3
sw3b commentedExactly same errors for me !
Comment #4
panchoLet'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.
Comment #5
sw3b commentedIt'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 !
Comment #6
panchoSure. 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.
Comment #7
sw3b commentedOK so for the .info I think it is solve ! ;o)
Comment #8
kreynen commented