Author Topic: Nutcracker Local Install  (Read 16246 times)

Offline duane.mosley

  • Sr. Member
  • ****
  • Posts: 985
    • hearthstonelights.com
Re: Nutcracker Local Install
« Reply #45 on: October 20, 2012, »
xamp is downloading now. i'll see what happens

thanks

duane
Florence, KY


facebook.com/hearthstonelights

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2281
    • Nutcracker RGB Sequence Builder
Re: Nutcracker Local Install
« Reply #46 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
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline duane.mosley

  • Sr. Member
  • ****
  • Posts: 985
    • hearthstonelights.com
Re: Nutcracker Local Install
« Reply #47 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.
Florence, KY


facebook.com/hearthstonelights

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2281
    • Nutcracker RGB Sequence Builder
Re: Nutcracker Local Install
« Reply #48 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



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


Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline duane.mosley

  • Sr. Member
  • ****
  • Posts: 985
    • hearthstonelights.com
Re: Nutcracker Local Install
« Reply #49 on: October 20, 2012, »
i have apache and mysqul started under xampp. but when i go to this link: 

You are not allowed to view links. Register or Login

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)
Florence, KY


facebook.com/hearthstonelights

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2281
    • Nutcracker RGB Sequence Builder
Re: Nutcracker Local Install
« Reply #50 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: 

You are not allowed to view links. Register or Login

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
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline duane.mosley

  • Sr. Member
  • ****
  • Posts: 985
    • hearthstonelights.com
Re: Nutcracker Local Install
« Reply #51 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: 

You are not allowed to view links. Register or Login

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
Florence, KY


facebook.com/hearthstonelights

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2281
    • Nutcracker RGB Sequence Builder
Re: Nutcracker Local Install
« Reply #52 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: 

You are not allowed to view links. Register or Login

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.
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline injury

  • Sr. Member
  • ****
  • Posts: 191
Re: Nutcracker Local Install
« Reply #53 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: 

You are not allowed to view links. Register or Login

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.

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2281
    • Nutcracker RGB Sequence Builder
Re: Nutcracker Local Install
« Reply #54 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: 

You are not allowed to view links. Register or Login

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 "You are not allowed to view links. Register or Login" 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 You are not allowed to view links. Register or Login 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!!


Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline injury

  • Sr. Member
  • ****
  • Posts: 191
Re: Nutcracker Local Install
« Reply #55 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.
You are not allowed to view links. Register or Login 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 » "


Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2485
Re: Nutcracker Local Install
« Reply #56 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.
Jim Nealand
Kennesaw, GA

Offline garyh

  • Full Member
  • ***
  • Posts: 76
Re: Nutcracker Local Install
« Reply #57 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  :)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2281
    • Nutcracker RGB Sequence Builder
Re: Nutcracker Local Install
« Reply #58 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

« Last Edit: October 24, 2012, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2485
Re: Nutcracker Local Install
« Reply #59 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.
Jim Nealand
Kennesaw, GA