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 817
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.
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.
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 817
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?
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 817
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.
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.
Developing plugins for the community represents a considerable investment of my time and energy. If you have found these plugins useful, please consider making a donation to help support future development. Your support will be much appreciated. Thank you!