Workaround: Adobe Edge Inspect CC/Chrome Extension Issue

I recently started using Adobe Edge Inspect for my cross platform website testing. Adobe Edge Inspect is a very simple, and easy to install plugin. I would recommend to anyone to give it a try.

However, whenever I’d try to open the Edge Inspect Chrome extension in my machine, after I installed it, I’d get the error message “Please start the Adobe Edge Inspect application.” I’m on a MacBook Pro, running OS X 10.8.4. Using Edge Inspect CC, version 1.0.407 and Edge Inspect Chrome extension (version 1.0.424.1), on Chrome (31.0.1612.2).

If the Chrome extension icon is gray, that means that either the Edge Inspect desktop application isn’t running or the Chrome extension can’t talk to it for some reason. So, as expected, I revisited my installation process to make sure I followed all the steps correctly. This didn’t solve my problem, even though I made sure my devices were all using the same wifi connection. After doing some research I found out this is a known issue with my Chrome version and Adobe is actively working on solving this problem.

There is a quick workaround that requires to modify the Adobe Chrome Extension as installed from the Chrome Web Store. It’s important to mention that I will not be held responsible for any other issues this may cause. This is a fix that worked for me immediately. You may want to ask for assistance if you don’t feel comfortable making this update yourself. Again, this is a quick workaround, not the ideal solution but it worked for me and I hope the Chrome extension is fixed soon or Chrome changes the way WebSockets are handled so the plugin can work properly in this browser version.

Step 1: Disable Edge Inspect Chrome extension
Browse to chrome://extensions and uncheck/Disable Adobe Edge Inspect CC 1.0.424.1

Step 2: Browse to the inspect.js file
In Finder, Cmd-Shift-G or from the Menu bar Go > Go to folder…
Copy/paste
~/Library/Application Support/Google/Chrome/Default/Extensions/ijoeapleklopieoejahbpdnhkjjgddem/1.0.424.1_0/js/

Step 3: Edit inspect.js file
Select inspect.js and edit it any text editor (TextEdit, TextWrangler, or even Edge Code CC)
On line 61 look for the following code:
this._wshandle = new WebSocket(this._protocol + “://” + this._host + “:” + this._port + “/”, “shadow”);
Edit the line to remove , “shadow” (note the comma and space is also to be removed). So you’re resulting code should be:
this._wshandle = new WebSocket(this._protocol + “://” + this._host + “:” + this._port + “/”);
Save changes

Step 4: Enable Edge Inspect Chrome extension
Browse to chrome://extensions and check/Enable Adobe Edge Inspect CC 1.0.424.1
The icon in your toolbar should change immediately from grayed out to full color brown and everything should function as usual

Source:
http://forums.adobe.com/thread/1285827
http://forums.adobe.com/thread/1308519

HowTo: Fix .mkv audio problem

Do you have .mkv files that play the video but there is no audio?  I’ve gotten a few emails from my readers related to this subject recently. The solution can be pretty simple.

As long as you have the correct filter setup, all of your audio will play fine in a DivX Player/Web Player. This type of files require a filter called  AC3Filter 1.63b Full. Make sure you download the full version and install it. After this you should be able to play your videos in Window Media Player or any other player.

HowTo Fix: PhpMyAdmin Muestra Pagina En Blanco Despues de Logeo

Método #1

La solución a este problema de página blanca fue algo simple. Sólo basto modificar esta línea en phpmyadmin/config.inc.php

$cfg['Servers'][$i]['host'] = 'localhost';

to this:

$cfg['Servers'][$i]['host'] = '127.0.0.1';

En el código de arriba, se esta cambiando el nombre de servidor a 127.0.0.1 con la finalidad de usar conexión TCP/IP . Luego de esto te sera posible ver tu página de PhpMyAdmin al abrir http://127.0.0.1/PhpMyAdmin en tu navegador.

Espero que este consejillo les haya sido útil!

Nota: Siempre que especificas “localhost” o “localhost:port” como servidor, la libreria de MySQL sobreescribira esto y tratara de conectar a una soquete local (named pipe on Windows). So quieres usar TCP/IP, usa “127.0.0.1” en lugar de “localhost”. Si la libreria MySQL trata de conectar a el soquete local incorrecto, entonces cambia la direccion correcta como Runtime Configuration en tu configuracion y deja el campo de servidor en blanco.

ACTUALIZACION Dic 15, 2010:

Investigando más a fondo este problema, al parecer es causado por un PHP bug #45150. El problema parece ser con la manera en que Windows maneja el localhost, especificamente la manera en la que localhost lee ::1 cuando IPv6 se encuentra habilitado. Si tienes Windows Vista o Windows 7 es probably que IPV6 este habilitado por defecto.

Método #2

1. Ir a Conexiones de Red -> Propiedades y en Conexion de Area Local-> deselecciona IPV6.

2.Abrir \%windir%\system32\drivers\etc\ con algun procesador de texto y quita el comentario de:

::1 localhost

and agregale el prefijo:

#::1 localhost

Este arreglo ayudará a que la interface 127.0.0.1 apunte a localhost.

Guardar y las conexiones de PHP/MySQL empezaran a funcionar al instante.

Ambos métodos funcionan, aunque prefiero este último por ser una manera más formal.

To read this article in English, click here.

Howto: Create and Copy an Image file from a CD to another Memory Data Storage Device

About a month ago I got myself a Netbook – an HP Mini. The Netbook had Windows 7 installed but I wanted to install the reduced version of Win 7, better known as Tiny 7. The problem came up when I needed to use the Tiny 7 installation CD. This small Netbooks don’t come with a CD driver and I didn’t have a portable CD drive, so I needed to make use of my USB memory card and make sure it was bootable, just like the installation CD would.

The problem with manually copying all the information from the CD unto my USB memory was that I will probably be missing many of the hidden files in the CD as well as the bootable property. I needed to make sure I created an image from the CD unto my USB memory.

If you’re in a similar situation where all you need is to copy an exact image from a CD or any other storage device unto another storage device. The solution is simpler than you think, just do the following:

1. Open your command window: Start > Run > cmd
2. And write xcopy F:\*.* E: /s/e/f

F: is the origin drive and E: is the destination drive.

That’s all. You won’t need to wonder if you missed copying one or two files anymore, this will do the trick of copying everything for you in only two steps. Until next time!

HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In

phpmyadmin-vista

Recently I published an article about Windows Vista Home Premium and the “problems” I was running into when installing my programs. Well, this time I run into another problem when I installed appserv-win32-2.6.0 . Everything seemed to work just fine, Apache was working well, but when I tried opening PhpMyAdmin for some reason it was displaying a blank page after I entered my login information.

Method #1

The solution to this blank page problem is fairly easy. Simply modify this line in the phpmyadmin/config.inc.php

$cfg['Servers'][$i]['host']          = 'localhost';

to this:

$cfg['Servers'][$i]['host']          = '127.0.0.1';

In the above code, you’re changing your name server to 127.0.0.1 in order to use TCP/IP connection. After this, you should be able to see your PhpMyAdmin page by opening in your browser the address http://127.0.0.1/PhpMyAdmin

Hope this helps!

Note: Whenever you specify “localhost” or “localhost:port” as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use “127.0.0.1” instead of “localhost”. If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as Runtime Configuration in your PHP configuration and leave the server field blank.

UPDATE Dec 15, 2010:

Doing further research on this subject, this problem seems to be caused by a PHP bug #45150. The problem seems to be with Windows resolving localhost, more specifically localhost resolving to ::1 when IPv6 is enabled. If you have Windows Vista or Windows 7 it’s most likely you have IPV6 enabled by default.

Method #2

1. Go to Network Connections-> Properties and on local area connection->uncheck IPV6.

2.Open up \%windir%\system32\drivers\etc\ with a text editor and comment out this line:

::1 localhost

and prefix it:

#::1 localhost

This fix will help the loopback interface 127.0.0.1 point to localhost.

Save it and your PHP/MySQL connections will immediately begin working.

This is another way of fixing this problem. Both methods will work, but I’d recommend to follow this last method over the first one since it’s updated and it solves the localhost issue in a more efficient way now that we have detected the source of the problem.

Big thanks: to my readers Joberror, Adrian, Brandon and everyone else for your contributions.

HowTo Fix: Dreamweaver Closes Automatically when Initializing in Windows Vista Home Premium

dwvista

For the last couple of weeks I have been working on my new laptop that has Windows Vista Home Premium installed in it. Unfortunately, I run into a problem a week after I had it, I decided to install Dreamweaver CS3 and it wouldn’t start correctly. Dreamweaver would look as if it was starting and then close itself a few minutes later.

I tried running the program as Administrator, uninstalling and reinstalling, I tried installing other DW versions but still no luck.

Finally, I figured out that my Acer Aspire 5920 laptop had a program called Acer Empowering Frameworks installed that was blocking Dreamweaver. I still don’t understand why it would block a program, but it’s certainly a problem that Acer needs to solve soon.

So once that I identified the problem the solution was simple. Uninstalling Acer Empowering Frameworks Software from my Acer laptop was the solution, as simple as that. I believe this advice has been useful to a lot of people so there you have it. Hope this helps you as it helped me.

Develop Your Online Identity (Part II): Brand Yourself With Gravatar

We have talked in a previous article about how easy it is to have an online presence now days. The key is not in creating an online presence but also learning to develop and maintain this online identity clean, friendly and professional.

This is the second part of my previous post called How to Create, Develop and Maintain a Successful Online Identity.

Build and Maintain a Good Online Reputation

Regardless of what the purpose of your profile/website/ blog is, it’s important to keep a clean online reputation  – even if you are not planning on doing business online.

Have you tried “googling” yourself? Try it and see what comes up. What you will see is what’s your online identity today.

Brand Yourself with Gravatar

There are some really good tools you can use if you are trying to create a successful online identity. One of them is Gravatar.  To quote from the website “A gravatar, or globally recognized avatar, is quite simply an image that follows you from site to site appearing beside your name when you do things…”

Benefits of using Gravatar

Avatars allow people to recognize you  easier whenever you comment or post something on websites, blogs and web forums. Continue reading Develop Your Online Identity (Part II): Brand Yourself With Gravatar

Google Reader Keyboard Shortcuts

Google Reader has lots of useful keyboard shortcuts. Here is the list.

Navigation
j/k        : next/previous item
space        : next item or page
<Shift> + space    : previous item or page
<Shift> + n/p    : next/previous subscription
n/p        : item scan down/up (list only)
<Shift> + x    : expand folder
v: view original
<Shift> + o    : open subscription or folder

Acting on items

s        : star item
t        : tag item
e        : email item
<Shift> + s    : share item
<Shift> + d    : share item with note
v        : view original
o/enter        : expand/collapse item (list only)
c        : add comment
<Shift> + c    : view comments
m        : mark item as read/unread
<Shift> + a    : mark all as read

Jumping

g then h    : go home
g then a    : go to all items
g then s    : go to starred items
g then <Shift> + s: go to shared items
g then u    : open subscription selector
g then t    : open tag selector
g then <Shift> + t: go to trends page
g then d    : go to discovery page
g then f    : open friend selector
g then <Shift> + f: go to friends’ shared items
g then c    : go to comment view

Application

r        : refresh
u       : toggle full screen mode
1        : switch to expanded view
2       : switch to list view
/        : move cursor to search box
a       : add a subscription
=       : increase magnification
–        : decrease magnification

via: Google Reader

HowTo: Find Model and Serial Number of your Computer using DOS Commands

portable-computer-256x256A few days ago I found a really nice tip about how to find your serial number and model of your computer without too much hassle. Some desktops and laptops of the most popular brands come with a serial number. This information comes in handywhenever you are about to get technical support, or wanting to register your product online, just to mention a few cases.

Here is how you can find the Model and Serial Number, you just need to follow this steps:

1) Go to  Start -> Run -> cmd

2) Once you are in the command line, enter wmic bios get serialnumber this will return the serial number of your computer.

3) And if you enter wmic csproduct get name, this will return the Model Name of your computer.

As you can see, this works well in computers with a popular name like DELL, HP, IBM, etc. Pretty easy, huh?

via: Kabytes

HowTo: Solution to Errors when Configuring OsCommerce with PayPal or Upgrading OsCommerce to PHP5

configureA couple weeks ago I was in charge of configuring an OsCommerce account with PayPal Module. Unfortunately, when searching on the internet I came to find out that there wasn’t a lot of documentation on the web about this subject. So I had to spend a few more minutes trying to figure out some things that I wasn’t familiar with. Fortunately, I didn’t run into many problems, since I had configured OsCommerce a little while ago already, and I only had to take care of configuring PayPal.

However, there were a couple problems that  I noticed there wasn’t a lot of help documentation available online, so here I leave you a pretty short and specific post which I think is going to be very helpful for those who are looking to fix some problems while configuring their OsCommerce with Paypal or upgrading.

Problem:

Shipping Modules not showing up in OsCommerce Admin Module

Solution:

On the live server  login to the Admin page, and go to Tools > Server Info. Search for “DOCUMENT_ROOT” then copy and paste the value for that field into admin/configure.php and add the catalog directory onto the end of it, like this:

define(‘DIR_FS_CATALOG’, ‘/home2/www/public_html/catalog/’);

This fixed both the images folder issue and the modules issue. I have tested installing/removing modules and it’s all working ok.

Problem:

Error When Clicking on Customers in the OsCommerce Admin page.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/xxxxxx/public_html/admin/customers.php on line 733

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/xxxxxx/public_html/admin/customers.php on line 733

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/xxxxxx/public_html/admin/customers.php on line 735

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/xxxxxx/public_html/admin/includes/classes/object_info.php on line 17

Warning: Variable passed to each() is not an array or object in /home/xxxxxx/public_html/admin/includes/classes/object_info.php on line 18

Solution:

This problem usually happens when you upgrade your OsCommerce site to PHP5 version.  So , if you are using PHP version 5, then this might be the answer.

Find these lines:

$customer_info = array_merge($country, $info, $reviews);

$cInfo_array = array_merge($customers, $customer_info);

and change them to:

$customer_info = array_merge((array)$country, (array)$info, (array)$reviews);

$cInfo_array = array_merge((array)$customers, (array)$customer_info);

I hope you find this short tutorial useful. When I run into this problems I wished I would have found a post like this, so here it is in a nutshell just for you. Until next time!