demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

None default module/manager causes error on index page #1627

Closed demianturner closed 11 years ago

demianturner commented 11 years ago

When I open http://my.domain/ (without anything attached as path) using a custom default manager/module I get the following error:


Error

MESSAGE: Config file could not be found at '/home/fabio/public_html/netzsprecher/seagull.0.6-bugfix/modules//conf.ini' TYPE: NO FILE DEBUG INFO: CODE: -114


Also SGL outputs:


MESSAGE: Undefined index: moduleName TYPE: Notice FILE: /home/fabio/public_html/netzsprecher/seagull.0.6-bugfix/lib/SGL/Request.php LINE: 248 DEBUG INFO:

243 return $this->aProps; 244 } 245 246 function getModuleName() 247 { 248 return $this->aProps['moduleName'];

249 } 250 251 function getManagerName() 252 { 253 if (isset( $this->aProps['managerName'])) {


When I look into the log file I find the following which looks awkward (HTTP/1):


[25-May-2008 13:09:28] ########## New request: /index.php/mymodule/mymanager/action/new/ HTTP/1 ##########


Ciao Fabio.

demianturner commented 11 years ago

[demian] this sounds like you're using Horde_Routes and haven't created the correct global config file(s).

ie, if you have a config file

{{{ mydomain.com.conf.php }}}

but request

{{{ www.mydomain.com }}}

it's not enough to symlink www.mydomain.com.conf.php to the existing config file, you must copy it, and set

{{{ [site][baseUrl] }}}

correctly.

Let me know if this fixes your prob, if not pls re-open ticket