Wednesday, December 12, 2018

“WAMP” + “Forbidden You don’t have permission to access /phpmyadmin/ on this server.”

I broke my WAMP installation testing Facebook App locally. I could no longer get into PHP myAdmin.

I found the following link. The first advise is the one that worked for me.

http://stackoverflow.com/questions/10600795/wamp-server-error-forbidden-you-dont-have-permission-to-access-phpmyadmin-on

Go to C:\wamp\alias. Open the file phpmyadmin.conf and change

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Directory>

to

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Allow,Deny
    Allow from all
</Directory>

Facebook app set up for Joomla component

I recently had component that pulls facebook photos into a Joomla 1.5 site break. It didn’t pull the photos in. The component’s developers blog didn’t have my fix.

I got lost in setting up Facebook App account connected to Heroku, when all I needed was an AppID and a App Secret. I was confused by canvas page and other parts. It turned out all I needed to provide was a name and the actual URL of the site that had the component installed. I was trying to run it localhost. It looks like that toolkit can be used for building apps locally.

You also need to give your app some  time to propagate to their servers.

Unable to log into Heroku Windows 7 Command Line

I installed the Heroku toolbox on my win 7 machine. The next step to setting it up was to use the command line to login.

Start at the command line and type in “heroku login”. I entered my email address and password associated with the account. Came back with, “Could not find an existing public key. Would you like to generate one? [Yn]”. I typed y and hit enter, and I got the following:

“Could not generate key:  ‘ssh-keygin’ is not  recognized as an internal or external command, operable program or batch file.”

Searched the web and found that installing Git from this site http://git-scm.com/download/win made it possible.

After downloading and installing Git, I went to C:\program files(x86)\git\ and clicked on the “Get Bash” short cut. A command line prompt opened. I typed in the same thing as before, “heroku login”. It asked for email and password. Asked me to generate a key[Yn], I typed y, hit enter and everything worked this time.