hjhjhgjgjh Posted January 22, 2010 Report Posted January 22, 2010 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 Quote
TennShadow Posted January 22, 2010 Report Posted January 22, 2010 Excellent post! I do the same thing except I have a live dev site I use to test updates and addons! Quote
Administrators Nabeel Posted January 22, 2010 Administrators Report Posted January 22, 2010 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. Quote
Moderators mark1million Posted January 22, 2010 Moderators Report Posted January 22, 2010 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..... Quote
piper338 Posted January 27, 2010 Report Posted January 27, 2010 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? Quote
Administrators Nabeel Posted January 27, 2010 Administrators Report Posted January 27, 2010 That's a good point, it would. I should change that skin functionality to be in a local config file Quote
TennShadow Posted January 27, 2010 Report Posted January 27, 2010 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. Quote
Administrators Nabeel Posted January 27, 2010 Administrators Report Posted January 27, 2010 Well, all changes are additive (adding columns or tables), so they won't affect any older code Quote
TennShadow Posted January 27, 2010 Report Posted January 27, 2010 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 Quote
Administrators Nabeel Posted January 27, 2010 Administrators Report Posted January 27, 2010 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 Quote
Moderators Kyle Posted February 6, 2010 Moderators Report Posted February 6, 2010 Is it a program that lets you run your website from your computer on Vista? Is it a program or a OS? Quote
hjhjhgjgjh Posted February 6, 2010 Author Report Posted February 6, 2010 its a program.. works on almost every OS. I use windows 7 Quote
Moderators Kyle Posted February 6, 2010 Moderators Report Posted February 6, 2010 I dont how how can i install. i have phpvms file from my website and my SQL database. how can i install them? Quote
hjhjhgjgjh Posted February 6, 2010 Author Report Posted February 6, 2010 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 Quote
Administrators Nabeel Posted February 7, 2010 Administrators Report Posted February 7, 2010 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 Quote
Moderators Kyle Posted February 13, 2010 Moderators Report Posted February 13, 2010 My browser is fully opened to everything. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.