grump010 wrote:Sean,
Just wanted to start with a great big THANKS for all the time and effort that you've put into this application.Now onto an issue that I think I may or may not be having:
I've completed the local install and it works up until I try to log in, I get a scream error as follows:( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: mysql_connect(): Access denied for user 'nc_user'@'localhost' (using password: YES) in C:\wamp\www
utcracker\login\login-exec.php on line 14
Call Stack
# Time Memory Function Location
1 0.0006 268160 {main}( ) ..\login-exec.php:0
2 0.0079 825240 mysql_connect ( ) ..\login-exec.php:14
Failed to connect to server: Access denied for user 'nc_user'@'localhost' (using password: YES)I setup my account yesterday and can log into the nutcracker server, my guess would be that the zip file I used is not created post to my account setup. Would this be an accurate assumption or should I be digging deeper?
Cheers
Daryl Banks
aka grump010
The user "nc_user" is created when you run install.php.
did you run step #7?
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.
also, when you run install.php, leave the root password as blank. just take all defaults when running step #7
thanks
sean
Once I read your response I realized where I had made my mistake. I've modified the port setting to 100, I use Skype on this machine. I entered http://localhost: 100/nutcracker/install.php and all was "OK" as follows:
Nutcracker Install Script
Installing Nutcracker
Connecting to MySQL...OK
Creating nutcracker database...OK
Giving nutcracker database user permissions...OK
Selecting our new database to populate...OK
Creating nutcracker database schema...OK
OK
Populating nutcracker database data...OK
SUCCESS
Continue to Nutcracker...
At the "http://localhost:100/nutcracker/login/login-failed.php" page, I now a different error:
Login Failed!
Please check your username and password
Thanks for your help with this issue, I read through the postings twice last night to make sure there were no other posts with this issue, I can't be the only one using Skype and changing port settings.
grump010 wrote:Once I read your response I realized where I had made my mistake. I've modified the port setting to 100, I use Skype on this machine. I entered http://localhost: 100/nutcracker/install.php and all was "OK" as follows:Nutcracker Install Script
Installing Nutcracker
Connecting to MySQL...OK
Creating nutcracker database...OK
Giving nutcracker database user permissions...OK
Selecting our new database to populate...OK
Creating nutcracker database schema...OK
OK
Populating nutcracker database data...OK
SUCCESS
Continue to Nutcracker...At the "http://localhost:100/nutcracker/login/login-failed.php" page, I now a different error:
Login Failed!
Please check your username and passwordThanks for your help with this issue, I read through the postings twice last night to make sure there were no other posts with this issue, I can't be the only one using Skype and changing port settings.
The database that you imported on the local install is likely out of date. Sean checks those into the github repository on a regular interval, but if you recently created your "nutcracker123.com" account, it might not have been in the database dump that was in the github zip file.
Materdaddy wrote:The database that you imported on the local install is likely out of date. Sean checks those into the github repository on a regular interval, but if you recently created your "nutcracker123.com" account, it might not have been in the database dump that was in the github zip file.
I'm guessing that is the issue at this point, I just had a look and it hasn't changed from the file that I previously dl'ed.
Just curios though, does anyone know how to decipher the naming convention (smeighan-nutcracker-1.0-395-g441a457) for the .zip files?
grump010 wrote:I'm guessing that is the issue at this point, I just had a look and it hasn't changed from the file that I previously dl'ed.
Just curios though, does anyone know how to decipher the naming convention (smeighan-nutcracker-1.0-395-g441a457) for the .zip files?
I'm not sure what some of that is from, but the very last part (441a457) is part of the SHA1 hash of the latest commit. The full commit SHA is: 441a45779db8262ecfd73d1b8611947155d8994e
It's largely irrelevant to the user, so you can just ignore it.

