Yes, though I don't think ClassExtender will work then unless you create a snippet that loads the clearing the setting altogether and visiting the Extend modUser page again (and opting to register the package).
Same problem with modX 2.3.1
[2014-08-04 23:05:05] (ERROR @ /manager/index.php) Path specified for package extendeduser is not a valid or accessible directory: ......./core/components/classextender/model/model/
No double '/model' in 'extension Packages' settings
MODX lover
-
Développeur MODX / Webdesign / Solutions web
2.3 has a new DB table: modx_extension_packages. Removing ClassExtender doesn't clear that (the new version will). Check that table.
Similar error messages .../model/model/ using rev 2.3.1
Solved the issue by changing the namespace 'Core Path', removing '/model' for the component through the manager settings menu/Namespaces
@littleseal: Thanks for the report. Another user reported changing the namespace's core path without success. I've never been able to duplicate the problem, so I'm not sure what the deal is. I also don't know how that Namespace path with /model on the end got there in the first place.
When you say you changed the namespace path, was that the ClassExtender namespace, or the namespace for one of the created object (extendeduser or extendedresource)?
Hi Bob, Sorry, I should have been more specific, I changed the namespace path for a newly created extendeduser object, all database queries work fine now (i.e. getOne() etc.).
I initially changed the extension package path in system settings but to no avail, then found the incorrect namespace path.
I'm not sure how the extra /model popped in either?
Thanks. The strange thing to me is that the sub-objects shouldn't have namespaces at all. The only namespace should be 'classextender'. I'm not sure where any other namespaces would come from.
In any event, the new version (2.0) is due very soon and I don't think it will have this problem.
Ah! Now I remember...
I did initially use your class extender but then had to alter the tables a few times including different objects so I used the 3rd Party Component Build Script to build the component from the schema in Rev version 2.2.15, I then updated to 2.3.1 and this is why the object has it's own namespace but still not sure where the extra '/model' snuck in?
Apologies for the confusion I'd forgotten I took this route!
That makes sense. I actually found one of those namespaces in my own install from when I worked the tutorial in the MODX docs.
BTW, ClassExtender 2.0.0 has been released, though you need to read the upgrade notes at Bob's Guides because some things have changed.