Closed (won't fix)
Project:
Custom Formatters
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2011 at 16:59 UTC
Updated:
11 Sep 2011 at 06:59 UTC
Fatal error: Class 'ctools_export_ui' not found in (...)/sites/all/modules/custom_formatters/plugins/export_ui/custom_formatters_ui.class.php on line 6
appears since last update
running :
Chaos tool suite 7.x-1.0-beta1
Custom Formatters 7.x-2.0-beta1
Comments
Comment #1
Jerome F commentedI had to go back to custom_formatters-7.x-1.x-dev.tar.gz to use my site again.
So I guess I just have to uninstall it and create all the custom formatters again in the new version, isn't it?
Comment #2
decipheredJerome,
As there is currently no upgrade path, and there may not ever be as 7.x-1.x-dev was never an official branch, the only option at the moment is to uninstall and reinstall.
The Formatters code itself is mostly backwards compatible, but will likely need re-writing due to the different structure of the $variables object anyway.
While this may sound bad to you, 7.x-1.x-dev should never have been used, as devs in general shouldn't be used, but I understand that it was the only option that I had provided. Spending the time to make certain that a version that was never officially supported is upgradable is not something that I see the need to do, it will add unnecessary cruft to the codebase and slow down the release of the much needed 7.x-2.x branch.
I apologize if my decision puts you out, but it was a judgement call that had to be made.
Cheers,
Deciphered.
Comment #3
Jerome F commentedIt's ok I agree totally, I use devs at my own risks and there's no problem in uninstalling and doing it again. I did it and it worked. Thank you. The module is very powerfull and I like it, no need to apologize, really! Cheers
Comment #4
TimelessDomain commentedCan we please mention that there is no upgrade path on the project homepage? That way people will not make the mistake of attempting such. thanks
Comment #5
decipheredI'm still deciding how to play this.
My gut says that a maximum of 200 people ever using the 7.x-1.x-dev, and that it being a dev means that I can pretend it never happened. But it also says the the people using the dev are the loyalist of users and that I shouldn't ignore them.
Will make a decision shortly.
Comment #6
Jerome F commentedWell how many users out of these 200 actually needs it? If you can spare a lot of time like this to develop the next features, I'm ok with that, who wouldn't be? IMHO we can copy-paste our formatters from one version to the other, it doesn't break the website. That's what I did and it was fine.
Comment #7
tragic.rich commentedHopefully someone can help me out, I upgraded to the latest version of custom formatters and now my entire site is throwing an error. I can't access any admin pages, and removing the module files does not help. Here are the errors I am receiving:
Fatal error: Class 'ctools_export_ui' not found in *****/sites/all/modules/custom_formatters/plugins/export_ui/custom_formatters_ui.class.php on line 6
If I remove the module, or downgrade to 1.x I get this:
Fatal error: require_once() [function.require]: Failed opening required '*****/sites/all/modules/custom_formatters/plugins/export_ui/custom_formatters.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in *******/sites/all/modules/ctools/includes/plugins.inc on line 467
I assume I had 1.x and moved to 2.x...
I don't mind recreating my custom formats, but I need to be able to access my admin.
Comment #8
decipheredDid you uninstall 1.x before installing 2.x?
If not, try that.
Comment #9
tragic.rich commentedI swear I did..
but I tried it again and it worked! Thanks for the quick response!
Comment #10
troybthompson commentedApparently I made the same mistake. How are you able to uninstall when the pages don't load? Thanks!
Comment #11
troybthompson commentedNevermind, I got it working again.
Comment #12
Jerome F commentedIf you did download 2.x and you're stuck, download 1.x version again put it in your module folder, then make sure you backup your custom formatters somewhere, uninstall custom formatters (not just disable it) and then you can replace 1.x with 2.x and install it and create your custom formatters again.
Comment #13
decipheredMarking as won't fix again.