Archive for November, 2010


The power failed on my server last night. It rebooted just fine, with no errors, except for one. Windows Server Update Services reported two errors.

Event ID 364, 10032

Event ID 364, 10032

The first was event id 364:

Event ID 364

Event ID 364

The second event id was 10032:

Event ID 10032

Event ID 10032

Microsoft states that this is the Background Intelligent Transfer Service not starting which is causing the errors. A good way to check it is to restart the services and then check the event log again.

Make a note of the time of your last event with the id of 364 or 10032. Go to Start>Administrative Tools>Services.

Make sure the Background Intelligent Transfer Service is set to automatic. Right click it and select restart.

BITS Service

BITS Service

Do the same thing for Windows Update Services.

WSUS Service

WSUS Service

They should both restart with no problems.

Now go to your WSUS 3.0 console and Synchronize Now. This is found in Start>Administrative Tools> Windows Server Update Services.

WSUS Console

WSUS Console

Now open a command prompt by clicking Start>Run, and then typing cmd.

In the command window navigate to your Tools folder in the Update Services directory. Mine is on the C partition at:

cd c:\program files\update services\tools\

This is the default.

Type this command: wsusutil checkhealth

Command Prompt

Command Prompt

Now open up the event log and check for new event id’s 10032 under the Application Log. If there are none it was a transient error and the issue is resolved.

If the event still persists, then it is most likely a Windows Defender file that is stuck, according to Bradley, a MSMVP blogger for the SBS Diva, located here. You can decline the update and it will stop the error. though I do not suggest declining important security updates, the Windows Defender will function fine without this update.

Credit to Lupis Labs for creating such an awsome addicting tower defense game.

And thanks to AndroidAndMe for letting me use this picture:

Robo Defense

Robo Defense

So I have been playing Robo Defense for a while now. Great game- the best, actually. I had tens of hours put into upgrading weapons, so that I could survive level 40-60. Then I decided to root my phone, and destroyed the game. Back to zero.

Rather than play the game back up spending more time getting back to where I was, I decided to investigate a bit. when you install the game it creates a file named robo_defense_full.bak on your sd card- not in a folder. So I pulled that file to my computer and set about exploring. I tried to open it in a variety of programs, to no result. I then opened it in a Hex Editor named XVI32. It’s freeware, and located here.

I copied the robo_defense_full.bak into an email using Touchdown (you can also transfer it via USB, but I didn’t have a cable with me), and sent myself a copy. I downloaded the backup file to my computer, and opened VXI32. I then selected Open, and clicked on the backup file.

Voila! I saw some familiar items- names that I recognized from the game.

VXI32

VXI32

I spent the next several hours attempting to edit this file, each time saving it from VXI32, and then copying it to my phone. I finally figured it out, but rather than tell you how I figured it out, I’ll just tell you how to do it.

Open robo_defense_full.bak in VXI.

Look at the text in the right window.

Right Window

Right Window

Look for phrases. You will see some like this:

ADAchievement:Complete Any Mapw

ADReward:Health Rewardw, and many more.

After each string is a black square with a circle in it. Then three blank spaces, then an upside down L. then three blank spaces, and one character that can be many different shapes. Then lastly a t.

The space we will be working with is the space directly before the lower case t.

Character

Character

This particular before-t-character comes after the ADReward: Longer Flame Burnw. Editing this space will change the LEVEL of my flame burn upgrade. You may notice that there are not a lot of rewards listed: they do not exist until you upgrade them to level two.

Anyhow, you need to change the hex number to something that translates into a decimal. So go to this website, and enter the number 14 in the HEX value window. You will see the decimal of 20 displayed underneath.

Hex to Decimal

Hex to Decimal

You can change the hex number to change the decimal number to whatever you want. We will stay with 14.

Go back to XVI, and put your cursor over the space before the lower case t. You will see a corresponding space in the left window highlight. To double-check the lower case t equals 74 in the left window, so your cursor should be next to the number 74 on the left.

Now click on the number in the left window, in the space before 74. Enter the HEX number of 14.

Save the file. Go to your phone, uninstall Robo Defense. Go to your SDCard with a file browser, and delete robo_defense_full.bak.

Reinstall Robo Defense from the market. Open the game once- and check to make sure you are at level 1 for every upgrade with no points. Exit the game.

Transfer your modified robo_defense_full.bak file and replace the one there- either by USB or email or bluetooth.

Re-open the game and you will see your Flame Burn Duration at level 20.

The problem with this is that you must upgrade each item once before you can edit it. So I thought I would mess around with the points, which would let me buy one upgrade of each item. then I would edit it one more time, and increase all the items to what they were before I erased my phone.

To edit your Score/Points:

Locate the string in the right window: ADReward Pointsw………

Find the lower case t following the string. Click on the t, and you will see the left window number 74 highlighted. The three spaces before the 74 in the LEFT window are your points. You can’t enter any number here, it has to work with hexadecimal. Go back to our conversion website, and mess around with numbers untill you find a point value that suits you.

If you do not know what to put in, switch numbers out using the existing numbers from the left window as a guide. If you don’t see it there, don’t use it. There are no 11’s, so I did not try 11. I put 60 in the second block, and then AA in the third, which gives me a score of 24746. This was too low. Lets go for a million.

Edit Score

Edit Score

Try 1D60AA, which gives you 1 mill, 900 thousand points. Save, rinse, repeat. You now have enough points to buy an upgrade for each item, then edit and increase the level for each. You can continue to explore- I did not have the time to figure out how to add achievements, etc.

As Requested, here is my own robo_defense_full.bak.

Download robo_defense_full.bak from FileFactory.com 

  • 1739476 Reward Points.
  • Stronger Bullets: 23
  • Stronger Explosives: 23
  • Faster Rocket Reload: 26
  • Faster Antiair Reload: 25
  • Faster Artillery Reload: 23
  • Longer Flame Burn: 23
  • Longer Slowdown: 23
  • Health Reward: 29
  • Starting Cash Reward: 27
  • Unlock Teleport and Mine Towers: Unlocked

As a warning, with these stats the game is easy. I can beat up to level 90 without losing life, and level 100 a few get through. don’t ruin the game for yourself!

I know this is off topic from the purpose of this blog (SBS), but I thought I would post some of my personal and non-professional experience. I was running Windows 7 Home Premium, in which I installed VirtualBox and Ubuntu Linus virtual machine. Thinking on it, this did not make sense to me- host a more stable and reliable OS on a less stable OS, plus being virtual it really did not do justice to Linux as an OS. So I got a new HDD, and had to reconfigure Windows anyhow- my C:\ partition was constantly in the red at 40 GB. So I added the HDD, formatted all disks, and installed Fedora 14 onto an 80 GB SATA.

I then installed VirtualBox on Linux (I wont post how to here, because it was a pain in the butt and I do not remember everything I did). So now I have a stable Fedora hosting Windows 7 Home Premium in VirtualBox. It’s all running great, except that the Windows 7 is a bit slow, as I decided to give it 1.9 GB of my 4 GB RAM.

The reason I was going to host Windows 7 virtually was to be able to use my Windows applications such as Office 2010, Starcraft, iTunes, and Adobe Creative Suite.

This makes little sense, as the virtual resources will not provide enough to run some of the heavier applications such as Adobe. I had forgotten about WINE.

Being a Windows baby, and having little Linux experience, I am having difficult making the switch to a platform that goes in a different direction than everything that I know.

So let’s install WINE on Fedora 14, then we will install some applications such as Adobe Dreamweaver, Microsoft Office, and perhaps Starcraft II.

Wine Install

Taken from the WINE Wiki, You must install these packages. Copy this text, then enter the Terminal on Fedora in Applications>System Tools>Terminal. Enter the root user (su -), and paste the text. Hit Y for yes when prompted.

yum install alsa-lib-devel.i686 alsa-lib-devel audiofile-devel.i686 audiofile-devel cups-devel.i686 cups-devel dbus-devel.i686 dbus-devel esound-devel.i686 esound-devel fontconfig-devel.i686 fontconfig-devel freetype.i686 freetype-devel.i686 freetype-devel giflib-devel.i686 giflib-devel hal-devel.i686 hal-devel lcms-devel.i686 lcms-devel libICE-devel.i686 libICE-devel libjpeg-turbo-devel.i686 libjpeg-turbo-devel libpng-devel.i686 libpng-devel libSM-devel.i686 libSM-devel libusb-devel.i686 libusb-devel libX11-devel.i686 libX11-devel libXau-devel.i686 libXau-devel libXcomposite-devel.i686 libXcomposite-devel libXcursor-devel.i686 libXcursor-devel libXext-devel.i686 libXext-devel libXi-devel.i686 libXi-devel libXinerama-devel.i686 libXinerama-devel libxml2-devel.i686 libxml2-devel libXrandr-devel.i686 libXrandr-devel libXrender-devel.i686 libXrender-devel libxslt-devel.i686 libxslt-devel libXt-devel.i686 libXt-devel libXv-devel.i686 libXv-devel libXxf86vm-devel.i686 libXxf86vm-devel mesa-libGL-devel.i686 mesa-libGL-devel mesa-libGLU-devel.i686 mesa-libGLU-devel ncurses-devel.i686 ncurses-devel openldap-devel.i686 openldap-devel openssl-devel.i686 openssl-devel zlib-devel.i686 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison libstdc++-devel.i686 pulseaudio-libs-devel.i686 gnutls-devel.i686 libgphoto2-devel.i686 openal-soft-devel openal-soft-devel.i686 isdn4k-utils-devel.i686 gsm-devel.i686 samba-winbind libv4l-devel.i686 cups-devel.i686 libtiff-devel.i686 gstreamer-devel.i686

At this point the WINE site tells us to compile and run the configuration file, yet they have failed to include this file or directions on how to compile it. There is a place you can download it here, but I am going to skip on that for right now. Click Applications>Wine>Wine Configuration.

You might mess around with the tabs, I added a few drive locations, and ended up on the Applications tab.  I changed the OS for the Default Settings to Windows 7- you might want to keep it on XP. I then clicked Add Application.

Wine Configuration

Wine Configuration

I added Internet Explorer 9, but then I could not figure out how to run it, hum. So I go back to my terminal windows, and type wine help. Wine opens up, telling me that I need to install and aditional package named Gecko. I click the install button.

Now I navigate to the directory where my Windows application was downloaded to or /Home/User/Downloads/

I then type wine <application name>

Alternately, you can browse to the file in the file manager, right-click it, and select Open with Wine Windows Program Loader.

Done and done- can’t get Office 2010 to work yet though.

What I have is an existing website on Hostmonster.com. the site is built through Joomla! The site needs a redesign. Previously I installed a WAMP server on my laptop to build this site, but I ended up having difficulties with the restore. I restored my live sit onto the WAMP server just fine, but in the administration section when I clicked links it took me to my live site’s administration page, which led to quite a bit of confusion.

So as much as I would love to edit my site locally, it will not work. So here is what I will do to completely replace my website while allowing it to remain up during the design process.

I will use Hostmonster.com to create a SUBsite of my current site. I will install Joomla! on it, making a brand new blank website. I will then make modifications to the new site. I will copy over all required information and graphics from the old site to the new site.

The new site will be live, meaning that people can browse to it. but they can only get there if they know the address, which I will not give out. this allows you to view a working copy of your site as it is seen on the internet, without disturbing your current site.

Go to Hostmonster.com, and click the Control Panel Login.

Hostmonster.com Login Page

Hostmonster.com Login Page

Enter your account information, and login.

Half way down the page, under Software, click the Simple Scripts button. You are now transported to a page that contains a lot of links. Scroll down to the Content Management section, and click Joomla>

Content Management- Joomla!

Content Management- Joomla!

Click Install.

One the next page, select your version. Go with a stable one- the latest version 1.5.22 is stable. Then, give your “subsite” a name. This will be how you navigate to the site while you are developing it.

I named mine NewSite.

New Site

New Site

Check the box to agree to the terms and conditions.

Click Complete.

Installing New Site

Installing New Site

You will then be presented with a finished screen. This displays some important information:

Site URL: The address used to browse to the live site
Login URL: This is the URL you use to log in to the Joomla! Administration panel
Username: admin
Password: A temporary password, that you can change from inside of the Administration Panel
 
You now have a blank Joomla! site to edit. You can copy your existing site using Akeeba backup, and restore it to this new site if you wish. Once you are done editing this site (This is done via Unlimited FTP in the Hostmonster Control Panel):
 
You should backup your current site both with a backup program and by copying the files to a backup directory. Then you can copy your new site’s files into the original directory. Now when users browse to what was your old site, your new site is displayed. Then you can delete the sub site.
By clicking the My Installs button, then selectiong Advanced under your new site, you can view the database name, database user, and login information. I suggest leaving this all at default, though of course you can change this using Hostmonster’s PHPMyAdmin utility.

I have been tasked with redesigning my company’s web site. Looking at it, it really is poorly designed, hard to navigate, and a little bit lackluster in graphics and design. While I am no designer, I do have a skill with the web, an objective view of the site, and the drive to fix this. I have been making changes to the live site, testing out templates, changing graphics. This is a really lame thing to do to a live site.

This post is long and can be complex. If you get stuck on a certain part- please post a comment. I will get back to you within an hour or two.

We run Hostmonster.com web hosting.

This runs a Joomla! 1.5.15 website.

All files are transferred via FTP to Hostmonster.com.

All configurations take place in the Administrator section of Joomla!

I had the epiphany that it is pretty dangerous to mess with a live site, so I decided it would be in my best interest to download a copy of the site to my PC, edit it, then replace the current site when it is done. To do this I need a copy of the web server at Hostmonster.com. They use a LAMP, which is Linux-Apache-MySQL-PHP. Now I could use VirtualBox to install Ubuntu on my laptop, and run a LAMP from there. the problem with that is then I would have to configure the virtual OS to communicate via my network, which in my experience can be a pain in the butt.

So instead, I will use a WAMP server. WAMP Server 2 has been released while it is not the recommended program levels listed by Joomla!, it is what I will use.

First, uninstall IIS if it is on your computer. My laptop did have it installed, so go to Add/Remove Programs, then turn Windows Features On or Off. Uncheck Internet Information Services, uninstall, and reboot.

Now, go and download WAMP Server 2 from here.

Once you download the file, run it, and click-through the install steps. I put mine on the D:\ drive because it has good space. I also left all of the install options at default values, such as Browser Choice, SMTP Server, and Email Address. This may not be what you want personally, but for me it works. There is a great tutorial with pictures listed here– Thanks TeamTutorials!

A good way to see if your server is online is to left-click the icon in your tray, and then select Localhost. If you get a page looking like this one, WAMP Server 2 is configured and running.

WAMP Server 2

WAMP Server 2

Keep in mind, that I have very little experience with Apache, PHP, MySQL including setup and install of a web site. In the past I used IIS 5, 6, and 7, SQL Server Express 2005, and Standard 2006. As much as I would love to copy this website using those technologies, the migration would be more trouble than it is worth.

So, now let’s get Joomla up and running.

Go to the Joomla! website and download the package, which can be found here. They only have the full install for 1.5.22 available, though there are updates for 1.5.15. I will have to deal with installing the newest version and see if it works- if it doesn’t I can always start over.

Upon further exploration, they do have the full package of 1.5.15 available here, so I downloaded that instead. Note: Make sure you download the release.ZIP file, which is appropriate for Windows installations.

I also went here, and downloaded the Installation Manual PDF and printed it.

Before we start the Joomla! install, you can double-check that MySQL, XML, and Zlib functionality is enabled by checking the PHP.ini file, which is located at: %installdir%/camp/bin/php/php5.3.0

Furthermore, lets check the installation using a PHP script. Open Notepad (Start>Run>Notepad)m and type the following into the text file.

<?php
//Show all information
phpinfo();
?>

Save this file and name it as phpinfo.php, and put it in the root of your site, which is Localhost at this time. This is located at: %installdir%/wamp/www

So save the file phpinfo.php in that directory, which will only have one file in it, index.php. Open up the web browser you used for the WAMP Server 2 install, and type http://localhost/phpinfo.php in the address bar. It should display a page like this:

PHPInfo.PHP Output

PHPInfo.PHP Output

After you check this output- which contains information about your system and WAMP, MAKE SURE TO DELETE THE PHPINFO.PHP FILE!

 Now we unzip the Joomla! zip file we downloaded from their site. I extracted it to a folder on my desktop for ease of moving. I use WinRAR, there is also WinZIP, 7-ZIP, Windows built-in, and many more.

Unzipping

Unzipping

Before beginning the Joomla! install, which will add and edit files to the WAMP Server 2 installation, I would like a backup in case things go wrong, so that I can start over. I will let you choose how to back them up, I simply created a restore point of that drive, as well as copied the WAMP folder to a remote location. Overkill maybe, but we will see.

Since we are doing a Localhost install, we simply need to copy the unzipped Joomla! files into our web root, which is located at: %installdir%/wamp/www/

You will get a pop-up asking if you want to overwrite index.php– select copy and replace.

Copy and Replace

Copy and Replace

Now navigate to http://localhost, or click the WAMP server icon from your task bar and select Localhost.

Select your language and click next.

Make sure a green Yes is displayed next to all items of the pre-installation check. If any of them say no (They shouldn’t if you follow these instructions), you should stop here and correct the problem by installing a supported version of the problem, or by Googling the exact problem.

Recommended settings are nice, and typically I would follow them. In this instance, I am going to leave them alone- which is with two red items. They are for Display Errors, and Output buffering- both of which I want.

Joomla! Checks

Joomla! Checks

Hit next a few times untill you get to the Database Configuration screen.

Database type is MySQL.

Host name is Localhost.

If you did the default install the user name is root.

There is no default password. I am not a fan of not having a password, so I am going to add-on. Click the wamp icon in your tray. Click MySQL>MySQL Console.

This opens up a DOS looking box asking for a password. Hit enter. You are now at the MySQL command prompt. Use this command to set the root password.

MySQL Password

MySQL Password

SET PASSWORD = PASSWORD(‘password‘);

The italicized text is your actual password. Hit enter, and exit out of the MySQL Console. Back in your Joomla! Installation, enter the password you just set in the password field.

At this point I realize I am going to be restoring a backup of my already configured remote web site, which has a user name and password, a database name, etc. I went to my hostmonster account and clicked MySQL Databases from the control panel, and found out my information is:

Manage User Privileges

User: ********_jml01
Database: ********_jml01

Since I have no ide what is going on with MySQL, I am going to use the default set up, root, with my password, and default database. Ill remember this spot if I run into problems later.

After a few tries of not being able to create or connect to any database, I checked MySQL and found out that there was no database. At the MySQL prompt type SELECT DATABASE(); and it will return a value of NULL.

Click on the wamp icon in your tray, and select PHPMyAdmin

MyPHPAdmin

MyPHPAdmin

Enter the database name for Create New Database. In this case I named it the same name that the one on my Hostmonster.com server is named.

Back on the Joomla! install, enter that database name and hit next. I entered the site name of my live site, which is found under Global Configuration on the site. I set up my user name/email and password. I also did not select migrate or local files. Once you enter the top information just hit next.

You now have to remove the installation directory from the %installdir%/wamp/www/ directory. Just delete it.

Now, enter http://localhost/administrator in your web browser.

Login with the user name admin, and whatever password you just entered several seconds ago.

Alright, this is where things got confusing for me. I have working backups of my live site using Hostmonster.com’s backup utility, which is in the control panel. This is not what we need, or at least what i need.

What we will do now is download two packages.

Akeeba Backup  3.1.4which needs to be installed of both live and local Joomla! sites, and

Akeeba Kickstart 3.1.5, which needs to be installed only on the local Joomla! site.

This will take different setup on both the live and localhost sites.

Live site:

Go to your sites administration, click Extensions>Install/Uninstall.

Akeeba Install

Akeeba Install

Click browse, and select the file. I downloaded this file to the computer I am installingmy Joomla! local site to. Now click upload and install. You will get a success page.

Might as well start the backup now. Go to Components>Akeeba Backup, and select backup now.

Akeeba Backup

Akeeba Backup

 

Now on your Local server (PC):

Install it the same way, except we don’t need to upload it to Hostmonster.com. Go to your localhost administrator settings, Extensions>Install/Uninstall. Select the file from your local PC, and install it. Now extract the kickstart zip. You will be looking at some files. Select them all drop drop them into the root of your site on localhost, or %installdir%/wamp/www/

Now we need to get the Akeeba backup onto our localhost. I downloaded vie the web browser- you should not do this, it may corrupt the file. The reason I did this was because I could not find the backup vie FTP on my site.

Once you have the backup file, put it in the same directory of your localhost that you put the kickstart files into, which is the root directory WWW.

You will get a bar like this one.

Akeeba Kickstart

Akeeba Kickstart

Once this completes, you will se a green button, click it to run the installer and restore.

You can check over the things on this page, specifically check the directories tab near the bottom to make sure your directories are correct.

Akeeba Backup Installer

Akeeba Backup Installer

Click Next.

Set Connection Parameters to match what you selected when setting up Joomla!. User root, the password, and the database. Mine is ********_jml01.

Click next, leave the default values alone. I entered my sites public address, and did not force overwrite temp directory placement. Hit finish, close the window back to Akeeba Kickstart, and select clean up now.

Click view your site’s front end- there is your copy!

%d bloggers like this: