I followed the manual creation of Content Types, News Item Views and everything in the instruction tutorial.I changed the preprocess functions and checked my site. First I must say I am grateful that my pictures show on the webpage. But the appear as alist. All of the images I uploaded are seen as a list. What can I do to make my Advanced Dynamic Display Block Slideshow to work?
After configuring the Filter -Node Type this is the error message that I get

* user warning: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for

operation '=' query: SELECT s.uid, v.updated FROM views_object_cache v INNER JOIN sessions s ON v.sid = s.sid

WHERE s.sid != '638a87a633784a9bb4c3a82eef37a091' and v.name = 'news_items' and v.obj = 'view' ORDER BY

v.updated ASC in /home/filmsfor/public_html/sites/all/modules/views/views_ui.module on line 236.
* user warning: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for

operation '=' query: SELECT s.uid, v.updated FROM views_object_cache v INNER JOIN sessions s ON v.sid = s.sid

WHERE s.sid != '638a87a633784a9bb4c3a82eef37a091' and v.name = 'news_items' and v.obj = 'view' ORDER BY

v.updated ASC in /home/filmsfor/public_html/sites/all/modules/views/views_ui.module on line 236.

Comments

Nairaman’s picture

I forgot to add that the website can be found at http://www.filmsforchangenigeria.org

I hope this is allowed (Editing and adding comments that is)

Anyway I have been twiddling with the code and other stuff and even ntried to put FPSS on the site. I really dont know or cant remember what I did but Hey Presto!!! Dynamic Display Block Slideshow is on my site. It is cycling through the different images( I see it on the number pager) but.......there are no images. I see the grey box .....(ah ha!!) now I understand all those posts about grey box. Another thing is that all the images that should be inside the Dynamic Display Block Slideshow are all listed on top of the slideshow block. I have to scroll right down to the last image before I see the grey box.

I really am feeling good. It shows that I am not as thick headed as my second son makes me out to be. Yes I really am happy that at least after almost 1 year of trying I am getting some positive results. So please help. What can I do to put the images into the grey box?

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

You can have a look at the faq question: Images not showing, only grey box.

Hope this helps you further, please let me know.

Nairaman’s picture

StatusFileSize
new8.41 KB

Thanks for your reply. I have checked the FAQ. In point no 3..._fid for the image in the SQL statement of the preview of the view. The Group multiple values checkbox needs to be unchecked. Where do i get the SQL statement?

Also I checked some other posts and issues and I saw this >>......In your case, to show the images in the ddblock slideshow, you need to change all occurrences of:

node_data_field_image_field_image_fid

to

node_data_field_pager_item_text_field_image_fid

Looking at my template.php file it looks alright to my inexperienced eyes. It really is sort of confusing. Like I mentioned before ALL the Images appear as a list. Could you please check the site www.filmsforchangenigeria.org
and also the template.php file. I know you must be inundated with thousands of requests. So maybe you could ask one of the many people who understand it to look at the site and help me fix the problem.
Once again I am going to attach the template.php file

ppblaauw’s picture

Could you uncomment the drupal_set_message lines in the preprocess functions and attach the result.

Nairaman’s picture

StatusFileSize
new8.49 KB

I have uncommented the drupal_set_message lines in the two preprocsss functions. I now attach it

Nairaman’s picture

Please help. I am going over your Advanced Dynamic Display Block Tutorial. After configuring the Views Module right up to Defaults:Configure filter Node:Type I get a big Error Message all printed in red!!. What could this mean, What have I done that I shouldnt have done? Or what should I do that I have not yet done? The error message that I get is pasted here below

[ERROR MESSAGE]
* user warning: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' query: SELECT s.uid, v.updated FROM views_object_cache v INNER JOIN sessions s ON v.sid = s.sid WHERE s.sid != '9363f96b70fbad9ca0c3c95fd0dba3f1' and v.name = 'news_item' and v.obj = 'view' ORDER BY v.updated ASC in /home/thenolly/public_html/sites/all/modules/views/views_ui.module on line 236.
* user warning: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' query: SELECT s.uid, v.updated FROM views_object_cache v INNER JOIN sessions s ON v.sid = s.sid WHERE s.sid != '9363f96b70fbad9ca0c3c95fd0dba3f1' and v.name = 'news_item' and v.obj = 'view' ORDER BY v.updated ASC in /home/thenolly/public_html/sites/all/modules/views/views_ui.module on line 236.

Nairaman’s picture

StatusFileSize
new8.41 KB

I tried to create the Dynamic display block slideshow on another site.
I tried putting the advanced Dynmic display block in a Node. I get this error message
<>
Please what does this mean and how can I get the grey box to show like it did on my other site. The current site is www.thenollywoodhouse.com. I have also attached the template.php file for this attempt.

ppblaauw’s picture

#5
Can you attach the result of the drupal_set_message lines. Not the template.php file (reload the page with the slideshow and the result should be shown there)

#6 seach google on: user warning: Illegal mix of collations drupal, its not ddblock related.

#7

if you mean the error:

Parse error: syntax error, unexpected ';' in /home/thenolly/public_html/includes/common.inc(1648) : eval()'d code on line 2

what I see at your site, have a look the the file in the error message and the given line number.
Also for this site can you attach the result of the debug lines when you uncomment them.

Nairaman’s picture

I reloaded the page and went to my cpanel-filemanager- and found the drupal set message lines. I uncommented them and this is what i get. I have copied and pasted the two drupal_set_messages for the two preprocess functions
<<
drupal_set_message('

' . var_export($vars['settings']['view_name'], true) . '

');
drupal_set_message('

' . var_export($vars['content'][0], true) . '

');
if ($vars['settings']['view_name'] == 'news_items') {
if (!empty($vars['content'])) {
foreach ($vars['content'] as $key1 => $result) {

drupal_set_message('

' . var_export($vars['pager_settings'], true) . '

');
drupal_set_message('

' . var_export($vars['content'][0], true) . '

');
if ($vars['pager_settings']['view_name'] == 'news_items') {
if (!empty($vars['content'])) {
foreach ($vars['content'] as $key1 => $result) {>>>

Thanks for being patient and helping me out with the problems that I have.

ppblaauw’s picture

The result of the drupal_set_message lines should be similar like:

array (
'delta' => '3',
'output_type' => 'view_fields',
'pager' => 'custom-pager',
'pager_container' => NULL,
'pager_event' => NULL,
'pager_height' => 63,
'pager_width' => 195,
'imgcache_pager_item' => '',
'pager_position' => 'top',
'template' => 'upright50',
'custom_template' => NULL,
'view_name' => 'news_items',
)

stdClass::__set_state(array(
'nid' => '72',
'node_title' => 'Red Dodge Viper',
'node_data_field_pager_item_text_field_pager_item_text_value' => 'Red Viper',
'node_data_field_pager_item_text_nid' => '72',
'node_type' => 'ddblock_news_item',
'node_data_field_pager_item_text_field_slide_text_value' => 'This is a red Dodge Viper',
'node_data_field_pager_item_text_field_image_fid' => '8',
'node_data_field_pager_item_text_field_image_list' => '1',
'node_data_field_pager_item_text_field_image_data' => 'a:3:{s:11:"description";s:0:"";s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
'node_revisions_body' => 'This is the second try and a news item content type with a red Dodge Viper instead of a blue one. We shall see if this works... I have my doubts.',
'node_revisions_format' => '1',
'node_created' => '1237990114',
))

Did you create a ddblock instance?
You need to place the ddblock instance in one of the regions, not the block generated by the block display.

Nairaman’s picture

I probably will sound dumb and ignorant but I will not be ashamed to say that I really dont know where to find the drupal_set_message lines that you mention. So please help me once again. Where can i find the drupal_set_message lines?

I just noticed that the Dynamic display block slideshow grey box appears on all my pages. Even all the admin pages.I just mention this incase it will help you to understand what is happening on my site with the ddblock so that I too can understand it and so get the ddblock slideshow to work