Midgard CMS Development – Status Update

It is with great disappointment to announce that I will no longer be able to provide commercial development support from my employer of Midgard CMS. I’ve been told to terminate all development with Midgard CMS. I will however not disappear in my involvement with Midgard CMS. I plan to accelerate my plans to develop Midgard CMS on a test server at home running OpenBSD v3.7 i386 and look at the possibility of development on my web hosting provider. What does this all mean? Well unfortunately this means I will not be able to provide development time like I did in the past of 5 days a week at roughly 8 hours a day. Around September I have the possibility to continue minimal development with Midgard. At that point or later on my employer will re-evaluate Midgard CMS and see again at using it as our CMS. As my employer knows and agrees that CMS is the future and is required for the web site. Unfortunately they need results now and a new site up to support there customers and representative network. How I will continue without CMS is uncertain at this time. It may not be the best direction but it will get the job done, providing results as they want.

Saying all that, I will be around. Please feel free to email or contact me via my web site. I thank everyone for your support and help.

Midgard 1.6.3 – Data Database Import / Segfault

I have Midgard 1.6.3 freshly installed and functioning 100%, at least to my knowledge. I’m able to load all the web pages and log into Aegir. I have no error messages being logged into the MidgardLog or the HTTPD error_log. However after I import my Midgard database I get blank or empty web pages rendering in the browser. I did not see any error messages being logged into my HTTPD error_log. I turned on HTTPD debug log level (ex. LogLevel debug) and then turned on my Midgard logs (ex. MidgardLog debug /var/www/logs/midgard.log). Now in my HTTPD error_log I have “[notice] child pid 265 exit signal Segmentation fault (11)” and “Midgard: Refreshing NTLM auth request for sitegroup 0. NTLM sitegroup: -1″. See the logs below for further details. The logs will show me attempting to go to /midgard/.

I get blank/empty pages when I try to go to /midgard/, /mole/ (but page is not empty contains “< ?xml version="1.0"?>” and /example/. Anyone have any ideas how to resolve these two errors?

Here’s how I imported my Midgard database of a previous install of Midgard 1.6.3.

  • I logged into MySQL, executed the SQL command “drop database midgard;”.
  • Executed another SQL command “create database midgard;”.
  • Logged out of MySQL.
  • Then I imported the data by executing the following at the shell prompt “mysql -u username -p midgard < midgard_db.sql".

After this I just opened up my browser and tried to load some web pages from that server.

Apache error_log
Processing config directory: /usr/local/midgard-1.6.3/etc/midgard/apache/vhosts/*
Processing config file: /usr/local/midgard-1.6.3/etc/midgard/apache/vhosts/scorpius.venmarces.com_80
[notice] Initializing etag from /var/www/logs/etag-state
[notice] Apache/1.3.29 (Unix) Midgard/1.6.3/Repository/MultiLang PHP/4.3.11 mod_ssl/2.8.16 OpenSSL/0.9.7d configured — resuming normal operations
[info] Server built: unknown
[notice] Accept mutex: sysvsem (Default: sysvsem)
[debug] midgard-apache1.c(1355): [client ip-here] midgard_translate_handler(UTF-8, http://scorpius.venmarces.com:80/midgard)
[debug] select_db.h(51): [client ip-here] Midgard: select_database opened database midgard
[debug] midgard-apache1.c(192): [client ip-here] Midgard: lang set to 0
[debug] select_db.h(33): [client ip-here] Midgard: select_database kept current database midgard
[debug] midgard-apache1.c(977): [client ip-here] Midgard: Refreshing NTLM auth request for sitegroup 0. NTLM sitegroup: -1
[notice] child pid 12983 exit signal Segmentation fault (11)

Midgard Log
midgard-lib:12983:debug:query=SELECT id,style,root,lang,info&1,Length(prefix),sitegroup FROM host WHERE name=’subdomain.domainname.com’ AND port in (0,80) AND ( (0 <> 0 AND prefix = ”) OR (0 = 0 AN
D prefix=Left(‘/midgard’,Length(prefix)) AND IF(8>=Length(prefix),MID(‘/midgard’,1+Length(prefix),1) IN (”,’/'),0)=1 ) ) AND online <> 0 ORDER BY prefix DESC, port DESC
midgard-lib:12983:debug:query=SELECT info&2 FROM page WHERE page.id=50
midgard-lib:12983:debug:query=SELECT style FROM page WHERE page.id=50

The redneck truckers

Zek and Luke went to a trucking company to apply for a “Team” truck driving job. The personnel manager decided, after talking to them both that they weren’t the sharpest knives in the drawer. He decides to interview them separately. He first interviews Zek. After 15 minutes he completes the interview. Zek barely passes. Next he interviews Luke. He begins by asking the usual transportation related questions. Luke also barely passes.

The personnel manager next interview them together. He presents them with this potential problem: Now Zek and Luke, lets say that you two are a driving team. One of you is driving the rig and the other is asleep in the back. You are going down this very steep hill with sixty thousand pounds of steel on the truck. All of a sudden your breaks go out and your speed is increasing. What would be the first thing you’d do ?

About a minute passes and there was no answer. Then, all of a sudden Luke spoke up.

“I know, I know, I know the first thing I’d do”. The personnel manager says “yes Luke, what is the first thing you’d do?” Luke says, “I’d wake Zek up.” The personnel manager replies, “WHAT ! “Why would wake Zek up ?”

Coos, says Luke, “He ain’t never seen no big accident before!”

Rowing Your Boat

Two blondes were driving along a road by a wheat field when they saw a blonde in the middle of the field rowing a row boat.

The driver blonde turned to her friend and said “You know – it’s blondes like that that give us a bad name!”

To this, the other blonde replies “I know it, and if I knew how to swim, I’d go out there and drown her.”

I Want to Buy That

A blonde goes into a nearby store and asks a clerk if she can buy the TV in the corner.

The clerk looks at her and says that he doesn’t serve blondes, so she goes back home and dyes her hair black.

The next day she returns to the store and asks the same thing, and again, the clerk said he doesn’t serve blondes.

Frustrated, the blonde goes home and dyes her hair yet again, to a shade of red.

Sure that a clerk would sell her the TV this time, she returns and asks a different clerk this time.

To her astonishment, this clerk also says that she doesn’t serve blondes.

The blonde asks the clerk, “How in the world do you know I am a blonde?”

The clerk looks at her disgustedly and says,”That’s not a TV — it’s a microwave!”