Summary | new Tagger.php include |
Queue | Kronolith |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | horde (at) smartsector (dot) hu |
Created | 02/02/2009 (5997 days ago) |
Due | |
Updated | 01/13/2010 (5652 days ago) |
Assigned | 11/04/2009 (5722 days ago) |
Resolved | 11/04/2009 (5722 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Check for, and throw exception if Content_Tagger class cannot be found
from base.php. Temporary measure until Content_* system is better
integrated with framework/autoloading etc...
Bug: 7936http://git.horde.org/diff.php/kronolith/lib/Tagger.php?rt=horde-git&r1=048fd2907ef4ace8bce776d35fff2427ca173825&r2=9e178afdab63f394a5cdf393afabeed5d8a74b5c
http://git.horde.org/diff.php/kronolith/lib/base.php?rt=horde-git&r1=09ec72fad36cbb8f7d3b13531793d55bad790620&r2=9e178afdab63f394a5cdf393afabeed5d8a74b5c
Revert "Autoload Content." See
Ticket: 7936This reverts commit8925854973d1ba488b3f282f4f991d178bf2f52f.
http://git.horde.org/diff.php/kronolith/lib/base.php?rt=horde-git&r1=1ae2116e07c1d6fff4b20a7c9203f6eeb349c4db&r2=3d5cc54f92f2624a1ece227d44a94cf48f281257
Revert "Remove the requirement for a registry entry for content from
the" See
Ticket: 7936This reverts commit85844520fcbb20506880dc41f29ec15d9ca65f53.
http://git.horde.org/diff.php/kronolith/lib/Tagger.php?rt=horde-git&r1=85844520fcbb20506880dc41f29ec15d9ca65f53&r2=3917c030a062a6e00f07960e6361cd01b497ec87
Check for, and throw exception if Content_Tagger class cannot be found
from base.php. Temporary measure until Content_* system is better
integrated with framework/autoloading etc...
Bug: 7936http://git.horde.org/diff.php/kronolith/lib/Tagger.php?rt=horde-hatchery&r1=048fd2907ef4ace8bce776d35fff2427ca173825&r2=9e178afdab63f394a5cdf393afabeed5d8a74b5c
http://git.horde.org/diff.php/kronolith/lib/base.php?rt=horde-hatchery&r1=09ec72fad36cbb8f7d3b13531793d55bad790620&r2=9e178afdab63f394a5cdf393afabeed5d8a74b5c
Assigned to Michael Rubinsky
Taken from Jan Schneider
is that the Content stuff was supposed to be refactored into more of a
framework library at one point, or at least have it more integrated
with the rest of the libraries...but I will make a note of it
somewhere else as well.
(i.e. in registry.php or kronolith/docs/INSTALL).
exist instead of outputting a PHP fatal error message to the AJAX
handler.
Version ⇒ Git master
State ⇒ Feedback
(i.e. in registry.php or kronolith/docs/INSTALL).
Sure, though you can change 'status' to 'hidden' so it won't appear in
the menu.
$this->applications['content'] = array(
'fileroot' => dirname(__FILE__) . '/../content',
'name' => _("Content"),
'status' => 'active',
);
If you need further help, please ask on the mailing list.
kronolit/lib/Tagger.php:
require_once HORDE_BASE . '/content/lib/Users/Manager.php';
require_once HORDE_BASE . '/content/lib/Types/Manager.php';
require_once HORDE_BASE . '/content/lib/Objects/Manager.php';
require_once HORDE_BASE . '/content/lib/Tagger.php';
I see there's the autoloader, but doesn't work for me.
State ⇒ Resolved
configured to look in HORDE_BASE . '/content/lib' for Content_*
libraries. Content is in the hatchery, so it would not be present in
HORDE_BASE for a standard out of the box checkout without either
copying it or symlinking it into HORDE_BASE....or am I missing
something?
un-symlinking kronolith and just pointing the registry entry for it
elsewhere lately, in combination with base.local.php.
Also, content is generally a library, yes, but it will need a registry
entry so that the routes work for the web ui pieces of it.
now need to be symlinked into the horde root.
the same directory like content.
nowl need to be symlinked into the horde root.
rule is no longer necessary once content is at a regular place that
can be autoloaded. It's never supposed to be a standalone application,
right? Then is should end up in the include_path, unless I am missing
something.
State ⇒ Feedback
now? The registry method is much more flexible.
kronolith db was newly initialized with the mysql script after we
changed to the development code of kronolith, so I don't understand
this...
Fatal error: Uncaught exception 'Horde_Db_Exception' with message
'QUERY FAILED: No database selected SELECT type_id, type_name FROM
`rampage_types` WHERE type_name IN ('calendar','event')' in
/usr/share/php/Horde/Db/Adapter/Mysqli.php:299 Stack trace: #0
/usr/share/php/Horde/Db/Adapter/Mysqli.php(217):
Horde_Db_Adapter_Mysqli->execute('SELECT type_id,...', NULL, NULL)
#1/usr/share/php/Horde/Db/Adapter/Abstract.php(391):
Horde_Db_Adapter_Mysqli->selectAll('SELECT type_id,...', NULL, NULL)
#2/usr/share/horde/content/lib/Types/Manager.php(75):Horde_Db_Adapter_Abstract->selectAssoc('SELECT type_id,...')
#3/usr/share/horde/kronolith/lib/Tagger.php(62):
Content_Types_Manager->ensureTypes(Array)
#4/usr/share/horde/kronolith/templates/panel.inc(28):
Kronolith_Tagger->__construct()
#5/usr/share/horde/kronolith/month.php(39):
require('/usr/share/hord...')
#6/usr/share/horde/kronolith/index.php(23):
include('/usr/share/hord...')
#7{main} thrown in/usr/share/php/Horde/Db/Adapter/Mysqli.php on line 299
Assigned to Jan Schneider
Taken from Michael Rubinsky
State ⇒ Resolved
horde/config/registry.php...
I'm sorry if I missed something...
Assigned to Michael Rubinsky
State ⇒ Not A Bug
to do to ensure this can be autoloaded for the time being.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Type ⇒ Bug
Summary ⇒ new Tagger.php include
Class 'Content_Users_Manager' not found in
/usr/share/horde/kronolith/lib/Tagger.php on line 49
The error is below the displayed calendar.
Content_User_Manager as I can see is defined in the
horde-hatchery/content clone, but there's no information where to
include it manually...