JQUERY issues with Google Chrome .ajax() doesn’t load

For the life of me I couldn’t figure out why my JQuery .ajax() call wouldn’t load in Google Chrome. Especially when it worked in Firefox, IE and Safari which I thought is based on the same WebKit browser. Anyhow, I found the issue to be in the data format AND having null vars.

	type: "GET",
	data: "action=load=<? echo $php_load ?>&channel_id="+channel_id+"&color="+channel_color+"&login_id=" + <? echo $login_id; ?>,
	url: "index_feed_ajax.php",
	success: function(html)

		//hide the progress bar

		//add the content retrieved from ajax and put it in the #content div

		//display the body with fadeIn transition

the first problem was the “data” formatting – the following example is incorrect.

	data: "action=load=<? echo $some_var ?>&channel_id="+channelId+"&color="+channelColor+"&login_id=" + <? echo $login_id; ?>,

data: should be in this format:

$.ajax({url: "index_feed_ajax.php",
      data: {
            load_feed: loadVar,
            channel_id: channelId,
            color: channelColor,
            login_id: loginId
        method: 'GET',
		success: function(html){

			//hide the progress bar

			//add the content retrieved from ajax and put it in the #content div

			//display the body with fadeIn transition

        error: function(HttpRequest, textStatus, errorThrown) {
        alert(textStatus+" - "+errorThrown);

You’ll also noticed that I changed the PHP vars. I ALSO found out if the php vars were null they would create errors in the javascript console.
I set some javascript vars with PHP values before these functions run.

<script type='text/javascript'>
	loginId = "<? echo $session->login_id; ?>";
	if ( loginId == null || loginId == "") loginId = 0;
	//alert ("header loginId: " + loginId );

	load_var = "<? $_SESSION['load']; ?>";
	if ( sessionLoad == null || sessionLoad == "") {
		loadVar = "some_value";
	//alert ("loadVar: " + loadVar );

Mac OS X Mouse Hover Stops Working Logitech Wireless

So, I’ve encountered this problem a few times now where hovering over any menu or link doesn’t work and your Dock Zoom stops. I thought I’d share a solution because it’s REALLY ANNOYING!

First, make sure your batteries are charged. I find this problem begins when my batteries are low and I get stuck without mouse hover.

Next, try unplugging the Logitech USB wireless receiver and plug it back in. This helps most of the time.

If the unplugging and plugging in receiver doesn’t work, download the newest Logitech Control Center for Mac OS X

After installation of Control Center, you have to restart your computer. While restarting your computer, unplug the wireless receiver again for a couple seconds then plug it back in again.

After reboot, you should be back in action. Mac OS X Hover, Dock Zoom and everything else works again.

Good Luck!

SMTP enable port 587 on ubuntu plesk when ISP’s block port 25

On plesk 8 and greater in Mail Server Settings turn on “Enable Message Submission”

plesk enable smtp port 587

If your clients still can’t send through port 587 do the following.

Enable Port 587 on Plesk when ISP’s block outgoing mail

You should create the file or add the record manually “submission_psa”



service submission
socket_type = stream
protocol = tcp
wait = no
disable = no
user = qmaild
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

restart xinetd

/etc/rc.d/init.d/xinetd restart

MCrypt PHP5 Ubuntu Install

Ubuntu: PHP mCrypt Installation

mCrypt is an encryption program used on Linux systems.

To install mCrypt for PHP5 on your Ubuntu Linux system:

sudo apt-get install php5-mcrypt

Then restart Apache with:

sudo /etc/init.d/apache2 restart

I needed to do this so that  phpMyAdmin would have mcrypt available.

For more info about mcrypt, visit:

Official site

PHP usage of mCrypt

Plesk 10 Upgrade Apache2 Restart Problem – “Address already in use: make_sock: could not bind to address no listening sockets available, shutting down”

Unable to restart apache2 on Ubuntu 8.04LTS and Plesk 10.x?

Error Message

/etc/init.d/apache2 restart
* Restarting web server apache2 (98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

Removed Horde

./usr/local/psa/admin/bin/webmailmng --remove --name=horde

Tried Plesk Reconfigure All

./usr/local/psa/admin/httpdmng --reconfigure-all

but apache2 wouldn’t restart error, “Can not restart web server:

Finally, Plesk “Reconfigure Server” worked!

./usr/local/psa/admin/httpdmng --reconfigure-server

Not sure if removing Horde was necessary. Anyhow, I’m back in action and Apache2 can be restarted whenever I need!

Posted Solution on Parallels


have to killall before apache2 restart! ahhhhhhhhh

killall apache2

linux log files

Linux Log files and usage

source: http://www.cyberciti.biz/faq/ubuntu-linux-gnome-system-log-viewer/

=> /var/log/messages : General log messages

=> /var/log/boot : System boot log

=> /var/log/debug : Debugging log messages

=> /var/log/auth.log : User login and authentication logs

=> /var/log/daemon.log : Running services such as squid, ntpd and others log message to this file

=> /var/log/dmesg : Linux kernel ring buffer log

=> /var/log/dpkg.log : All binary package log includes package installation and other information

=> /var/log/faillog : User failed login log file

=> /var/log/kern.log : Kernel log file

=> /var/log/lpr.log : Printer log file

=> /var/log/mail.* : All mail server message log files

=> /var/log/mysql.* : MySQL server log file

=> /var/log/user.log : All userlevel logs

=> /var/log/xorg.0.log : X.org log file

=> /var/log/apache2/* : Apache web server log files directory

=> /var/log/lighttpd/* : Lighttpd web server log files directory

=> /var/log/fsck/* : fsck command log

=> /var/log/apport.log : Application crash report / log file

To view log files at shell prompt

Use tail, more, less and grep command.
tail -f /var/log/apport.log
more /var/log/xorg.0.log
cat /var/log/mysql.err
less /var/log/messages
grep -i fail /var/log/boot

View log files using GUI tools using the GNOME System Log Viewer

System Log Viewer is a graphical, menu-driven viewer that you can use to view and monitor your system logs. System Log Viewer comes with a few functions that can help you manage your logs, including a calendar, log monitor and log statistics display. System Log Viewer is useful if you are new to system administration because it provides an easier, more user-friendly display of your logs than a text display of the log file. It is also useful for more experienced administrators, as it contains a calendar to help you locate trends and track problems, as well as a monitor to enable you to continuously monitor crucial logs.

You can start System Log Viewer in the following ways:

Click on System menu > Choose Administration > System Log:
View log files in Ubuntu Linux
(The GNOME System Log Viewer)

Note you can start the GNOME System Log Viewer from a shell prompt, by entering the following command:
$ gnome-system-log &

thoughts on logo design

First we have the discovery phase. At this point in time we find out what personal brands client trends towards. What car does he or she drive, prefer, buy and really like. What restaurants do they frequent and enjoy. In this instance we would find out specific brands he or she purchases for their business. Also, what logos can they visualize in their head. In doing so we help identify the brands and styles this individual enjoys. This helps guide us to making a logo that represents our client. We also discover the the intricacies of the business operation and use these ideas as keywords in developing a logo.

After discovery we begin the design process:

8/4/2/1 Logo design process

8 unique logos are delivered for round I
We ask the client what elements they like from each logo and refine for round II.

4 logo revisions for round II.
Again, we get feedback and revise these iterations.

2 revisions for round III
more feedback and fine tuning the designs.

1 final design

Time Frame: This really depends on the speed at which we get feedback for each phase. Overall time should be from 2-4 weeks.

Format: The logo will be a vector drawing which will allow for scalability from business card small to billboard size large.

Some of my thoughts on good logo design. You want to make sure the logo works well “small” and in black and white. Think of some popular logos; Apple, McDonalds, FedEx, Nike, Target and VW, to name a few. All of these logos started out more complex then their current iteration and worked towards simplicity. What these companies have down over time is simplify the design. All of these examples work well with 1 color, which you have to keep in mind for printing and reproduction. In my opinion, what makes them successful is the simplicity. Anyone, regardless of art background, should be able to look at a logo for 3 seconds and be able to draw the basic concept of the logo. Your brain should be able to process *all* the elements of a logo by simply glancing at it.

Plesk Ubutnu Qmail runs in shell but not in Plesk Services Management

the weirdest thing happened…

/etc/init.d/qmail restart

wouldn’t give any errors.

however, trying to restart with plesk services management and the service would never start. this is because plesk checks Qmail with:

telnet localhost 25
/usr/local/psa/admin/bin/mailmng –status-smtpd

hmmm, qmail is running with the status check but not listening / bound to port 25. what controls this on ubuntu? xinet.d…

turns out after upgrade, my /etc/xinetd.d/smtp_psa file was empty!!! i created a new one

stmp_psa xinet.d file:

service smtp
id = smtp-localhost
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
bind = localhost
server = /var/qmail/bin/tcp-env
server_args = /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

after saving smtp_psa file i restarted xinet.d and QMail is working again…

/etc/init.d/xinetd restart

my facebook thread about microsoft

James E O’Loughlin ‎$microsoft = bloatware(time(now()));

  • Dan Miller likes this.
    • Corey Green you forgot the random…somewhere in there is a random multiplier that makes the computer really fast when you don’t care and really slow when you need something.

      Friday at 2:13pm ·
    • Ron Hill uh oh – bashing my employer. What is bloatware about a company?

      Friday at 2:25pm ·
    • James E O’Loughlin haaa… no doubt! i was implying that this happens every stinkin’ time.

      Friday at 2:32pm ·
    • Corey Green I think the random factor may actually be the computer chip designed with a
      mood ring as the basis.

      Friday at 2:38pm via
    • James E O’Loughlin Sorry Ron. Windows 98 and dos 3.1 are about the last time I remember MS being zippy. Pretty much everything feels bloated and sluggish now with far too many options. It’d be nice to have a trimmed down core app/is and you add packages you want. Like Linux!. Maybe I just need faster hardware. Or, maybe my computer’s mood ring turns to vomit color when I open an office app lately cuz it’s ……

      Friday at 7:15pm
    • Ted Welser I has 12g of ram on my office machine— and office is still slow opening. the only things I use are excel for data management and ppt for slide development with easy image import. google docs have already replace 80% of my word processing. in another year google will be hitting 80% of my use for ppt, docs, and excel. then, I never leave the browser.

      Yesterday at 1:32am
    • Dan Miller It’s Microsoft’s job to ensure than any hardware advancements are nullified by an operating system that needlessly cripples the hell out of it. Windows 3.1 on a 386 = 95 on a 486 = 98 on a Pentium = ME on a Pentium 2 = XP on a Pentium 3 = Vista on a Core2 Duo = 7 on a Core2 Quad. Nothing ever gets any faster because Microsoft has always been about making it slower by dumbing it down and making it “pretty.”

      Yesterday at 12:32pm ·
    • Ron Hill

      Hey James, You can always disable features to reduce the footprint of the OS. This is even more true of the Server OS’s. I noticed a couple of the other commenters here threw out a bunch of generalizations that are way over used and clich…e’. 12G of RAM in an Office machine – sounds like a case of more dollars than sense. Windows 7 is faster – there is imperical evidence to prove this. I don’t want to get in a shouting match here, I know everyone has there preferrence and I am not here to change it one way or the other, however I would be happy to assist you in determining why your PC is sluggish or feels unresponsive.See More
      Yesterday at 1:10pm ·
    • James E O’Loughlin

      Sorry, Ron. I’d love for you to help but I honestly gave up on Microsoft in the late ’90s when I was using an Amiga desktop, maintaining VAX and IBM RS servers for Miami University. I was also forced to maintain client Windows boxes which …were always a mess for a multitude of reasons. I prefer the X OS’s now; Unix, Linux and OS X. If I’m forced to run windows I use Sun’s VirtualBox. if anything goes bad, I just delete the Windows image file and reinstall the system. My initial post was me venting about opening Excel spreadsheets when a client sends them. In fairness, the comments above are legit and not cliché. I know Ted slammed 12gb of RAM in his box because he does some complicated algorithms and data processing in Excel. I think he should find some grad student to write apps for his school’s parallel or cluster servers and get screaming fast CPU cycles. Dan’s a smart cookie as well, he owns a successful IT consulting firm which I believe helps Windows peeps out. I won’t take anything away from your knowledge or expertise of Microsoft products. You most likely have you and your clients boxes flying. I think anyone with an in depth knowledge of any OS can keep their box and servers optimized, running fast and virtually free of issues. I just prefer to stay clear from everything MS. which constantly reminds me of viruses, scans, drivers and bloat…See More
      a few seconds ago ·

Plesk Ubuntu Remove DrWeb!

the MAGIC apt command to remove all of DrWeb:

apt-get remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator

root@blue:/home/primax# apt-get remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
Use ‘apt-get autoremove’ to remove them.
The following packages will be REMOVED:
drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 983kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database … 356100 files and directories currently installed.)
Removing drweb-base …
Removing psa-drweb-configurator …
Trying to Reconfigure watchdog… Removing drweb-daemon …
Shutting down Dr. Web daemon…
Removing drweb-bases …
Removing drweb-updater …
Removing drweb-common …

After removing DrWeb I’m now getting the following cron job error emailed to me:
/bin/sh: /opt/drweb/update.pl: not found

restore QMail prefs with mchk util:

./mchk -without-spam

root@blue:/usr/local/psa/admin/sbin# ./mchk -without-spam

didn’t remove cron job error. but this seemed to deliver all Qmail queu…

found the DrWeb cron job in /var/spool/cron/crontabs

root@blue:/var/spool/cron/crontabs# ls -l
total 52
-rw——- 1 daemon    crontab  230 2010-10-12 16:30 daemon
-rw——- 1 drweb     crontab  224 2010-11-10 01:20 drweb
-rw——- 1 fcc       crontab  198 2009-11-11 22:05 fcc
-rw——- 1 flight    crontab  287 2010-04-30 00:55 flight
-rw——- 1 house     crontab  493 2010-03-30 18:29 house
-rw——- 1 james     crontab  229 2010-08-25 10:57 james
-rw——- 1 kluser    crontab  343 2009-06-04 12:01 kluser
-rw——- 1 mail      crontab  228 2010-10-12 16:30 mail
-rw——- 1 mvc_admin crontab  349 2010-10-20 10:19 mvc_admin
-rw——- 1 patriots  crontab  198 2010-10-04 13:59 patriots
-rw——- 1 qmaild    crontab  230 2010-10-15 12:43 qmaild
-rw——- 1 qmaill    crontab  230 2010-10-15 12:43 qmaill
-rw——- 1 root      crontab 1039 2010-11-10 09:59 root

removed the cron job – i’ll see if this stops the emails. I’m afraid that the QMail cron or something is calling drweb. we’ll see if this works.

root@blue:/home/primax# crontab -r -u drweb

this will remove the cron job for drweb…

finally *might have* figured out how to get rid of the annoying drweb cron emails, “/bin/sh: /opt/drweb/update.pl: not found”

solution found here

Log in as root (or you can use sudo) and open /etc/drweb/drweb32.ini:

Look for:
CronSummary = Yes

And change it to:
CronSummary = No

o.k. location of the stoopid DrWeb cron job, /etc/cron.d

root@blue:/etc/cron.d# ls -l
total 36
-rw-r--r-- 1 root root  244 2008-08-01 09:44 anacron
-rw-r--r-- 1 root root  200 2008-12-03 15:13 awstats
-rw-r--r-- 1 root root   40 2009-07-03 02:36 drweb-update
-rw-r--r-- 1 root root  161 2009-10-13 16:41 magicspam-update
-rw-r--r-- 1 root root 1393 2010-11-15 16:14 mailman
-rw-r--r-- 1 root root  580 2008-11-07 12:49 mdadm
-rw-r--r-- 1 root root  492 2008-11-25 17:15 php5
-rw-r--r-- 1 root root 1323 2008-03-31 09:16 postgresql-common
-rw-r--r-- 1 root root   75 2010-11-18 16:37 sbackup

from this site I found you can stop the annoying emails.

but for me, i’m deleting the annoying thing!

rm drweb-update

bye — bye —

PLESK upgrade 10.x from 9.5 stalls, quits, sucks!

PLESK upgrade from 9.5.x to 10.x went like crap on my ubuntu server. Finally found this fix.

# cd /usr/local/psa/bootstrapper/pp10.9.0-bootstrapper/
# ./bootstrapper.sh repair

this bootstrapper.sh repair ran for about 2 hours on our server. let it go.

i’d like to point out that i upgraded everything in dpkg



./httpdmng –reconfigure-all

root@blue:/usr/local/psa/admin/bin# ./httpdmng –reconfigure-all
root@blue:/usr/local/psa/admin/bin# /etc/init.d/apache2 start * Starting web server apache2


urgent upgrade problems contact plesk/parallels:

Parallels Holdings, Ltd.

c/o Parallels International GMbH

Vordergasse 49

CH8200 Schaffhausen


Phone: +41-526-722-030

Fax: +41-526-722-010s


Please fix error(s) in templates of Apache configuration and retry generating the configuration file.


James E. O’Loughlin Jr.

1987 Graduate Ceres High School California
1989 Graduate US Army Missile Guidance Technician Redstone Arsenal Alabama
1996 Graduate Miami University Oxford Ohio B.S. Art Education

Work Experience:
Architect, design and build ANY website using WebObjects and Java or PHP web application servers pulling data from SQL (OpenBase, MySQL or Oracle) database server using the latest HTML, CSS and JQuery front end.

20 years of Server and System Administration. Setup networking and Unix servers at Miami University 1992-1996 before working at Primax. Currently maintain all of Primax web, email, dns and ftp servers.

16 years of HTML and website development.

11 years Java and WebObjects development. Built http://bitSPROCKET.com CMS system over last ten years being used by 100′s of clients around the country.

5 years PHP and MySQL Development. I can build anything from a blog, store, file manager, Facebook App, etc…
http://flightcrewcentral.com – online business look up and vacation deals for flight crew personnel.
http://gobigrecruiting.com – video sharing site for students
http://sharesprocket.com – file sharing for companies and organizations
http://newsf33d.com – (still in development)

9 years CSS development

10 years Javascript and 3 years JQuery development