Alex,

did you clear the contents of the app/cache directory before trying  
again?

I just verified that the method as you have it below works for me.

Please let us know if you have further trouble resolving this problem.

Greetings,

David




Am 29.02.2008 um 02:49 schrieb Alex Housley:

> Thanks Noah!
>
> I do appear to be running libxml 2.6.16 on the production server. I
> did however try the other fix in index.php but unfortunately still the
> same error.
>
> <?php
>
> //  
> + 
> ---------------------------------------------------------------------------+
> // | An absolute filesystem path to the agavi/agavi.php  
> script.                |
> //  
> + 
> ---------------------------------------------------------------------------+
> require('/var/www/vhosts/cyance/lib/agavi/src/agavi.php');
>
> //  
> + 
> ---------------------------------------------------------------------------+
> // | An absolute filesystem path to our app/config.php  
> script.                 |
> //  
> + 
> ---------------------------------------------------------------------------+
> require('../app/config.php');
>
> AgaviConfig::set('core.skip_config_validation', true);
>
> //  
> + 
> ---------------------------------------------------------------------------+
> // | Initialize the framework. You may pass an environment name to  
> this method.|
> // | By default the 'development' environment sets Agavi into a  
> debug mode.    |
> // | In debug mode among other things the cache is cleaned on every  
> request.   |
> //  
> + 
> ---------------------------------------------------------------------------+
> Agavi::bootstrap('production');
>
> //  
> + 
> ---------------------------------------------------------------------------+
> // | Call the controller's dispatch method on the default  
> context              |
> //  
> + 
> ---------------------------------------------------------------------------+
> AgaviContext::getInstance('web')->getController()->dispatch();
> ?>
>
> Is there anything wrong with this?
>
> I'll also schedule a php upgrade soon.
>
> Thanks again,
>
> Alex
>
>
> On 2/29/08, Noah Fontes <[EMAIL PROTECTED]> wrote:
>> Hi Alex,
>>
>>
>> On 2/28/08, Alex Housley <[EMAIL PROTECTED]> wrote:
>>> Huomenta!
>>>
>>> I'm having some difficulty getting a working local app to work on my
>>> production server.
>>>
>>> Here is the error:
>>>
>
>>> XML Schema validation of configuration file
>>> "/var/www/vhosts/cyance/lib/agavi/src/config/defaults/ 
>>> config_handlers.xml"
>>> failed due to the following errors:
>>> Line 4: Element 'handlers', [lax WC]: The namespace of the element  
>>> is not
>>> allowed.
>>> Line 4: Element 'handlers', [lax WC]: The namespace of the element  
>>> is not
>>> allowed.
>>
>>
>> See the first question at http://trac.agavi.org/wiki/WTF -- you're
>> using a version of libxml that is too old. You can turn off schema
>> validation if you want, or upgrade the version.
>>
>> Regards,
>>
>>
>> --
>> Noah Fontes
>> Cynigram Network Administrator
>> [EMAIL PROTECTED]
>>
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.agavi.org/mailman/listinfo/users
>>
>
>
> -- 
> Alex Housley
> Total Hotspots Ltd
>
> skype: ahousley
> mobile: +44 (0) 78 4320 3857
> direct: +44 (0) 20 7603 1867
> office: +44 (0) 20 7788 7810
>
> The Global Wi-Fi Hotspots Directory
>
> This e-mail and any attachments are confidential. If you are not the
> named recipient, please notify the sender immediately. The
> unauthorised use, disclosure, copying or alteration of this message or
> its attachments is strictly forbidden. Our Terms and Conditions are
> available upon request. Opinions expressed in this message are not
> given or endorsed by Total Hotspots Limited unless otherwise indicated
> by an authorised representative independent of this message. Total
> Hotspots Limited does not accept responsibility for any changes made
> to this message after it has been sent.
> Registered Office: 52-54 The Green, Banbury, Oxfordshire, OX16 9AB.
> Registered in England: 04949859.
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to