Skip to main content

Blogs

How I Moved My Drupal Site to a New Host ...

I wanted to move this site from the free hosting company I was using to my GoDaddy hosting account. So, I went searching for instructions on how to do that and found them here.

So, I followed those instructions and did the following:

From the free hosting site:
  • Exported the database, downloaded to a local file
  • Transferred the site files via FTP to a local folder

At GoDaddy:
  • Added the domain to my hosting account
  • Imported the database, uploaded from the local file
  • Transferred the site files via FTP from the local folder

When completed, I tried the site. The front page worked great!

However, when I clicked on any of the links to go to another page or tried to login as a user or admin, I would get the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Bummer!!!

Well, after searching and searching, trying this and trying that, I finally found this page. In the third comment, I found the answer!

I added the following to my .htaccess file and everything worked!

RewriteBase /

We're back in business!!!

Backup script for Linux ...

Posted in

There are many ways to back up the important files one has on their system, from bloated software programs to simple scripts. In most cases, a simple script is sufficient. With that in mind, I searched for a simple script and found the following:

Automating backups with tar

I have modified the original script to accomplish the following:

  • Allow the user to "force" the creation of a full backup by specifying full on the command line.
  • Create a full year-end backup on 31 December.
  • Force an incremental backup when a full backup is performed. This is to prevent two full backups from occurring if Sunday is the 1st of the month or is 31 December.

You can download the modified script here. Once downloaded, rename the file to backup.sh.

To install and use the script, you can follow the instructions provided at the Automating backups with tar page. However, where referenced, replace backup.cron with backup.sh.

Climate Change is Natural?

Posted in
The following is an article that lists 100 reasons why global warming is natural and not man-made. I am not an expert in this field. However, I believe those who push the idea that global warming is man-made give man way too much credit!

Some of the side jobs I work on ...

Posted in

Here are a couple of samples of the work I do on the side. I do work on the side to keep my skills up to date. And, most importantly, I make sure these jobs do not interfere with my regular work!

Air Raid Siren - This is a piece of software, still in its infancy, that will help users become aware of possible threats when using wireless hotspots. It is written in C++ using wxWidgets, a cross-platform class library.
Tab Jewelers - This is a commercial web-site I help set up for a friend. It is still in its early stages and product is being added on a continual basis. The site is based upon Zen Cart with modifications made according to the desires of the store owner.

Hope?

Posted in

Is there hope?

A commission in California will recommend a change to the "personal income tax structure to reduce the burden on the wealthy". They will also recommend abolishing sales and corporate taxes, replacing it with a tax on businesses net receipts.

Read the article here.

You can also visit the website for the Commission on the 21st Century Economy to learn more about the commission and their charge.

Updated resume ...

Posted in
I have updated my resume based upon suggestions received for those knowledgeable in the job search industry. You can view the resume here.

Happy Indendependence Day!!!

On this day 233 years ago, the United States of America legally separated from Great Britain to become a free and independent State. Read the Declaration of Independence to remember why!

Proposition 8 - the facts ...

Posted in

I was reading a news article (here) about the California State Supreme Court's ruling validating Proposition 8, the California Marriage Protection Act. While reading the comments to the article, I came across the following:

"If California did not want gay marriage then all of this would never have happend and those who are married now would have never been offered the chance…. so think about the facts."

The implication of the statement is that California "wants" same-sex marriage. I disagree, so I responded with the following:

The facts are:

1) In 2000, Californians passed Proposition 22 stating that marriage should be between one man and one woman.
2) Those who want to redefine marriage took the issue to court. And, in May of 2008, eight years later, 4 of 7 judges in the California State Supreme Court voted to overturn Proposition 22 and allow same-sex marriage. The State Supreme Court also denied a request to "stay" the decision until Proposition 8 was decided later in the year.
3) In November of 2008, Californians again declare that marriage should be between one man and one woman by passing Proposition 8.
4) In May of 2009, the State Supreme Court rules that Proposition 8 is valid. And, even though some disagree, the Court had no choice but to let approximately 18,000 same-sex marriages remain recognized because they did not grant the stay requested after their earlier decision.

Those are the facts.

Same-sex marriage is an issue in this State because a group of individuals who want to redefine marriage have made it an issue. And, the group has been successful in achieving their goals using the Court system. However, each time it has been presented to the voters of this State, the voters have been clear that they do not want marriage redefined.

Marriage is not a right. Historically, it is a religious ceremony joining one man and one woman in "holy matrimony". Today, not only is it a religious ceremony for most, but the State uses it as a "legal instrument" to confer "benefits" to those who are "married".

Personally, I believe the State should come up with another legal instrument to confer those "benefits" and leave marriage to the religious institutions. This will allow the State to grant the legal instrument to both traditional unions and same-sex unions without redefining marriage. I think this would best serve both sides of this issue.

I would love to see the proponents of same-sex marriage pressure the State to come up with a legal instrument other than a "marriage certificate" to confer the rights they are seeking. The State and the Federal Government need to get out of the marriage business.

Will that happen? Considering this article, it looks like the fight is moving back into the court system.

Syndicate content