Closed (works as designed)
Project:
Views Gallery
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 May 2012 at 10:29 UTC
Updated:
23 May 2012 at 10:34 UTC
After enabling the module, a lot of php 'notice: undefined' pop up at different places.
(download through drush, enabled manually, one by one)
I will be rebuilding the gallery concept manually or chose an alternative, unless these notices ring a bell for someone for a straightforward solution.
Maybe this is something very obvious :)
enabling the module:
notice: Undefined index: url_str in /var/www/d6/wwwroot/sites/all/modules/cck/content.module on line 99.
notice: Undefined index: url_str in /var/www/d6/wwwroot/sites/all/modules/cck/content.module on line 99.
notice: Undefined variable: blocks in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 114.
notice: Use of undefined constant COMMENT_NODE_DISABLED - assumed 'COMMENT_NODE_DISABLED' in /var/www/d6/wwwroot/sites/all/modules/views_gallery/views_gallery.install on line 43.viewing an empty gallery (auto-created):
user notice: The custom_pagers_get_list_from_view() function called token replacement with an array rather than a string for $text in /var/www/d6/wwwroot/sites/all/modules/token/token.module on line 263.
notice: Undefined offset: 0 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 233.
notice: Undefined offset: 0 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 234.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 235.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 236.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
user notice: The custom_pagers_get_list_from_view() function called token replacement with an array rather than a string for $text in /var/www/d6/wwwroot/sites/all/modules/token/token.module on line 263.
notice: Undefined offset: 0 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 233.
notice: Undefined offset: 0 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 234.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 235.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 236.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined offset: -1 in /var/www/d6/wwwroot/sites/all/modules/custom_pagers/custom_pagers.module on line 241.
notice: Undefined variable: title in /var/www/d6/wwwroot/sites/all/modules/views_attach/views-attach-display-node-content-view.tpl.php on line 30.
viewing an image:
user notice: The custom_pagers_get_list_from_view() function called token replacement with an array rather than a string for $text in /var/www/d6/wwwroot/sites/all/modules/token/token.module on line 263.
user notice: The custom_pagers_get_list_from_view() function called token replacement with an array rather than a string for $text in /var/www/d6/wwwroot/sites/all/modules/token/token.module on line 263.
viewing gallery-list:
notice: Undefined index: size in /var/www/d6/wwwroot/sites/all/modules/views/includes/view.inc on line 1840.
notice: Undefined index: size in /var/www/d6/wwwroot/sites/all/modules/views/includes/view.inc on line 1840.
notice: Undefined index: size in /var/www/d6/wwwroot/sites/all/modules/views/includes/view.inc on line 1840.
notice: Undefined index: size in /var/www/d6/wwwroot/sites/all/modules/views/includes/view.inc on line 1840.
notice: Undefined index: size in /var/www/d6/wwwroot/sites/all/modules/views/includes/view.inc on line 1840.
notice: Undefined index: size in /var/www/d6/wwwroot/sites/all/modules/views/includes/view.inc on line 1840.
notice: Undefined variable: title in /var/www/d6/wwwroot/sites/all/modules/views_attach/views-attach-display-node-content-view.tpl.php on line 30.
There are more notices when toggling the feature.
Active modules:
projects[admin_language][version] = "1.4"
projects[admin_menu][version] = "1.8"
projects[adminrole][version] = "1.3"
projects[advanced_help][version] = "1.2"
projects[backup_migrate][version] = "2.5"
projects[ctools][version] = "1.8"
projects[cck][version] = "2.9"
projects[custom_pagers][version] = "1.0-beta2"
projects[devel][version] = "1.26"
projects[features][version] = "1.2"
projects[filefield][version] = "3.10"
projects[http_request_fail_reset][version] = "1.0"
projects[imageapi][version] = "1.10"
projects[imagecache][version] = "2.0-beta12"
projects[imagefield][version] = "3.10"
projects[maillog][version] = "1.x-dev"
projects[module_filter][version] = "1.7"
projects[nodereference_url][version] = "1.11"
projects[noreqnewpass][version] = "2.0"
projects[simplemenu][version] = "1.15"
projects[strongarm][version] = "2.1"
projects[token][version] = "1.18"
projects[vertical_tabs][version] = "1.0-rc2"
projects[views][version] = "2.16"
projects[views_attach][version] = "2.2"
projects[views_gallery][version] = "2.0-beta2"
Should I be using some older module versions?
Comments
Comment #1
devyd commentedUpdate: The full gallery display now works, after I deleted a content type with an old field named "image". A leftover from previous Imagecache experiments. (maybe this kept the views field format from being set to the correct format during install)
Also the custom pager was registered twice and I did not notice that earlier.
I am thinking about ignoring all remaining php notices.
Great work with the module and feature solution :)
Comment #2
devyd commentedPreparing a patch for custom_pagers targeting another one of those undefineds.
Comment #3
devyd commentedI think we tracked down most of the issues. None of them seems to be specifically views_gallery related but issues for other projects, or are not really breaking anything badly. Thanks.