Jump to content

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


hjhjhgjgjh

Recommended Posts

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

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

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