Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
WP Upgrade to 3.1 breaks DCG
Status: closed
February 26, 2011
11:27 am
flashpackerhq
Guest

Hey all,

I just upgraded to WP 3.1 and it caused the to break up. I'm more of a cut-and-paste blogger and while I follow instructions quite well, I don't think I understand enough to trouble shoot this.

I'd had it set up to display images from a "photo of the day" category and also had other code set to remove that category from the home page display. Essentially, the gallery would display 5 images from that category and the rest of my posts would be displayed below the DCG. Now, the DCG isn't loading anything, and that category is being displayed on the home page.

I double checked to make sure the all the code is still in the custom functions file and it's all there. I don't really know where to go from here.

Site: http://flashpackerhq.com

Ideas?

-Travis

February 26, 2011
6:41 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

Travis,

Looks like a javascript conflict with another plugin. (DCG works fine with WP 3.12, so something else is the cause of your problem).

Try switching the DCG to jQuery (DCG Settings page > Javascript Options tab), or disable other plugins until you find the culprit.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
February 26, 2011
7:01 pm
flashpackerhq
Guest

I'll that a shot right now, but why would it have worked previous to my upgrading WP and then not afterword? Does the upgrade reset something?

-T

February 26, 2011
7:07 pm
flashpackerhq
Guest

Hmm.. Switching to jQuery fixes the gallery, but does a strange thing – as the site is loading, it shows the first featured post and loads that completely before then popping the gallery up above the posts. This wasn't happening before.

Also, I realize it wasn't DCG code, but the code that was keeping the "Photo of the Day" category isn't working either. I figured that was affected by the upgrade as well, so was probably the same issue.

I'll switch back to moo and see if it's a plugin issue, but need to sleep before that. Will try again tomorrow…

Thanks!

-T

February 26, 2011
9:28 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

flashpackerhq said:

I'll that a shot right now, but why would it have worked previous to my upgrading WP and then not afterword? Does the upgrade reset something?

-T


I suspect you have upgraded another plugin at the same time as upgrading to WP3.1. As mentioned, DCG works fine (mootools or jQuery) with a clean WP3.1 install.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
February 27, 2011
7:23 am
flashpackerhq
Guest

Okay, I did what you suggested and, deactivated all plugins but the DCG – no effect at all.

Not sure what the next step is. Ideas?

-T

February 27, 2011
11:20 am
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

Looking at your site now, DCG seems to be loading fine with jQuery.

I notice that there are a few jQuery scripts (including more than one version of jQuery itself) being loaded into your header. These will cause problems with mootools. The question is whether they are loaded by other plugins or your theme.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
February 27, 2011
3:59 pm
flashpackerhq
Guest

So, yes, it loads with jQuery but it does that jump thing I mentioned above. Also, having the "photo of the day" title in the upper corner looks much worse in jQuery so I just turned off that display.

If it's multiple scripts being loaded, how do I resolve the issue? Are they duplicates and can therefore be removed? (and if so, how do I remove them?)

I just don't understand why it all was working prior to my upgrade and not afterword. What would have changed?

-T

February 27, 2011
5:49 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

flashpackerhq said:

I just don't understand why it all was working prior to my upgrade and not afterword. What would have changed?

-T


Nothing should have changed.

I can't see the "jump" thing you mentioned, even after clearing my browser cache, though you may be on a slower connection than me.

Looking at your Page Source, something is loading jQuery 1.3.2 into your header. Looks like it is being loaded by a plugin, or has been hardcoded into your theme. Can you post your header.php here?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
February 27, 2011
6:32 pm
flashpackerhq
Guest
10

Yeah, I was thinking that, though I'm also a little afraid of testing as I only have Safari and Firefox on a mac to test with. I'd bet the "jump" is due to a slower connection, but it didn't happen before. I'd still like to get all the code working. Thanks for your help Ade!

What does a "call" for jQuery look like? Maybe I can go through the code in my custom_functions.php file and see what might be pulling it in?

Here's the contents of my header.php file:

<?php

function thesis_header_area() {
thesis_hook_before_header();
thesis_header();
thesis_hook_after_header();
}

function thesis_header() {
echo "\t

\n";
thesis_hook_header();
echo "\t

\n";
}

function thesis_default_header() {
thesis_hook_before_title();
thesis_title_and_tagline();
thesis_hook_after_title();
}

February 28, 2011
7:02 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline
11

Which version of Thesis are you using?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
February 28, 2011
7:38 pm
flashpackerhq
Guest

I was using Thesis 1.7 but am now starting the process for upgrading to 1.8. I'll post here once it's up and see what the results are.

March 1, 2011
8:34 am
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline
13

Ok, great!

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
March 1, 2011
9:03 am
flashpackerhq
Guest
14

Upgrade to 1.8 went smoothly but didn't fix the issue :(

Going to try a few other things and see if anything works and then I'm giving up :(

-T

March 1, 2011
10:21 am
flashpackerhq
Guest
15

Okay, things are back to "normal"

I hunted down a solution to the category exclusion issue here:
http://blogmum.com/2009/04/how-to-exclude-categori…..ment-30883

It turned out to be a bug that WP is aware of and hopes to fix in 3.1.1.

And since DCG works with jQuery I'll keep it there instead of mootools.

Thanks for all your help Ade!

-Travis

March 1, 2011
8:23 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline
16

Travis,

Thanks for posting back. Well done tracking down the issue. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

speedyp: 12

sjpeaches: 12

CherylMcL: 10

gscorp: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1300

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 980

Posts: 4303

Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert

Moderators:

Administrators: Ade (2497)