Skip to main content

failed create midcom

I try to create midcom site, when I run following command

php /usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php -u admin -p password --sitegroup_id 0 --topic_midcom midgard.admin.sitewizard --hostname localhost --host_prefix /sitewizard --extend_style template_Midgard --topic_name "Midgard Site Wizard"

I got the following error

PHP Warning: main(/usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/../../../../midcom/helper/hostconfig.php): failed to open stream: No such file or directory in /usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php on line 19

Warning: main(/usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/../../../../midcom/helper/hostconfig.php): failed to open stream: No such file or directory in /usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php on line 19
PHP Fatal error: main(): Failed opening required '/usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/../../../../midcom/helper/hostconfig.php' (include_path='..:.:/usr/local/lib/php') in /usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php on line 19

Fatal error: main(): Failed opening required '/usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/../../../../midcom/helper/hostconfig.php' (include_path='..:.:/usr/local/lib/php') in /usr/local/lib/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php on line 19


Seem the hostconfig.php is missing. I'll figure out this later on :(

Comments

Popular posts from this blog

django realtime currency rate

Its been a really long time since I post something here For some dumb reason, I forgot my blogger login/password :hammer: Anyway, since I'm now heavily work with django stuff Here are some django related projects that hopefully can benefit anyone who need it * django-currency_rate, simple django app that can give you realtime currency rate base on http://themoneyconverter.com . Owh its even can calculate the rate with templatetag :) https://github.com/avenpace/django-exchange_rate

python-oauth2 hack

When you are using python-oauth2 from simplegeo on your Google App Engine instance, you'll get some exception that cause by "ImportError: No module named httplib2" Yes, apparently httplib2 are not supported by GAE and instead they oblige you to use google.appengine.api.urlfetch.fetch instead So I hack python-oauth2 to use google.appengine.api.urlfetch.fetch You can found my python-oauth2 fork on https://github.com/avenpace/python-oauth2

Another django cms base

Cooper-cms, a really simple cms built with django that probably suitable for company site. It has testimonial, team, content and blog (of course :) ) modules. I know its not fancy as django-cms but it will suit for some simple company site though https://bitbucket.org/avenpace/cooper-cms