Bacula-users

Re: [Bacula-users] baculum-7.0.2 /wizard not found.

2014-04-10 01:06:20
Subject: Re: [Bacula-users] baculum-7.0.2 /wizard not found.
From: Marcin Haba <ganiuszka AT gmail DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Thu, 10 Apr 2014 07:00:06 +0200
Hello John,

About first problem:

Please tell me what PHP version are you using? Baculum should work
properly with PHP 5.3 or newer.

That is fine that you found solution for static method call.

Byt the way, Baculum does not use Symfony framework, but PRADO Framework.

About your /wizard/ page not found error, it looks that you are using
subdir in document root for baculum/ directory. Please set your
document root location in web server configuration file to baculum/
directory (e.g. DocumentRoot /var/www/localhost/htdocs/baculum/)

Best regards.
Marcin

2014-04-10 0:10 GMT+02:00 John Drescher <drescherjm AT gmail DOT com>:
> After installing baculum
>
> I got a php error @ line 75 of
> gui/baculum/framework/I18N/core/MessageSource_gettext.php
>
> TPhpErrorException
>
> Description
>
> [Runtime Notice] Non-static method TGettext::factory() should not be
> called statically, assuming $this from incompatible context (@line 75
> in file 
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageSource_gettext.php).
>
> Source File
>
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageSource_gettext.php
> (75)
>
> 0064:         $this->source = (string)$source;
> 0065:     }
> 0066:
> 0067:
> 0068:     /**
> 0069:      * Load the messages from a MO file.
> 0070:      * @param string MO file.
> 0071:      * @return array of messages.
> 0072:      */
> 0073:     protected function &loadData($filename)
> 0074:     {
> 0075:         $mo = TGettext::factory('MO',$filename);
> 0076:         $mo->load();
> 0077:         $result = $mo->toArray();
> 0078:
> 0079:         $results = array();
> 0080:         $count=0;
> 0081:         foreach($result['strings'] as $source => $target)
> 0082:         {
> 0083:             $results[$source][] = $target; //target
> 0084:             $results[$source][] = $count++; //id
> 0085:             $results[$source][] = ''; //comments
> 0086:         }
> 0087:         return $results;
>
> Stack Trace
>
> #0 
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageSource_gettext.php(75):
> PradoBase::phpErrorHandler(2048, 'Non-static meth...',
> '/var/www/localh...', 75, Array)
> #1 
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageSource.php(199):
> MessageSource_gettext->loadData('/var/www/localh...')
> #2 
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageFormat.php(141):
> MessageSource->load('messages')
> #3 
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageFormat.php(190):
> MessageFormat->loadCatalogue('messages')
> #4 
> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageFormat.php(168):
> MessageFormat->formatString('Director:', Array, 'messages')
> #5 /var/www/localhost/htdocs/baculum/framework/PradoBase.php(622):
> MessageFormat->format('Director:', Array, 'messages', 'UTF-8')
> #6 
> /var/www/localhost/htdocs/baculum/framework/Web/UI/TTemplateManager.php(500):
> PradoBase::localize('Director:')
> #7 
> /var/www/localhost/htdocs/baculum/framework/Web/UI/TTemplateManager.php(427):
> TTemplate->configureProperty(Object(TLabel), 'text', Array)
> #8 
> /var/www/localhost/htdocs/baculum/framework/Web/UI/TTemplateManager.php(353):
> TTemplate->configureControl(Object(TLabel), 'text', Array)
> #9 
> /var/www/localhost/htdocs/baculum/framework/Web/UI/TTemplateControl.php(141):
> TTemplate->instantiateIn(Object(Home))
> #10 /var/www/localhost/htdocs/baculum/framework/Web/UI/TControl.php(927):
> TTemplateControl->createChildControls()
> #11 
> /var/www/localhost/htdocs/baculum/framework/Web/UI/TTemplateControl.php(225):
> TControl->ensureChildControls()
> #12 /var/www/localhost/htdocs/baculum/framework/Web/UI/TPage.php(214):
> TTemplateControl->initRecursive()
> #13 /var/www/localhost/htdocs/baculum/framework/Web/UI/TPage.php(203):
> TPage->processNormalRequest(Object(THtmlWriter))
> #14 
> /var/www/localhost/htdocs/baculum/framework/Web/Services/TPageService.php(524):
> TPage->run(Object(THtmlWriter))
> #15 
> /var/www/localhost/htdocs/baculum/framework/Web/Services/TPageService.php(470):
> TPageService->runPage(Object(Home), Array)
> #16 /var/www/localhost/htdocs/baculum/framework/TApplication.php(1221):
> TPageService->run()
> #17 /var/www/localhost/htdocs/baculum/framework/TApplication.php(410):
> TApplication->runService()
> #18 /var/www/local
>
>
> After a google search I found the php code for this bug has been fixed
> quite some time ago:
> http://trac.symfony-project.org/changeset/3152
>
>
> However after fixing this I got a second problem I can not fix.
>
>
> Not Found
>
> The requested URL /wizard/ was not found on this server.
>
>
>
> --
> John M. Drescher
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users