Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






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

WPMU "Partial URL" Error

fixed
UserPost

2:58 pm
February 5, 2010


ChrisCree

Savannah, GA

Member

posts 5

1

I have been getting the following error on a WPMU install of Dynamic Content Gallery:

Warning! You have selected the "Partial" URL option but you have not defined the URL to your images folder in the Image File Management settings.

The error was there prior to upgrading to the latest version of the plugin this morning, but it was only on the settings page and not the post edit page. Since the plugin was working fine and the error was not seen by my clients I ignored it.

Now after upgrading to version 3.2.1 of the plugin (on WPMU version 2.9.1.1) the error shows on the post edit screens as well. This is going to cause problems for my clients as users will see that error and think they are doing something wrong.

The plugin is still working correctly other than this bogus error message. I see elsewhere in the forums where people have had this issue with WPMU and the solution was to delete the plugin files from the plugins directory and install a clean copy from the WP plugin repository. I've done that again but the error message still shows.

How do I make this error message go away?

7:39 pm
February 5, 2010


Ade

Admin

posts 1212

2

Hi,

That is bizarre – clearly that message shouldn't show on a WPMU install.

I'll try to recreate the error on my test server. I'll be back. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

8:52 pm
February 5, 2010


Ade

Admin

posts 1212

3

Chris,

I can't recreate this error on a clean WPMU install and DCG v3.2.1.

I know you mentioned that you had reinstalled the DCG, but I can't help thinking that something didn't go right with the upgrade. Did you upgrade manually, using FTP?

If you're happy to let me take a look behind the scenes, you can send me an admin login and password via PM and I'll take a look.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

1:15 am
February 6, 2010


ChrisCree

Savannah, GA

Member

posts 5

4

I got called out of the office for most of the day. I'll PM you with a login. Thanks for helping out! :)

1:55 am
February 6, 2010


Ade

Admin

posts 1212

5

Chris,

I'm logged in now, taking a look. I can only see the warning message on the main blog DCG Settings page – not on any other admin pages. Is the DCG used on other blogs, or just the main one?

Also, do you have phpmyadmin access? If so, can I? If not, can you go to the wp_options table, grab the contents of the dfcg_plugin_settings item, and paste it here?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

2:14 am
February 6, 2010


ChrisCree

Savannah, GA

Member

posts 5

6

DCG is only used on the Main blog as far as I know. The other place the error message is showing is in the Edit pages for posts/pages.

I'll see if I can't get the contents of that table here in a minute.

2:16 am
February 6, 2010


Ade

Admin

posts 1212

7

Chris,

I've found the problem and, frankly, have no idea how on earth this happened on your install. There is a hidden field in the Settings page form with an id of dfcg-image-url-type. On your site, the value is "partial", whereas normally when run on WPMU this value is blank. The only way I can imagine that this could have happened is if this database was originally populated from a WP database.

If I can get access to your database I can fix it in 10 seconds. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

2:27 am
February 6, 2010


Ade

Admin

posts 1212

8

It's way after my bedtime and I want to get this fixed for you.

Go to the wp_1_options table and find dfcg_plugin_settings. You should see a whole bunch of serialized settings. Look carefully and find buried somewhere in there you should see this:

s:14:"image-url-type";s:7:"partial";

You need to change this to

s:14:"image-url-type";s:4:"full";

Be very careful doing this as the syntax is very precise, eg the S:7 bit indicates how many characters are contained within the following quotes.

Then go back to the DCG Settings page and click Save (don't change any settings, just re-save what's already there). The message should have disappeared and the DCG should still be working fine.

Good luck!

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

2:33 am
February 6, 2010


ChrisCree

Savannah, GA

Member

posts 5

9

Post edited 2:48 am – February 6, 2010 by Ade


Here are the contents of the dfcg_plugin_settings:

(Code removed by Admin – not needed :-) )

2:37 am
February 6, 2010


Ade

Admin

posts 1212

10

Post edited 2:39 am – February 6, 2010 by Ade


Yep, that confirms what I thought. Take a look at my post above where I explain

how to edit a specific part of that string of settings.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

3:24 am
February 6, 2010


ChrisCree

Savannah, GA

Member

posts 5

11

Perfect solution! Had a phone call that got in the way. But as soon as I did what you said above the error went away.

Thank you so much! :)

10:22 am
February 6, 2010


Ade

Admin

posts 1212

12

Great! Glad we got it sorted out. Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?