DiyLightAnimation

Software => Nutcracker: RGB Effects Builder => Topic started by: smeighan on September 07, 2012,

Title: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
Nutcracker needs an Apache server and a MySql database running on your winodws (XP, 7) machine.

There are two choices for getting these, WAMP or XAMPP. I have used both.

Here are the steps to install Nutcracker on your local Windows 7 or Windows XP box


1) Download
Wampp. http://www.wampserver.com/en/
or
Xampp. http://sourceforge.net/projects/xampp/files/latest/download
2) Take all defaults for installation
3) Start Wamp. Click on the Pink W icon.
or
start Xampp and click Start for the Apache and Mysql applications.

4) Test Wamp or Xampp  by setting your browser to http://localhost
if it is working, you will see the WAMP/XAMPP home page.


Apache server uses port 80. If you have Skype or microsoft HTTP/2.0 they also use port 80.
Here is a web page that describes how to fix this conflict. http://blog.techsoftsolutions.net/?p=315
For Wamp; the httpd.conf file is located in c:\wamp\bin\apache\apache2.2.22\conf directory


5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file into c:\wamp\www\nutcracker if using WAMP
or
unzip it into c:\xampp\htdocs\nutcracker if you are using XAMPP

This zip file also now contains gnuplot so you dont need to install it separately.


6) Add gnuplot into Windows PATH environment variable.
I found a much better tool to do this and i have included the tool in the nutcracker zip file
WAMP:
Run c:\wamp\www\nutcracker\gnuplot\bin\PathEditor.exe as administrator
 Add c:\wamp\www\nutcracker\gnuplot\bin

or

XAMPP:
Run c:\xampp\htdocs\nutcracker\gnuplot\bin\PathEditor.exe as administrator
 Add c:\xampp\htdocs\nutcracker\gnuplot\bin


7) When you get Localhost working, install the database.
Enter http://localhost/nutcracker/install.php in a browser window
This command will do the following

a) Drop all the tables from your existing nutcracker database
b) create the nutcracker database if it is missing
c) create the nutcracker user: nc_user
d) execute nutcracker/sql/nutcrackertables.sql to create all nutcracker tables
e) execute nutcracker/sql/nutcrackerdata.sql to create 50,000 rows of data
MaterDaddy wrote this script for me, Thanks!!




Your local nutcracker should be ready

login in as
http://localhost/nutcracker

same login and password as you have always used.


For future code releases, you just do step (5) above. Just unzip the file on top of your local nutcracker directory. This step is only a few seconds. In the future, we will make a button to download and install the zip file for you. This prob wont happen this season as we work on the real guts of Nutcracker

a) Projects , soon a single button that generates and entire 3 minute song and creates the sequencer file for you
b) Single strand effects (eaves, windows, arches). Model generator released yesteday, effects coming this week
c) Local Install, released yesterday
d) Horizontal matrix. It is Next up after single strand effects
e) 20 open bugs/enhancements
Title: Re: Nutcracker Local Install
Post by: dpitts on September 07, 2012,
I installed it went pretty easy. This is my experience.

1) Really really fast when creating effects and it is awesome to generate the files locally (no long downloads).
2) The tool to set Environmental variable was blocked by my Windows 7.
3) I get some warnings and errors on various pages but effects are being generated. This may be a matter of turning off warnings/error notification in the Wamp or PHP servers. I have included a screen shot.

4) This is really cool Sean. Thanks

Title: Re: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
You are not allowed to view links. Register or Login
I installed it went pretty easy. This is my experience.

1) Really really fast when creating effects and it is awesome to generate the files locally (no long downloads).
2) The tool to set Environmental variable was blocked by my Windows 7.
3) I get some warnings and errors on various pages but effects are being generated. This may be a matter of turning off warnings/error notification in the Wamp or PHP servers. I have included a screen shot.

4) This is really cool Sean. Thanks

(3) errors ...

This is because a local install sets the web page error level to the most sensitive. Any un assigned variable will be marked as an error even though it works. Kurt and I are going through and fixing those errors. They dont effect your animations but are annoying.

Maybe you could run the PathEditor as admin since it will modify the registry

OR
right click computer, go to advances, go to environment setting s and then edit the PATH to include
gnuplot.
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on September 07, 2012,
Question, I noticed the install says for windows 7 and XP.  Will there be any issue with windows Vista, this is what I have and I cannot get past the install/download.  When I try to download, I get error messages right off the bat saying my tray has stopped working, only uninstalling it allows my tray to work again.  It seems to download all the files but won't let me do anything beyond that point.  It continues to gives errors regarding the tray when trying to click the pink W.  I am unable to even get a successful download.  Suggestions?
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on September 07, 2012,
Is this the port 80 issue?
Title: Re: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
You are not allowed to view links. Register or Login
Question, I noticed the install says for windows 7 and XP.  Will there be any issue with windows Vista, this is what I have and I cannot get past the install/download.  When I try to download, I get error messages right off the bat saying my tray has stopped working, only uninstalling it allows my tray to work again.  It seems to download all the files but won't let me do anything beyond that point.  It continues to gives errors regarding the tray when trying to click the pink W.  I am unable to even get a successful download.  Suggestions?

you get an error just trying to download wamp?
This has nothing to do with port 80 or wamp or nutcracker. You should be able to download the file.

Or did the download work and you then installed wamp and then you get the error.
If it is after starting wamp then it certainly can be the port 80 issue.

follow this process to see if you can resolve conflicts.

Apache server uses port 80. If you have Skype or microsoft HTTP/2.0 they also use port 80.
Here is a web page that describes how to fix this conflict. http://blog.techsoftsolutions.net/?p=315
For Wamp; the httpd.conf file is located in c:\wamp\bin\apache\apache2.2.22\conf directory


if you cant download the file at all, that has to be something in your system.
I no longer have Vista (been a couple of years), it should also work though.

Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on September 07, 2012,
Yes it's after so I will try doing that fix/workaround and see if that helps!

Thanks
Title: Re: Nutcracker Local Install
Post by: dpitts on September 07, 2012,
Sean,

When Nutcracker changes. Will the updated and new files be downloaded automatically?
Title: Re: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
You are not allowed to view links. Register or Login
Sean,

When Nutcracker changes. Will the updated and new files be downloaded automatically?

Nope, we havent given that capability.

When I will post a thread about a new feature being released, your then go and repeat step #(5)

"5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file into c:\wamp\www\nutcracker"

This step takes less than 1 minute, you just overwrite the current directory. Now you are current. In the future we want to make a single button update (be aware the github zip file changes multiple times per day), we just dont have that button yet.

first i have these on my plate
single strand targets and effects
single button project files
horizontal matrix
20 open issue on current effects

in other words, if i have a workaround that is not too onerous, i will work on things that directly affect your show.
If we get time we will add more usability features.

thanks
Title: Re: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
If you get 403 error when trying to launch myphpadmin:

[quote name='Liberty-Laser' timestamp='1347045679' post='213793']
No port 80 isn't an issue and just for the exercise I did try that work-around with the same results.  Under WAMPSERVER I ran the Port Test for Port 80:
Your port 80 is actually used by:
Server:  Apache/2.2.21 <Win64> PHP/5.3.8

More info - Win7 64bit HP laptop.
[/quote]

when i searched google, there were lots of fixes. 403 is a permission issue about who you let come and use the database server.

One that was suggested, requires no changes was to launch myphpadmin llike this in browser
http://127.0.0.1/phpmyadmin/


if you want to read up on the others

http://serverfault.com/questions/350092/wamp-phpmyadmin-403-error-from-localhost-but-not-from-ip-127-0-0-1
http://stackoverflow.com/questions/8204902/wamp-403-forbidden-message
http://forum.wampserver.com/read.php?2,28005,28031


Title: Re: Nutcracker Local Install
Post by: tng5737 on September 07, 2012,
I installed this on Ubuntu - works fine!
I did have to install the php pkg using 'sudo apt-get install php5 libapache2-mod-php5'
I created a dir in the /var/www folder called NC and placed the un-tar'd contents in that dir
ran the install.php
everything appears to function!

Title: Re: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
You are not allowed to view links. Register or Login
I installed this on Ubuntu - works fine!
I did have to install the php pkg using 'sudo apt-get install php5 libapache2-mod-php5'
I created a dir in the /var/www folder called NC and placed the un-tar'd contents in that dir
ran the install.php
everything appears to function!

and if you are installing on linux you need to download a linux gnuplot.
http://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.0/

thanks
Title: Re: Nutcracker Local Install
Post by: bajadahl on September 07, 2012,
FYI - After installing gnuplot and adding it to the path I had to restart wamp for the path to be recognized.  Everything appeared to be working except I was getting a gnuplot path error on the output screen for nutcracker.

I installed gnuplot last so that may be why it wasn't recognized until after restarting the wamp services.

Now everything appears to be working but I am getting a lot of undefined offset warnings, and fclose warnings. 

It does appear to work and I am gettings good gif animations, although, I was only doing the install to prove your procedure and test a little.  I think the procedure works well on a clean install. i.e.: I didn't have Skype or any other software for that matter in the way of a clean setup.

Sean, One of the "few" ways I can help is to run installs from scratch any time you want to test a new install procedure as the team tries to automate more of the install.  I can build test virtual machines in a few minutes if ever you find that to be helpful.
Title: Re: Nutcracker Local Install
Post by: dpitts on September 07, 2012,
You can turn off error reporting by doing the following.

Click on the Wamp icon in the Windows tray ->PHP->PHP Settings->display errors. To uncheck it.
Title: Re: Nutcracker Local Install
Post by: kgustafson on September 07, 2012,
You are not allowed to view links. Register or Login
FYI - After installing gnuplot and adding it to the path I had to restart wamp for the path to be recognized.  Everything appeared to be working except I was getting a gnuplot path error on the output screen for nutcracker.

I installed gnuplot last so that may be why it wasn't recognized until after restarting the wamp services.

Now everything appears to be working but I am getting a lot of undefined offset warnings, and fclose warnings. 

It does appear to work and I am gettings good gif animations, although, I was only doing the install to prove your procedure and test a little.  I think the procedure works well on a clean install. i.e.: I didn't have Skype or any other software for that matter in the way of a clean setup.

Sean, One of the "few" ways I can help is to run installs from scratch any time you want to test a new install procedure as the team tries to automate more of the install.  I can build test virtual machines in a few minutes if ever you find that to be helpful.

bajadahl,

I think you just became an official tester  ;D

Good to hear that you can test it out.  I am working exclusively in local, and also see a lot of the errors (and have slowly been knocking some of those out--but truthfully, I am focused most of the time on project and getting it to work fully).  I believe Sean spends most of his coding time working on the main server.   he does work on local instances as well, but most of his focus is on meighan.net. 

Kurt
Title: Re: Nutcracker Local Install
Post by: smeighan on September 07, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
FYI - After installing gnuplot and adding it to the path I had to restart wamp for the path to be recognized.  Everything appeared to be working except I was getting a gnuplot path error on the output screen for nutcracker.

I installed gnuplot last so that may be why it wasn't recognized until after restarting the wamp services.

Now everything appears to be working but I am getting a lot of undefined offset warnings, and fclose warnings. 

It does appear to work and I am gettings good gif animations, although, I was only doing the install to prove your procedure and test a little.  I think the procedure works well on a clean install. i.e.: I didn't have Skype or any other software for that matter in the way of a clean setup.

Sean, One of the "few" ways I can help is to run installs from scratch any time you want to test a new install procedure as the team tries to automate more of the install.  I can build test virtual machines in a few minutes if ever you find that to be helpful.

bajadahl,

I think you just became an official tester  ;D

Good to hear that you can test it out.  I am working exclusively in local, and also see a lot of the errors (and have slowly been knocking some of those out--but truthfully, I am focused most of the time on project and getting it to work fully).  I believe Sean spends most of his coding time working on the main server.   he does work on local instances as well, but most of his focus is on meighan.net. 

Kurt

Kurt is right that my focus is on the new effect class for single strand

I have fixed over 100 of this unassigned variable errors. They occur because sometime parameters have a value , sometimes not.

I fixed 6 more today. None of these effect the sequences, we will get them all fixed in the next few weeks so they don't confuse people.
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on September 08, 2012,
OK so I did the port error fix - but I still get the tray not working error - and I even went back into the folder to make sure it saved the settings where it changed the port from 80 to 100, sure enough it saved, so I thought hey I'm in business.  Rebooted the PC and still same issue when try to click on the pink W, so something is still not taking right.  Still no go.  Maybe I am not doing something right, but I am still hitting road blocks everywhere.  So I figured I would try a couple of the other things just to see if it would let me.  So I tried going to the site and downloading the zip file from the nutcracker github link, did that, but then got errors trying to add the windows PATH to the environment, and it would not save it, as there were other paths already in that box - and those were the ones it was giving me errors on, but I am unsure if it will mess anything up if I delete the ones that were there.  On top of that, it did not have the defaulted Nutcracker folder in the www file - that folder was empty, so I tried creating a nutcracker folder and downloaded the zip into there like it said, but it added more extenions than what you show.  I dont know if I am just not technically savvy enough for this, or if its just that little bit enough above my head, or if its something with Windows Vista, or if just something with my PC in general, but I'm still stuck.  Does any of this make sense and have any ideas?
Title: Re: Nutcracker Local Install
Post by: mokeefe on September 08, 2012,
I installed on my Win 7 64bit system using the provided instructions. I had no issues.

I notice that the "Gallery" is empty on the local install.  Will that always be the case?

-Mike
Title: Re: Nutcracker Local Install
Post by: smeighan on September 08, 2012,
You are not allowed to view links. Register or Login
I installed on my Win 7 64bit system using the provided instructions. I had no issues.

I notice that the "Gallery" is empty on the local install.  Will that always be the case?

-Mike

I could make a separate zip file of the 3000 animated gifs.

I currently do not include them.
Title: Re: Nutcracker Local Install
Post by: mokeefe on September 08, 2012,
Might be nice to be able to view them locally, but only if it's not a hassle to create the zip.  You've got much higher priorities.  Thanks.

-Mike
Title: Re: Nutcracker Local Install
Post by: dandyman on September 08, 2012,
Sean...

This TOO COOL !

Thanks !!!!

Dan
Title: Re: Nutcracker Local Install
Post by: Steve Gase on September 09, 2012,
The local install is missing the pics right?  does that also mean it lacks the ability to select an effect to import (copy) it into my local user account?
Title: Re: Nutcracker Local Install
Post by: smeighan on September 09, 2012,
You are not allowed to view links. Register or Login
The local install is missing the pics right?  does that also mean it last the ability to select an effect to import (copy) it into my local user account?

Well, currently the gif files are taking 2.4 gbytes on meighan.net. I am not sure if people want to download that much data to their local machine.

in a week we will have a command that will walk through the effects database that you downloaded (3000 effects) and re-create the 2 gigs of animated gifs. i esitmate it will take 12 hours for it to finish all of them. After this , you will have a gallery on your local install.

until then, us emeighan.net and maybe just copy the settings and re-enter them. to fill in evern 25 questions is < 30 seconds.
Title: Re: Nutcracker Local Install
Post by: Steve Gase on September 10, 2012,
transferring form data is certainly reasonable.

Hate the think what 12GB per person with a local install (on a recurring basis) would do to your quota.
Title: Re: Nutcracker Local Install
Post by: mokeefe on September 13, 2012,
Sean,

If we already have a local install of Nutcracker working and download the latest zip (1.0-124) can we just copy over the new files?  Do we have to do anything to update the DB with your new tables?

-Mike
Title: Re: Nutcracker Local Install
Post by: smeighan on September 13, 2012,
You are not allowed to view links. Register or Login
Sean,

If we already have a local install of Nutcracker working and download the latest zip (1.0-124) can we just copy over the new files?  Do we have to do anything to update the DB with your new tables?

-Mike

Hi Mike, excellent question

After you have wamp installed, you never need to repeat steps 1-4.

For these massive changes please do steps (5) and (7).


5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file into c:\wamp\www\nutcracker. If you already have a nutcracker directory, just overwrite everything there.
This zip file also now contains gnuplot so you dont need to install it separately.


7) When you get Localhost working, install the database.
http://Http://localhost/nutcracker/install.php in a browser window
This command will do the following
a) Drop all the tables from your existing nutcracker database
b) create the nutcracker database if it is missing
c) create the nutcracker user: nc_user
d) execute sql/nutcrackertables.sql to create all nutcracker tables
e) execute sql/nutcrackerdata.sql to create 50,000 rows of data
MaterDaddy wrote this script for me, Thanks!!


So for step 7, you will see this

(http://meighan.net/nutcracker/images/2012-09-13_0843.png)

Modify nothing and just click submit.

You should then see this


(http://meighan.net/nutcracker/images/2012-09-13_0857.png)

Be sure to get a fresh zip file as i just added some more stuff.

thanks
Title: Re: Nutcracker Local Install
Post by: smeighan on September 16, 2012,
corrected bug that would not export data to the sequencers.

download a new zip file and redo step (5). This is what you do anytime i release new code. You DO NOT need to delete your database (Step #7).


5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file , open it and copy the contents of the nutcracker directory. Next go to your c:\wamp\www\nutcracker and paste over it with a ctl-v. In other words replace the c existing code tree with what you just downloaded.
Title: Re: Nutcracker Local Install
Post by: kgustafson on September 16, 2012,
Did I introduce another error?  I need to make sure to re-test install everytime I modify the install SQL script.  Sorry about that!

Kurt
Title: Re: Nutcracker Local Install
Post by: smeighan on September 16, 2012,
You are not allowed to view links. Register or Login
Did I introduce another error?  I need to make sure to re-test install everytime I modify the install SQL script.  Sorry about that!

Kurt

well, maybe indeirectly kurt.

when i modified the paths

"workspaces/2/AA~SPIRAL.nc"
to
"../effects/workspaces/2/AA~SPIRAL.nc"

the token position of the filename changed.
used to be $token[2] now it is $token[4].

just my fault for not testing the export to sequencers. This is why i have people helping to do the testing.

thanks
Title: Re: Nutcracker Local Install
Post by: rrowan on October 02, 2012,
Hi Sean,

I had a port 80 conflict so I change the httpd.conf file to use port 100 (Changed it at two locations in the file). I keep getting an error stating that I can only run the install.php on my local machine. I am on my local machine (win 7)

Any ideas?

Rick R.
Title: Re: Nutcracker Local Install
Post by: rrowan on October 02, 2012,
Hi Sean,

I got it to install by stopping the other server program and reset nutcrack to port 80.

Seems the install.php doesn't like to be on a different port. I am now up and running (back on port 100)

Rick R.
Title: Re: Nutcracker Local Install
Post by: kgustafson on October 13, 2012,
I still think the 'fix' is good though.  It doesn't require the user to remember the sticky, go the DLA entry and follow a series of steps to put gnuplot into their path.  I believe in the KISS principle (Keep It Simple Stupid.)

Kurt
Title: Re: Nutcracker Local Install
Post by: garyh on October 17, 2012,
Got Nutcracker installed locally and did all the steps.  Everything installed fine.

Now when I try to login on the localhost page, I get the following error:

http://localhost/nutcracker/login/login-failed.php

Login Failed!
Please check your username and password

But I can log in fine at http://meighan.net/nutcracker/login/login-form.php
Title: Re: Nutcracker Local Install
Post by: smeighan on October 17, 2012,
You are not allowed to view links. Register or Login
Got Nutcracker installed locally and did all the steps.  Everything installed fine.

Now when I try to login on the localhost page, I get the following error:

http://localhost/nutcracker/login/login-failed.php

Login Failed!
Please check your username and password

But I can log in fine at http://meighan.net/nutcracker/login/login-form.php

did you get the wamp or xampp server started?

you can test by going to localhost (nothing else). This should take you to the wamp/xampp home page

if the landing page doesnt come up apache/mysql is not running.


If your user or password is entered wrong you will see
" Login Failed!
Please check your username and password"

what you describe acts like the apache or mysql server is not running.

if you ave skye on your machine you must follow the steps listed in step (4).

thanks

Title: Re: Nutcracker Local Install
Post by: garyh on October 18, 2012,
Here's my Wamp page and also I used phpmyadmin and looked at the nutcracker table and user effects and say effects by BrianJ.  So everything looks like it's working.  I'm assuming the local install is contacting your web address to log in? 
Title: Re: Nutcracker Local Install
Post by: smeighan on October 18, 2012,
You are not allowed to view links. Register or Login
Here's my Wamp page and also I used phpmyadmin and looked at the nutcracker table and user effects and say effects by BrianJ.  So everything looks like it's working.  I'm assuming the local install is contacting your web address to log in?

Yep, if u can go to my phpadmin, everything is running.

Go look at the members database and see that you have an entry. U could change the encoded password to "welcome"

This will allow u to use the rename function.
Title: Re: Nutcracker Local Install
Post by: injury on October 18, 2012,
One thing that is a bit confusing is the correlation between local user/pw and the ones on meighan.net. I can't tell if it's a bug or not but something is funny.

First user I made on the live site I thought I had forgotten the password to, even though it's the same as I've always used, since it wouldn't let me in on the live site anymore. So I just made another user on live and went from there. Then a week later I did the local install and at first I thought it might be the same users as the live accounts but it didn't let me in so I created a user the same as the 2nd and current name/pw combo I was using on live. It didn't give me the user already exists error so at that point I just assumed each login database was separate for security reasons.

Fast forward to today and the first time I tried to do an update since my initial local install. In messing around I found that my very first user even though it wasn't created locally can in fact login locally and has all the old data I was playing with way back when on the live site. Yet it still cannot login on live. The 2nd user name however does not match the data it has on live and doesn't have the old local data either it's just blank (having some issues with the restore procedure so I'll look at that video again). But the good part is that 2nd user can login on both sites.

Earlier when I saw the differences between 2nd user on live and local I just figured it was completely separate or it used a unique_id on the user records so I had a mismatch going when I created it locally. However the fact I can login to the 1st original user on local without ever creating it locally with the password I assumed it had all along, but it doesn't work on the live site has me stumped.
Title: Re: Nutcracker Local Install
Post by: garyh on October 18, 2012,
injury, I tried what you said and sure enough making a new username/password on the localhost/nutcracker let me in. 

my new login/password won't work on the http://meighan.net/nutcracker/ site (which is to be expected)
Title: Re: Nutcracker Local Install
Post by: smeighan on October 18, 2012,
You are not allowed to view links. Register or Login
One thing that is a bit confusing is the correlation between local user/pw and the ones on meighan.net. I can't tell if it's a bug or not but something is funny.

First user I made on the live site I thought I had forgotten the password to, even though it's the same as I've always used, since it wouldn't let me in on the live site anymore. So I just made another user on live and went from there. Then a week later I did the local install and at first I thought it might be the same users as the live accounts but it didn't let me in so I created a user the same as the 2nd and current name/pw combo I was using on live. It didn't give me the user already exists error so at that point I just assumed each login database was separate for security reasons.

Fast forward to today and the first time I tried to do an update since my initial local install. In messing around I found that my very first user even though it wasn't created locally can in fact login locally and has all the old data I was playing with way back when on the live site. Yet it still cannot login on live. The 2nd user name however does not match the data it has on live and doesn't have the old local data either it's just blank (having some issues with the restore procedure so I'll look at that video again). But the good part is that 2nd user can login on both sites.

Earlier when I saw the differences between 2nd user on live and local I just figured it was completely separate or it used a unique_id on the user records so I had a mismatch going when I created it locally. However the fact I can login to the 1st original user on local without ever creating it locally with the password I assumed it had all along, but it doesn't work on the live site has me stumped.

Confusing, maybe. Bug, no.

On sept 12 I changed every password to "welcome".  This is a password that can only be used to rename.

Here is that thread. http://diylightanimation.com/index.php?topic=9407.0

If you were not using nutcracker actively then, you probably missed the discussion.

The password on your local install will be identical to meighan.net. If
1) you have reinstalled the database with a recent zip download
2) you haven't just changed your password.

I take exports from meighan.net 1-3. Times per week and put them in the zip file.

You can always edit your entry in the members database on your localhost and set it to "welcome".  you can then  follow thread above.

This will take care until I do another export from meighan.net

sorry for any confusion
Title: Re: Nutcracker Local Install
Post by: injury on October 18, 2012,
makes sense I did have user 1 on live a while back, took a break and came back. Completely missed that thread heh.
Title: Re: Nutcracker Local Install
Post by: jnealand on October 19, 2012,
One confusing part is when I go to download wampserver there are 5 choices.  I suspect a little clarity may be in order.  I assume that we need to download the latest version of Apache so that narrows down the choice.
Title: Re: Nutcracker Local Install
Post by: smeighan on October 19, 2012,
You are not allowed to view links. Register or Login
One confusing part is when I go to download wampserver there are 5 choices.  I suspect a little clarity may be in order.  I assume that we need to download the latest version of Apache so that narrows down the choice.

All 5 versions shown work with nutcracker.

You can pick the latest and you would be fine. If you are installing on Windows Xp, pick 32bit.
If installing on Windows 7, pick 64 or 32 bit. i used 64 bit.

thanks
Title: Re: Nutcracker Local Install
Post by: duane.mosley on October 20, 2012,
when i go to download the wamp server, it gives me a box telling me to install microsoft visual c, i do that for 64 bit and when i go back to install wamp server, it still gives me the prompt to download visual c. it won't let me donwload wamp server. '

thanks in advance

duane
Title: Re: Nutcracker Local Install
Post by: smeighan on October 20, 2012,
You are not allowed to view links. Register or Login
when i go to download the wamp server, it gives me a box telling me to install microsoft visual c, i do that for 64 bit and when i go back to install wamp server, it still gives me the prompt to download visual c. it won't let me donwload wamp server. '

thanks in advance

duane

you need to download one of these, i downloaded the 64bit version.

after that, the install progressed for me.



CloseDOWNLOAD WAMPSERVER (64 BITS & APACHE 2.4) 2.2EWampServer is an open source project, free to use (GPL licence). You can also fill in this form in order to receive training news from Alter Way, the company behind WampServer. If you do not want to, you can download it directly.   WARNING : You must install Visual C++ 2010 SP1 Redistributable Package x86 or x64
VC10 SP1 vcredist_x86.exe 32 bits : http://www.microsoft.com/download/en/details.aspx?id=8328
VC10 SP1 vcredist_x64.exe 64 bits : http://www.microsoft.com/download/en/details.aspx?id=13523

If you are having issues you can also use xampp (it is what i am using now).
http://sourceforge.net/projects/xampp/files/latest/download

i dont remember if it had any other download requirements.


Title: Re: Nutcracker Local Install
Post by: duane.mosley on October 20, 2012,
i downloaded the 64 bit version. put it on my desktop so i knew where it was. when i go back to wamp server it still gives me the prompt to download it again
Title: Re: Nutcracker Local Install
Post by: duane.mosley on October 20, 2012,
xamp is downloading now. i'll see what happens

thanks

duane
Title: Re: Nutcracker Local Install
Post by: smeighan on October 20, 2012,
You are not allowed to view links. Register or Login
xamp is downloading now. i'll see what happens

thanks

duane

iadded Xampp into the first post of this threso people have a choice.

thanks
Title: Re: Nutcracker Local Install
Post by: duane.mosley on October 20, 2012,
i am on step 7, when i click on the link, it says server not found, when i copy and paste the link, it sends me to some advertisement link. oh the xampp home page, it says that i have successfully installed it on my system.
Title: Re: Nutcracker Local Install
Post by: smeighan on October 20, 2012,
You are not allowed to view links. Register or Login
i am on step 7, when i click on the link, it says server not found, when i copy and paste the link, it sends me to some advertisement link. oh the xampp home page, it says that i have successfully installed it on my system.

did you click on the xampp icon and open the xampp dashboard?
you then need to click start on Mysql and Apache.

this is what that dashboard looks like on my machine

(http://meighan.net/nutcracker/images/2012-10-20_1515.png)

When you then go to localhost you should see the landing page for xampp.


Title: Re: Nutcracker Local Install
Post by: duane.mosley on October 20, 2012,
i have apache and mysqul started under xampp. but when i go to this link: 

http://http//localhost/nutcracker/install.php

if i just click on the link it tells me server not found, when i copy and paste, it goes to the advertisement page. i went to the nutcracker login screen and created a user name and password and i was denied. this is the message i get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-87d6838\login\register-exec.php on line 21
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)
Title: Re: Nutcracker Local Install
Post by: smeighan on October 20, 2012,
You are not allowed to view links. Register or Login
i have apache and mysqul started under xampp. but when i go to this link: 

http://http//localhost/nutcracker/install.php

if i just click on the link it tells me server not found, when i copy and paste, it goes to the advertisement page. i went to the nutcracker login screen and created a user name and password and i was denied. this is the message i get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-87d6838\login\register-exec.php on line 21
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)

I am not sure why there is an extra http?

The link I use is just
Localhost/nutcracker/install.php

I am using chrome
Title: Re: Nutcracker Local Install
Post by: duane.mosley on October 20, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
i have apache and mysqul started under xampp. but when i go to this link: 

http://http//localhost/nutcracker/install.php

if i just click on the link it tells me server not found, when i copy and paste, it goes to the advertisement page. i went to the nutcracker login screen and created a user name and password and i was denied. this is the message i get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-87d6838\login\register-exec.php on line 21
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)

I am not sure why there is an extra http?

The link I use is just
Localhost/nutcracker/install.php

I am using chrome

not sure. i copied and pasted so that is what i am seeing on the screen
Title: Re: Nutcracker Local Install
Post by: smeighan on October 20, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
i have apache and mysqul started under xampp. but when i go to this link: 

http://http//localhost/nutcracker/install.php

if i just click on the link it tells me server not found, when i copy and paste, it goes to the advertisement page. i went to the nutcracker login screen and created a user name and password and i was denied. this is the message i get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-87d6838\login\register-exec.php on line 21
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)

I am not sure why there is an extra http?

The link I use is just
Localhost/nutcracker/install.php

I am using chrome

not sure. i copied and pasted so that is what i am seeing on the screen

duane when the install script ran, did you put anything in for the passwords? You are supposed to leave all of the password fields blank.

you could try unistalling wa/pxampp and go through the install process again.
Title: Re: Nutcracker Local Install
Post by: injury on October 21, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
i have apache and mysqul started under xampp. but when i go to this link: 

http://http//localhost/nutcracker/install.php

if i just click on the link it tells me server not found, when i copy and paste, it goes to the advertisement page. i went to the nutcracker login screen and created a user name and password and i was denied. this is the message i get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-87d6838\login\register-exec.php on line 21
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)

I am not sure why there is an extra http?

The link I use is just
Localhost/nutcracker/install.php

I am using chrome

It's a typo you have on step 7 on the instructions in the first page in this thread :P

I will say I learned that for the php code you must use localhost as that specific phrase is verified, 127.0.0.1 (force of habit for me to use that as local) wouldn't work.
Title: Re: Nutcracker Local Install
Post by: smeighan on October 21, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
i have apache and mysqul started under xampp. but when i go to this link: 

http://http//localhost/nutcracker/install.php

if i just click on the link it tells me server not found, when i copy and paste, it goes to the advertisement page. i went to the nutcracker login screen and created a user name and password and i was denied. this is the message i get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-87d6838\login\register-exec.php on line 21
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)

I am not sure why there is an extra http?

The link I use is just
Localhost/nutcracker/install.php

I am using chrome

It's a typo you have on step 7 on the instructions in the first page in this thread :P

I will say I learned that for the php code you must use localhost as that specific phrase is verified, 127.0.0.1 (force of habit for me to use that as local) wouldn't work.

where is the typo? I cut and paste the "http://localhost/nutcracker/install.php" and it works in my browser (chrome). I tried pasting to IE9 and it also worked.


7) When you get Localhost working, install the database.
Enter http://localhost/nutcracker/install.php in a browser window
This command will do the following

a) Drop all the tables from your existing nutcracker database
b) create the nutcracker database if it is missing
c) create the nutcracker user: nc_user
d) execute nutcracker/sql/nutcrackertables.sql to create all nutcracker tables
e) execute nutcracker/sql/nutcrackerdata.sql to create 50,000 rows of data
MaterDaddy wrote this script for me, Thanks!!

Title: Re: Nutcracker Local Install
Post by: injury on October 21, 2012,
heh you messing with me? ;D

Another copy of this page I still had open from earlier today had
"
7) When you get Localhost working, install the database.
http://Http://localhost/nutcracker/install.php in a browser window
This command will do the following
"  « Last Edit: Today at 02:23 PM by smeighan »

Now says it correctly like you typed with "« Last Edit: Today at 11:42 PM by smeighan » "

Title: Re: Nutcracker Local Install
Post by: jnealand on October 22, 2012,
One more addition is needed.

After step 6 you should state "Restart your computer to have the path change take effect"

When I did not do the restart everything worked but the gnuplot and I went back thru all the instructions and everything looked good, but still got error messages on gnuplot not being a known command.  That is when I hit my head against the wall and remembered that the path variable is only read at boot time.  I think there is a command that will cause it to be reread, but I could not remember what it was and it was easier to restart.  Now all is well.
Title: Re: Nutcracker Local Install
Post by: garyh on October 23, 2012,
sean, got the change password to welcome thing down.  With wamp or xamp running, wouldn't it be easier to make a SQL script that they'd doubleclick, enter their username and it would push welcome into the member table for their username?  I've been doing webservers and webpages since 1995 so it's not a big thing for me, but if you are gonna make this easier so more ppl do local installs I'd recommend a Step 8, click this script sort of thing. 

That or rewrite the php login script so it knows if it's running web or localhost.  If the first time ran localhost it pops up to let them change their password.

Just a suggestion  :)
Title: Re: Nutcracker Local Install
Post by: smeighan on October 24, 2012,
You are not allowed to view links. Register or Login
sean, got the change password to welcome thing down.  With wamp or xamp running, wouldn't it be easier to make a SQL script that they'd doubleclick, enter their username and it would push welcome into the member table for their username?  I've been doing webservers and webpages since 1995 so it's not a big thing for me, but if you are gonna make this easier so more ppl do local installs I'd recommend a Step 8, click this script sort of thing. 

That or rewrite the php login script so it knows if it's running web or localhost.  If the first time ran localhost it pops up to let them change their password.

Just a suggestion  :)

i agree, would be nicer.

my main issue is just time.

i have these bugs still to fix
pictures not working
color_wash
layers
spiral effects has glitch at end of each iteration.
projects
animated gifs handling transparency
more effects for single strand effects
re-recording tutorials for all the current effects
make horizontal matrix target
allow matrix targets to start at upper left bseides lower left corner
new effects for this year
allowing changing starting channel when creating targets

nice to have (wont happen this year)
better error messages. many are just plain missing
wiki page
easier process for local installs
ability to have changes from a local install update the central meighan.net
ability to edit/delete gifs/png's from your graphic library
new larger font for text
have a copy for projects
have gallery copy also copy gifs/pngs if the source effect used them


i pick priorities by asking
1) Is there a work around now (in local install case, yes. There have been 50 installs by people)
2) is effect broken and effecting peoples shows?
3) amount of work.

so the first group above is what i am trying to work on in the newx month since it will effect peoples shows.

next year, i will be working the second pile.

if you want to edit the code, please feel free to do so . just let me know what module you are improving. i have had 3 people also develop code for nutcracker. do a local install, maybe install TortoiseGit. Instead of downloading a zip file, do a git clone into either
c:\wap\wwww\nutcracker or c:\xampp\htdocs\nutcracker.
You are now a full developer, Edit your local copy , when it is doing what you want. do a Git push. after i review, i manually push code tomeighan.net.

like i said, if you want to work on any code, just pm me first so i know.

i will probably give a talk just to let people know how they can develop their own effect modules and/or how to enhance current ones.

thanks
sean

Title: Re: Nutcracker Local Install
Post by: jnealand on October 24, 2012,
Gary, I don't know why you need a password change, my install worked just fine using my online password.  I always say if ain't broke don't fix it.  I know some people may need it, so an OPTIONAL script may be helpful, but definitely not mandatory.
Title: Re: Nutcracker Local Install
Post by: garyh on October 24, 2012,
You are not allowed to view links. Register or Login
Gary, I don't know why you need a password change, my install worked just fine using my online password.  I always say if ain't broke don't fix it.  I know some people may need it, so an OPTIONAL script may be helpful, but definitely not mandatory.

for some reason when I download the zip file and reinstall the tables I always have to reset my password to welcome.  Injury seemed to have the same problem so jnealand I guess you are lucky or something, lol.
Title: Re: Nutcracker Local Install
Post by: smeighan on October 24, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
Gary, I don't know why you need a password change, my install worked just fine using my online password.  I always say if ain't broke don't fix it.  I know some people may need it, so an OPTIONAL script may be helpful, but definitely not mandatory.

for some reason when I download the zip file and reinstall the tables I always have to reset my password to welcome.  Injury seemed to have the same problem so jnealand I guess you are lucky or something, lol.

the only issue would be when i take an export (which i do 1-2 times per week).

i took an export yesterday, so do step (7) and you will have the same data as meighan.net as of yesterday.

Title: Re: Nutcracker Local Install
Post by: injury on October 24, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
Gary, I don't know why you need a password change, my install worked just fine using my online password.  I always say if ain't broke don't fix it.  I know some people may need it, so an OPTIONAL script may be helpful, but definitely not mandatory.

for some reason when I download the zip file and reinstall the tables I always have to reset my password to welcome.  Injury seemed to have the same problem so jnealand I guess you are lucky or something, lol.

Mine was related to a pre/post 9/12 account and not reading the sticky. Haven't had to reset pass since I got them synched up since.
Title: Re: Nutcracker Local Install
Post by: jnealand on November 03, 2012,
I have run into the problem that you have mentioned in the tutorials and I do not remember how to fix it.   I have effects created locally that I know will be wiped out when I download the new zip file.  Can you provide a little instruction here on how to save those files and bring them back into the new download.  In fact I have modified some of the effects that were created online in my local copy for timing, length, and other little tweaks.  I wish there was a way to sync the two database.  At the very least I am going to need to start writing down the effects that I change locally and the names of all the new ones so that I do not lose them.  Using local install to tweak settings is sure great.
Title: Re: Nutcracker Local Install
Post by: lonewolf41 on November 03, 2012,
I am way out of my league here so hopefully someone can help me out.  I have wamp installed.  If I go to localhost, I get a 403 error; however, if I put in 127.0.0.1, I get the WAMPSERVER Homepage.  If I try to open nutcracker (http://localhost/nutcracker/install.php), I get:

Nutcracker Install Script

ERROR! You cannot run this script on any place except for your local computer
Please RIGHT-CLICK the filename, not left click it. select save as and put
install.php into your c:\wamp\www directory. Once you have downloaded install.php you run it by opening a web page to 'localhost/install.php'

Here are the values in your _SERVER array
Array
(
    [HTTP_HOST] => 127.0.0.1
    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_CONNECTION] => keep-alive
    [PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\COMMON~1\SONICS~1\;C:\Program Files\QuickTime\QTSystem\
    [SystemRoot] => C:\WINDOWS
    [COMSPEC] => C:\WINDOWS\system32\cmd.exe
    [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    [WINDIR] => C:\WINDOWS
    [SERVER_SIGNATURE] =>
    [SERVER_SOFTWARE] => Apache/2.2.22 (Win32) PHP/5.4.3
    [SERVER_NAME] => 127.0.0.1
    [SERVER_ADDR] => 127.0.0.1
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 127.0.0.1
    [DOCUMENT_ROOT] => C:/wamp/www/
    [SERVER_ADMIN] => admin@localhost
    [SCRIPT_FILENAME] => C:/wamp/www/nutcracker/install.php
    [REMOTE_PORT] => 1239
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] =>
    [REQUEST_URI] => /nutcracker/install.php
    [SCRIPT_NAME] => /nutcracker/install.php
    [PHP_SELF] => /nutcracker/install.php
    [REQUEST_TIME_FLOAT] => 1351990045.843
    [REQUEST_TIME] => 1351990045
)

Program exiting ..

I assume this is related to localhost not working.  Any idea on how I can get it to work?  The icon on my taskbar is green.  If I stop all services, it turns red, so I think it is running; however, when I hover over the icon, it says "server offline". 

TIA,
-Keith
Title: Re: Nutcracker Local Install
Post by: chrisatpsu on November 03, 2012,
a possibility that a firewall or antivirus type of software might have edited your hosts file.

you can open the file using notepad, and check to see if localhost still has an entry...

location...
%SystemRoot%\system32\drivers\etc\


you want to see an entry like this...
   127.0.0.1       localhost


Title: Re: Nutcracker Local Install
Post by: lonewolf41 on November 03, 2012,
You are not allowed to view links. Register or Login
a possibility that a firewall or antivirus type of software might have edited your hosts file.

you can open the file using notepad, and check to see if localhost still has an entry...

location...
%SystemRoot%\system32\drivers\etc\


you want to see an entry like this...
   127.0.0.1       localhost

Yes, I have that entry in that file and my computer does not have any firewall or antivirus installed.  The Windows firewall is off as well.  BTW, I am using XP with all updates installed.

Thanks,
-Keith
Title: Re: Nutcracker Local Install
Post by: lonewolf41 on November 03, 2012,
Well I uninstalled WAMP and installed XAMPP and I have it working now.  Just par for the course as I started this morning with no sound on my computer.   :o  Kind of hard to sequence with no sound.  After 3 hours of updates, everything is working again.

Thanks,
-Keith
Title: Re: Nutcracker Local Install
Post by: smeighan on November 04, 2012,
You are not allowed to view links. Register or Login
Well I uninstalled WAMP and installed XAMPP and I have it working now.  Just par for the course as I started this morning with no sound on my computer.   :o  Kind of hard to sequence with no sound.  After 3 hours of updates, everything is working again.

Thanks,
-Keith

Maybe someone smarter than me would figure out why wamp sometimes doesn't but xamp does?

I myself have been on xampp for the last few months.

I also have people who are using wamp with no issues.
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
Maybe someone can help me out as well - I have gotten through all the steps, except when I enter the link http://localhost/nutcracker/install.php i get an error of 404 and not 403.  I have used the XAMPP as that seemed to install and work on my machine better than the wamp - i would just get tons of errors trying to use the wamp.  But I have tried everything, checking the administrative rights, in the XAMPP control panel, all the apache and mysql servers are checked and running, i have rebooted my system numerous times, but to no avail, I still cannot get the browswer to recognize the install link.... it doesnt matter whether I try it in Chrome or in IE.  Can anyone give me any suggestions as to what to try next?  Here is what I see when I try to use the link:

Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.

Error 404
localhost
11/4/2012 3:49:17 PM
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1

Ive been working at this straight for 2 days now to no avail.   <md..
Thanks
Julie
Title: Re: Nutcracker Local Install
Post by: smeighan on November 04, 2012,
did u download nutcracker zip file from meighan.net?

5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file into c:\wamp\www\nutcracker if using WAMP
or
unzip it into c:\xampp\htdocs\nutcracker if you are using XAMPP


you should be able to go to c:\xampp\htdocs\nutcracker and see the file install.php if you have installed nutcracker correctly.

thanks
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
Yes I did, ok let me look and see if its in the file, if not I'll try that again.  See what happens..
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
ok I did do all that - and here is what I see when I open that folder, and the file is there, but I still get the error 404...
Title: Re: Nutcracker Local Install
Post by: rrowan on November 04, 2012,
is the web server "online" Look at the status (icon at the bottom right hand side)

Rick R.
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
you talking about the xampp control panel?   oh wait - i know what you mean.... taking a screen shot now...
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
Here is what I see on the status of the xampp
Title: Re: Nutcracker Local Install
Post by: smeighan on November 04, 2012,
You are not allowed to view links. Register or Login
Here is what I see on the status of the xampp

i helped Julie and her nutcracker installation is now working on localhost.

Remember that when downloading from git hub, download the zip file anywhere. Open that file and do a ctl-a,ctl-c.

now go to c:\wamp\www\nutcracker or c:\xampp\htdocs\nutcracker and do a ctl-v to paste the nutcracker code tree

if the nutcracker subdirectory is missing, create it and then paste to it.


thanks
sean
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
Thanks again Sean!!  I knew the file was there, just didnt realize it needed to be in the "other" file! 

Thanks again for all your help and for the additional info!!  Have a great night!

Julie
Title: Re: Nutcracker Local Install
Post by: gsxrgirl7 on November 04, 2012,
Sean - I actually ran the project again with different effects this time, and i got no errors.  See attachment. 
I did it in chrome this time...
Title: Re: Nutcracker Local Install
Post by: smeighan on November 04, 2012,
You are not allowed to view links. Register or Login
Sean - I actually ran the project again with different effects this time, and i got no errors.  See attachment. 
I did it in chrome this time...

great, you might just quickly grab any effects (except for single strand) and fill in your song and click to generate the project. this way you can test getting an entire song sequenced with a single clik.

you can always come abck and change the effects to be something better.
Title: Nutcracker Local Install
Post by: gsxrgirl7 on November 05, 2012,
Good idea Sean! I'll try that tomorrow and see which ones if any give me an error! 
Thanks again!


Sent from my iPhone using Tapatalk
Title: Re: Nutcracker Local Install
Post by: rdebolt on November 23, 2012,
Need help getting this installed. I thought that I was to this step, but this is what I am getting. I did change my port to 100 as per instuctions if that matters.


7) When you get Localhost working, install the database.
Enter http://localhost/nutcracker/install.php in a browser window
This command will do the following

a) Drop all the tables from your existing nutcracker database
b) create the nutcracker database if it is missing
c) create the nutcracker user: nc_user
d) execute nutcracker/sql/nutcrackertables.sql to create all nutcracker tables
e) execute nutcracker/sql/nutcrackerdata.sql to create 50,000 rows of data
MaterDaddy wrote this script for me, Thanks!!

Title: Re: Nutcracker Local Install
Post by: smeighan on November 23, 2012,
You are not allowed to view links. Register or Login
Need help getting this installed. I thought that I was to this step, but this is what I am getting. I did change my port to 100 as per instuctions if that matters.


7) When you get Localhost working, install the database.
Enter http://localhost/nutcracker/install.php in a browser window
This command will do the following

a) Drop all the tables from your existing nutcracker database
b) create the nutcracker database if it is missing
c) create the nutcracker user: nc_user
d) execute nutcracker/sql/nutcrackertables.sql to create all nutcracker tables
e) execute nutcracker/sql/nutcrackerdata.sql to create 50,000 rows of data
MaterDaddy wrote this script for me, Thanks!!

if you just enter localhost do you see the splash screen?

your screen shot has no error in it, just the status dashboard.

what happens when you run install.php?

thanks
Title: Re: Nutcracker Local Install
Post by: rdebolt on November 23, 2012,
You are not allowed to view links. Register or Login

if you just enter localhost do you see the splash screen?

your screen shot has no error in it, just the status dashboard.

what happens when you run install.php?

thanks

When I enter http://localhost/nutcracker/install.php I get what is in the background of my image.
Title: Re: Nutcracker Local Install
Post by: rdebolt on November 23, 2012,
I can get to the local host screen. This is what I get. Notice that I have to put in localhost:100  for that screen to work.

Title: Re: Nutcracker Local Install
Post by: smeighan on November 23, 2012,
You are not allowed to view links. Register or Login
I can get to the local host screen. This is what I get. Notice that I have to put in localhost:100  for that screen to work.
So you are entering localhost:100/nutcracker/install.php ?
Title: Re: Nutcracker Local Install
Post by: rdebolt on November 23, 2012,
Thanks Sean. Yes I have tried that and then I get this.

Title: Re: Nutcracker Local Install
Post by: rdebolt on November 23, 2012,
When I just go to my local host.. this is the status.
Title: Re: Nutcracker Local Install
Post by: lonewolf41 on November 23, 2012,
I noticed that in your screen shot above of the control panel, you had the Svc box checked in both Apache & MySql.  That is NOT checked on mine.  I don't know which is correct or if it makes a difference, but that is one difference I noticed and mine works.  Can you try unchecking those? 

-Keith
Title: Re: Nutcracker Local Install
Post by: rdebolt on November 23, 2012,
Thanks Keith, but no it will not let me uncheck or stop them. These are the errors that I am getting.
Title: Re: Nutcracker Local Install
Post by: tng5737 on January 01, 2013,
were the gif files ever made available or is that still pending?
Title: Re: Nutcracker Local Install
Post by: smeighan on January 01, 2013,
You are not allowed to view links. Register or Login
were the gif files ever made available or is that still pending?

not yet. i will probably make this available in the next few weeks.

This is also going to have an advantage over the nutcracker123, your local install gallery will all be created with your target instead of the original users.

The program will ask
What target to use? <Pull down list of your current targets>

It will then go and run for 2-3 days pulling all of the original users effect answers and creating the effect on your target.

When done, you will have a gallery on your local install
Title: Re: Nutcracker Local Install
Post by: tng5737 on January 01, 2013,
Sounds very cool indeed!  Thanks for all the hard work you are putting into this project.  I didn't use NC this year for a variety of reasons (none of them to do with NC) but this year hope to re-do my yard design and elements to take good advantage of what NC has to offer!
Title: Re: Nutcracker Local Install
Post by: mrduncan on January 09, 2013,
Ok, I finally got all the steps installed (1-7 steps) as a local host, however, in order to install the steps requiring the local host,  I had to insert the local port number (100) into the path (http://localhost:100/xxx).  I successfully logged in on the local host once, tried to generate a model, and the program bombed out (dead web page).  I few times afterwards, I was able to get back into the NutCracker local host page but could not log in (HTTP: 403 Forbidden error screen).  Now, I can’t even get into the NutCracker local host screen (HTTP: 403 Forbidden error screen).  Rebooted a couple of times and re-ran the WampServer application but no success in get back in the local host.  Any idea what happen and how to fix this? 
Title: Re: Nutcracker Local Install
Post by: smeighan on January 10, 2013,
You are not allowed to view links. Register or Login
Ok, I finally got all the steps installed (1-7 steps) as a local host, however, in order to install the steps requiring the local host,  I had to insert the local port number (100) into the path (http://localhost:100/xxx).  I successfully logged in on the local host once, tried to generate a model, and the program bombed out (dead web page).  I few times afterwards, I was able to get back into the NutCracker local host page but could not log in (HTTP: 403 Forbidden error screen).  Now, I can’t even get into the NutCracker local host screen (HTTP: 403 Forbidden error screen).  Rebooted a couple of times and re-ran the WampServer application but no success in get back in the local host.  Any idea what happen and how to fix this?

are you running skype? although you can follow the instructions for getting port 100, i just disable my skype and let it default to port 80.

you can safely just uninstall xampp and do install again. are u using wamp or xampp? both should work. i am using xampp on my installation.

Title: Re: Nutcracker Local Install
Post by: mrduncan on January 10, 2013,
The strange thing was that it worked once after I finally got it all installed.  Then slowly stop working.  I uninstalled everything and will try xampp.  I also uninstalled Skype but this probably was not the problem.  Would it have anthing to do with my security software (McAfee Total Protection)?

Is the local install process exactly the same with Xampp as with WAMP?
Title: Re: Nutcracker Local Install
Post by: smeighan on January 10, 2013,
You are not allowed to view links. Register or Login
The strange thing was that it worked once after I finally got it all installed.  Then slowly stop working.  I uninstalled everything and will try xampp.  I also uninstalled Skype but this probably was not the problem.  Would it have anthing to do with my security software (McAfee Total Protection)?

Is the local install process exactly the same with Xampp as with WAMP?

The nutcracker install process is identical except for the directories where you install.

follow the following

Nutcracker needs an Apache server and a MySql database running on your winodws (XP, 7) machine.

There are two choices for getting these, WAMP or XAMPP. I have used both.

Here are the steps to install Nutcracker on your local Windows 7 or Windows XP box


1) Download
Wampp. http://www.wampserver.com/en/
or
Xampp. http://sourceforge.net/projects/xampp/files/latest/download
2) Take all defaults for installation
3) Start Wamp. Click on the Pink W icon.
or
start Xampp and click Start for the Apache and Mysql applications.

4) Test Wamp or Xampp  by setting your browser to http://localhost
if it is working, you will see the WAMP/XAMPP home page.


Apache server uses port 80. If you have Skype or microsoft HTTP/2.0 they also use port 80.
Here is a web page that describes how to fix this conflict. http://blog.techsoftsolutions.net/?p=315
For Wamp; the httpd.conf file is located in c:\wamp\bin\apache\apache2.2.22\conf directory


5) You now need to get a copy of the current Nutcracker code tree. Go to
http://smeighan.github.com/nutcracker/ and download the zip file. This file is updated daily with the latest Nutcracker code tree and with the latest export from meighan.net/nutcracker database
Unzip this file into c:\wamp\www\nutcracker if using WAMP
or
unzip it into c:\xampp\htdocs\nutcracker if you are using XAMPP

This zip file also now contains gnuplot so you dont need to install it separately.


6) Add gnuplot into Windows PATH environment variable.
I found a much better tool to do this and i have included the tool in the nutcracker zip file
WAMP:
Run c:\wamp\www\nutcracker\gnuplot\bin\PathEditor.exe as administrator
 Add c:\wamp\www\nutcracker\gnuplot\bin

or

XAMPP:
Run c:\xampp\htdocs\nutcracker\gnuplot\bin\PathEditor.exe as administrator
 Add c:\xampp\htdocs\nutcracker\gnuplot\bin


7) When you get Localhost working, install the database.
Enter http://localhost/nutcracker/install.php in a browser window
Title: Re: Nutcracker Local Install
Post by: mrduncan on January 10, 2013,
Yes, using Xampp was a much easier and straight forward installation and everything seems to be working.  Next question once I generate an effect, how to produce an animated GIF?
Title: Re: Nutcracker Local Install
Post by: smeighan on January 10, 2013,
You are not allowed to view links. Register or Login
Yes, using Xampp was a much easier and straight forward installation and everything seems to be working.  Next question once I generate an effect, how to produce an animated GIF?

if you did step 6 above you should be seeing animated gifs after you generate an effect.
Title: Re: Nutcracker Local Install
Post by: kgustafson on January 10, 2013,
You are not allowed to view links. Register or Login
Yes, using Xampp was a much easier and straight forward installation and everything seems to be working.  Next question once I generate an effect, how to produce an animated GIF?

Mrduncan,

Make sure that you have gnuplot in your system path.  There are a few posts on this out there.  If you are not seeing the animated GIF after creating an effect (or using project and changing the effect values for that matter), this is--more than likely--because your local nutcracker cannot reach gnuplot.exe, and--most likely--remedied via setting the gnuplot executable in your system path in windows.

Kurt
Title: Re: Nutcracker Local Install
Post by: mrduncan on January 10, 2013,
Ok.  Deleted the gnuplot path and re-defined it.  Looks like it works now.  Before, I would get an error about the gnuplot was not loaded.

Thanks for your help.

I've created  a few effect now.  Anyway to delete some of the effects or model files?
Title: Re: Nutcracker Local Install
Post by: smeighan on January 10, 2013,
You are not allowed to view links. Register or Login
Ok.  Deleted the gnuplot path and re-defined it.  Looks like it works now.  Before, I would get an error about the gnuplot was not loaded.

Thanks for your help.

I've created  a few effect now.  Anyway to delete some of the effects or model files?

Sometimes it requires a reboot for the new path to be picked up. ill modify the instructions in the first post to make it clear.
Title: Re: Nutcracker Local Install
Post by: Danbe on February 04, 2013,
Went I go to http://localhost/nutcracker/project/gallery_page.php I can't see any image in Gallery
if I go to  http://meighan.net/nutcracker/project/gallery_page.php I see all image in my Gallery ???

Thank  DAn
Title: Re: Nutcracker Local Install
Post by: kgustafson on February 07, 2013,
You are not allowed to view links. Register or Login
Went I go to http://localhost/nutcracker/project/gallery_page.php I can't see any image in Gallery
if I go to  http://meighan.net/nutcracker/project/gallery_page.php I see all image in my Gallery ???

Thank  DAn

Whole topic on this subject here  http://diylightanimation.com/index.php?topic=11338.0 (http://diylightanimation.com/index.php?topic=11338.0)
Title: Re: Nutcracker Local Install
Post by: sims101 on December 14, 2014,
I having a problem i had it working but would not let me create a account

6:14:43 PM  [Apache]    Error: Apache shutdown unexpectedly.
6:14:43 PM  [Apache]    This may be due to a blocked port, missing dependencies,
6:14:43 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
6:14:43 PM  [Apache]    Press the Logs button to view error logs and check
6:14:43 PM  [Apache]    the Windows Event Viewer for more clues
6:14:43 PM  [Apache]    If you need more help, copy and post this
6:14:43 PM  [Apache]    entire log window on the forums

I restarted computer and now I can get to log-in but says this


Warning: mysql_connect(): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\nutcracker\smeighan-nutcracker-e07e1a7\login\login-exec.php on line 14
Failed to connect to server: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.


When go to http://localhost/nutcracker/install.php  it does this error page

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

localhost
Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
Title: Re: Nutcracker Local Install
Post by: lonewolf41 on December 14, 2014,
This is for the old, obsolete version of nutcracker.  The much better, easier version is here: http://nutcracker123.com/nutcracker/releases/

Thanks,
-Keith
Title: Re: Nutcracker Local Install
Post by: Steve Gase on December 14, 2014,
recently the nutcracker site went down because someone the database or file system using the first release of nutcracker.
i believe sean disabled the old version to avoid this from happening again.


if you are dead in the water due to this, contact sean to see what can be done over these last few weeks of the year.