[ixpmanager] MRTG support scripts added to repo
Barry O'Donovan
barry.odonovan at inex.ie
Wed Jul 4 07:47:25 IST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/07/12 05:13, Joe Wooller wrote:
> Also added the logos into the ini file but it still doesn't show
> up, it doesn't appear to reference the logos anywhere..
If you have:
> identity.ixp.logo = APPLICATION_PATH'/../public/images/waia.jpg'
which you have probably changed to:
identity.ixp.logo = APPLICATION_PATH "/../public/images/waia.jpg"
then the following should work for the login page:
identity.ixp.biglogo = "/images/waia.jpg"
This is referenced in application/views/auth/login.tpl as:
<img src="{genUrl}{$config.identity.ixp.biglogo}" />
- Barry
>
> Joe
>
> On 03/07/2012, at 11:37 PM, Nick Hilliard wrote:
>
>> On 03/07/2012 15:39, Joe Wooller wrote:
>>> No joy with that.. Interesting I was missing a quote
>>> identity.ixp.logo =
>>> APPLICATION_PATH'/../public/images/waia.jpg'
>>>
>>> When I added the quote in I get;
>>>
>>> [Tue Jul 03 22:34:31 2012] [error] [client 58.84.202.108] PHP
>>> Fatal error: Uncaught exception 'Zend_Config_Exception' with
>>> message 'Section 'development' cannot be found in
>>> /var/www/inex/application/configs/application.ini' in
>>> /usr/share/php/libzend-framework-php/Zend/Config/Ini.php:151\nStack
>>>
>>>
>>>
trace:\n#0
>>> /usr/share/php/libzend-framework-php/Zend/Application.php(386):
>>> Zend_Config_Ini->__construct('/var/www/inex/a...',
>>> 'development')\n#1
>>> /usr/share/php/libzend-framework-php/Zend/Application.php(85):
>>> Zend_Application->_loadConfig('/var/www/inex/a...')\n#2
>>> /var/www/inex/public/index.php(56):
>>> Zend_Application->__construct('development',
>>> '/var/www/inex/a...')\n#3 {main}\n thrown in
>>> /usr/share/php/libzend-framework-php/Zend/Config/Ini.php on
>>> line 151
>>
>> Looks like a syntax error in the application.ini file. Are you
>> missing any other quote marks, or did you take out the
>> [development] section?
>>
>> Also as there is no formal definition of the application.ini
>> parser, it may be a good idea to use double quotes and leave a
>> space after "APPLICATION_PATH".
>>
>> Nick _______________________________________________ INEX IXP
>> Manager mailing list ixpmanager at inex.ie
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>> !DSPAM:1,4ff311d624051059719015!
>>
>>
>
> _______________________________________________ INEX IXP Manager
> mailing list ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
- --
Kind regards,
Barry O'Donovan
INEX Operations
We're IPv6 Ready. Are you? http://www.ipv6ready.ie/
Mob: +353 86 801 7669
Tel: +353 1 685 4220
SIP: barry at opensolutions.ie
Fax: +353 1 685 4263
+-------------------------------+-------------------------------------+
| Open Source Solutions Ltd. | INEX Operations Team |
| Lynx House Old Church Road, | Internet Neutral Exchange |
| Lower Kilmacud Road, | Association, 4027 Kingswood Road, |
| Stillorgan, Co Dublin. | Citywest Business Campus, Dublin 24 |
| http://www.opensolutions.ie/ | http://www.inex.ie/ |
+-------------------------------+-------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/z5v0ACgkQ9qwC7To4L8yWhgCeKLsV8P4qLmYYYub9K8pzHDwq
gGYAmgImLM5kas7lbfAesV/N7HHnBNIO
=rTza
-----END PGP SIGNATURE-----
More information about the ixpmanager
mailing list