IndigoAMPP and HTMLPad 2014

How To's

Send me your question. I'll post an answer ASAP

Send me your questions about using HTMLPad 2014 and IndigoAMPP and I'll post the answers here.

If you would like a direct response, please include your email address.
(We will not post your email address)


 

Some Questions We've Answered

Why can't I get Find in files and Replace in files to work?

I complained about this for the first couple of years I used HTMLPad.

The techs couldn't even tell me what was wrong.

Here's the very simple FIX.

Go to: Options - Preferences - Text Editor - General

Check the box: Constrain cursor to text as shown.

No more problems!!

Fix Replace in files

 

I am running windows 7 - I downloaded and installed IndigoAMPP and purchased HTMLPad 2014.
When I launch the IndigoAMPP monitor neither MYSQL or Apache will start- When I change the settings in Indigo to "Run as Administrator" MYSQL will start but Apache does not. I have tried uninstalling Indigo and reinstalling it- there are no prompts that will allow me to make any selections on preferences. I have to select "run as Administrator" each time to start MYSQL, but I am stuck without Apache.

I tried turning off the user accounts, which only allowed MYSQL to turn on automatically. I then added Apache to the list of programs that I would allow to bypass the fire wall, still will not work. There must be something I am missing.

User's solution: As it turned out Skype was hogging port 80. When I quit Skype before starting Apache, it worked fine.

 

If I don't use HTMLPad 2014 how can I set up my files with the IndigoAmpp server?

When you installed IndigoAmpp, it probably created a folder named indigoampp. Inside that folder is another folder that starts with the Apache name depending on the version of the server you installed.

Ours was apache-2.2.11. Inside of the apache folder is an htdocs folder. Save your scripts in that htdocs folder.

To make sure they are there: Start the server. Open your browser. Type: http://localhost in the top and hit enter.

You should see an index of all the files in the htdocs folder.

You can run the programs or scripts by clicking them from the list or by entering their name after http:/localhost/ as shown here:
http://localhost/examplescript.php

Modify your scripts with any text or code editor of your choice. You should not use a WYSIWYG editor.

 

I have a MySQL database created and is hosted with my ISP. I'm using my free webspace to host my domain/website. I have Indigoampp installed locally and also HTMLPad 2014 (it's good). Now, because i'm a 60 year old dummy, I don't know what to do next. I want visitors to be able to search/access my genealogy database, as i'm fed up creating thousands of htm pages. Help please ?

Visit our PHP/MySQL Tutorial. There are basic scripts there that may help you to build your database on IndigoAmp and others to make search routines for your users. There's also a lesson on uploading your MySQL database to your webspace.

 

How do you find out what your username and password is to connect a script to a database? I created a database and it's asking for my username and password. I tried entering my pc user account name and password but it's not working.

If you created your database on the IndigoAMPP web server, the server is configured to accept:
Username: root
Password:
Leave password blank.
$link = mysql_connect("localhost","root","");

 

Why when I press F2 in HTMLPad 2014 an error message \"NO APPLICATION IS ASSOCIATED WITH THIS FILE TYPE\" is shown?

F2 is the shortcut key for Previewing documents. What's in the editor window?

 

How do you get the Previewer to View pages via localhost?

See My Tutorial on setting up Preview-Mappings in HTMLPad 2014.

 

Where should I build and save my web pages?

You should build everything in the c:\indigoampp\Apache-2.2.11/htdocs folder, except Perl scripts.

You can create sub folders within the htdocs folder to keep things organized.

 

How do you access the PHP/MySQL Admin Panel?

Turn on the IndigoAMPP server. Make sure you have set up Mapping in HTMLPad (See above).

Click File - Open - Apache-2.2.11/htdocs - PHPMyAdmin (folder) - Scripts - signon.php

Open the script in the editor - Click Preview

You don't have to enter any log in information. Just hit the Submit Query button and you are in.

 

Where should I save my Perl scripts?

Save them in the cgi-bin folder. Set up Preview- Mapping for cgi-bin as shown in my tutorial but, add the following settings :
C:\indigoampp\apache-2.2.11\cgi-bin\   http://localhost/cgi-bin/

 

When I make changes to my code, I don't see them when I preview the web page. what's wrong?

When running on a server, you will need to refresh the web page or script to see changes. Right click on the page and click Refresh.

 

My forms and scripts work fine on the localhost. When I upload them to my website they don't run. what's wrong?

The first thing to check are the file permissions for the script. Many web hosts require you to set these manually. Right click on the file using your file manager or FTP client and look for CHMOD. Change 644 to 755.

 

Why am I not getting error messages when my scripts crash?

Click Options - Preferences - Preview

Choose General settings. Remove the check from the box that is labeled Disable script debugger messages.

 

Can I build my MySQL database on the localhost and move it to my web hosting account?

Yes you can. You can use the Export function on the PHPMyAdmin panel on the localhost. You then use the Import function on your web host's PHPAdmin panel to add it to your website. There are detailed instructions on your web host's PHPMySqlAdmin panel that tell you how.