Wednesday, September 18, 2013

Joomla 3.1 instalation stuck on creating tables.

I was installing Joomla 3.1 by uploading Joomla files. Instalation stuck when creating tables. PhpMyAdmin show that tables created, but instalation loops forewer on this step.

Replacing "ENGINE=InnoDB" by "ENGINE=MyIsam" in the SQL script /installation/sql/mysql/joomla.sql solved the issue.


I tried adding a php.ini file with *max_execution_time = 3000* and *memory_limit = 256M*, but it did not worked.

Monday, September 16, 2013

Windows 7 Profiles Wont Load. Stuck with Backup Status.

There are bugs that you can get around with, and then there are some that are just weird.. I came across one that involved a weird state for a localwindows profile. Usually this will prompt you to simply solve the issue by just re-creating the profile. This usually solves the issue, but there is a faster way to resolve issues that involve with the profile with a backup status:Image
The image above doesn't really show a backup status but, you get thepicture. The profile in question will load the home directory c:\users\TEMP. The user's desktop won't be the same,outlook won't have the same profile, and the user's favorites will be gone. Lets not panic, the folder in question is still there. The user is just not properly mapped to the right home directory.
First thing to do is to reboot the workstation in question. If you still have the same issue, we will need to modify the registry.
NOTE: Modifying the registry is risky, and even if you follow the instructionsword for word, I can't guarantee success or a corrupted windows or loss of data. Please proceed at your own risk.
This remedy is taken from this Microsoft KB article, but ill mention it here for completeness and add my thoughts to each task.
http://support.microsoft.com/kb/947215
Go to Start and run REGEDIT
Go to:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
In this key, you should see something similar to this:
Image 
The S-1-5-21 keys actually are the configuration of the profiles in windows. one thing to notice is that there are two that are strikingly similar (S-1-5-21-1079119....) but with one difference, the .bak at the end of the key at the bottom.
Lets take a look inside the key:
A healthy profile should look like this:
Image
A cool thing to note is that the ProfileImagePath points to thehome directory of the user. An unhealthy profile will display theProfileImagePath to c:\users\temp, and the RefCount will have a value higher than 0.
To solve the problem, login to an administrator account other than the one that has the issue.
Next modify the key name that doesn't have the .bak to .ba.
Image
Now Rename the key that HAS the .bak and remove the .bak.
Image
Finally modify the key name that HAS the .ba to .bak
Image
Once that is done, you will need to modify a few more things in the key without the .bak.
We need to change the RefCount to 0
We need to clear the state in State to 0
Now its time to reboot and try to login.
This worked for me. What your more or less doing is manually changing the state of the profile from the backup state to a local state

PROPS to Tmatthews / http://microitblog.com/micro-it-blog/2012/01/17/windows-7-profiles-wont-load-stuck-with-backup-status