Nothing is working,... what to do (for the future)

Okay as i see a lot of posts with people saying that nothing works anymore, I write a little hint how to prevent that in future.

I by myself use a tool called xampp ( http://www.apachefriends.org/de/xampp.html ). Xampp is a local http server which allows you to install a copy of phpvms directly on your computer and open it in your internet explorer/mozilla/…

It takes like 5 minutes to configure and install everything. What i do before i change something on my “live” website in the internet is to download all the files on my computer, import the current database into the xampp phpmyadmin mysql database and try it out there. Test out your new installed addons for some time until you are sure that things work. Then upload it to your live website but be sure to still have a backup somewhere !! For some people it might not be that important as they dont change a lot in their phpvms version but I am one of those guys, trying to customize it as much as possible. A loose of files would make me crazy 

Maybe someone can make this sticky so its easy to see this post

Excellent post!

I do the same thing except I have a live dev site I use to test updates and addons!

Thanks.

I do this as well, except, I have a subdomain I use:

dev - My site with all development

stage - fresh installs on commit (i have a script which cleans the db, copies files over)

release - the last released version (for testing updates)

You can also point multiple sites to the same database, just use the same settings in local.config.

You can also point multiple sites to the same database, just use the same settings in local.config.

Thats exactly what i do

I have 3 installs on the same database, server in US, UK and upstairs in my office…

You can also point multiple sites to the same database, just use the same settings in local.config.

If I do this and change the theme on my devsite… will it also change it on my main site?

That’s a good point, it would. I should change that skin functionality to be in a local config file

Word of caution! 

If you use the same database for your dev site and your production site ANY changes having to do with the database will carry over to your production site.  For that reason I have two copies of my database.

Well, all changes are additive (adding columns or tables), so they won’t affect any older code

Right,  I guess what I was referring to was if I made a fake pilot on the dev he automatically showed up on the prod.  etc. 

I was trying to keep my pilot numbers in order but I didn’t realize I was using my production database on the dev site so when I logged in to prod I had the users.  :-[ 

Silly me. ;D

Right,  I guess what I was referring to was if I made a fake pilot on the dev he automatically showed up on the prod.  etc. 

I was trying to keep my pilot numbers in order but I didn’t realize I was using my production database on the dev site so when I logged in to prod I had the users.  :-[ 

Silly me. ;D

Yeah, good points

Is it a program that lets you run your website from your computer on Vista? Is it a program or a OS?

its a program.. works on almost every OS. I use windows 7

I dont how how can i install. i have phpvms file from my website and my SQL database. how can i install them?

ok first you install xampp,.. then you open your internet explorer or mozilla or whatever and put into the address line: http://localhost/xampp

then there should be some setup window where you can change some settings (help should be included) you can reach phpmyadmin via http://localhost/phpmyadmin

Your local “webserver” has the directory htdocs which is in your xampp folder

Instead of using xampp, I’d suggest (if you can), use a subdomain and a different database. With it being on localhost, some of the javascript and ajax functionality won’t work, due to browser security restrictions

My browser is fully opened to everything.