Hi,

I need a little help. I had an advanced slideshow working based on news_items view. My database was named database1. DDblock was working great.

Then... I migrated the site to a new hosting provider. I needed to change the database name to user1_database. I exported the sql from phpmyadmin. Then I changed domain name from devsite.org to site.org with search and replace in the SQL export. I also searched and replaced my dev path /var/www/ to the production path of /home/user1/public_html.

Once migrated, I viewed the site and ddblock was working as I expected. Here's where the problem begins. I selected configure block and changed the transition time on the scroll effect from 500 to 1000 and saved. This broke the ddblock display. Only the content portion will not display. The pager items display as they did before. Viewing the page source shows the content images and slider text, but it isn't displaying.

I've recreated this problem on my dev instance, and confirmed that any change to the block config breaks the display. It appears to occur after a database save or update operation although i am not sure.

I've tried removing the module and reinstalling, creating a new instance of ddblock. None of this works.

I'd appreciate any advice anybody has.

Thanks,
Jon

CommentFileSizeAuthor
#2 drupal_set_message-output.txt1.99 KBjmiaog
#2 template.php_.txt11.82 KBjmiaog

Comments

ppblaauw’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Do you have a link to the Internet site?
Can you uncomment the drupal_set_message lines in the preprocess functions.
Can you attach the result and your template.php file, so I can help you better.

jmiaog’s picture

StatusFileSize
new11.82 KB
new1.99 KB

My dev site is http://habitatguam.dnsdojo.com:8000/

The ddblock is configured to display on the frontpage in a panel page.

I have attached the template and drupal output.

I am using upright30 at the moment.

Thanks for your help..

ppblaauw’s picture

There is a JSON parse error in the custom field in the ddblock slideshow configuration page, that is why the javascript for the slideshow functionality is not called further.

it contains:

\x26nbsp;

which is a space.

Can you delete the space here. (maybe it is added by a wysiwyg editor)

Hope this helps you further, please let me know.

jmiaog’s picture

Status: Postponed (maintainer needs more info) » Fixed

You got it. That was the problem.

I removed the &nbsp from the custom options section and ddblock works now.

For some reason fckeditor was dropping it back into the editor when the block settings loads. Even after I removed it and saved. Weird, that it didn't do this until I migrated the DB.

I very much appreciate the assistance.

Thanks,
Jon

ppblaauw’s picture

Title: ddblock won't display content after site migration » ddblock won't display content after site migration (Fixed)

changed issue title

Status: Fixed » Closed (fixed)

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