Jump to content

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


Recommended Posts

Posted

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

  • Administrators
Posted

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.

  • Moderators
Posted

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.....

Posted

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?

Posted

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.

Posted

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

  • Administrators
Posted

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 :)

  • 2 weeks later...
  • Moderators
Posted

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

  • Administrators
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...