[ansel] Ansel H4 (2.0-RC1) Error when creating database tables: Fatal error: Class 'Ansel_Style' not found in /var/www/horde/ansel/migration/3_ansel_upgrade_style.php on line 60

Michael J Rubinsky mrubinsk at horde.org
Tue Oct 25 13:12:30 UTC 2011


Quoting gimili <gimili17 at gmail.com>:

> On 10/19/11 9:15 AM, Michael J Rubinsky wrote:
>>
>> Quoting gimili <gimili17 at gmail.com>:
>>
>>> When I click on the link to create the database tables I go this  
>>> error:  Fatal error: Class 'Ansel_Style' not found in  
>>> /var/www/horde/ansel/migration/3_ansel_upgrade_style.php on line  
>>> 60.  Now when I try to go into ansel it says: /SQLSTATE[42S02]:  
>>> Base table or view not found: 1146 Table  
>>> 'horde.ansel_sharesng_users' doesn't exist.  Did I miss something  
>>> or is this a bug?
>>
>> My fault. I had to change some things in the migrations so they do  
>> not require Ansel to be active. In doing so, the (simple)  
>> Ansel_Style object was no longer able to be found by the  
>> Autoloader. Should be fixed in Git by:
>>
>> http://git.horde.org/horde-git/-/commit/8749e4c9bdb4995d934eb4c6d3425ad9b784bcd2
> What do I need to do to get the version I installed with pear  
> running?  Do I just need to install the files from git and/or do I  
> need to re-run table creation scripts?

If you want to continue using PEAR, the best thing is to wait for the  
next release, which will likely be RC2. Otherwise, you can patch your  
local install with changes (not recommended, as there have been quite  
a few changes since RC1. Once you have the new version, you should be  
able to just run the migration either from the admin UI, or the  
horde-db-migration script.


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org



More information about the ansel mailing list