MySQL issues during setup

308 views
Skip to first unread message

andrew...@gmail.com

unread,
Apr 30, 2013, 4:25:58 PM4/30/13
to open...@googlegroups.com

When I load openphoto for the first time and try to setup Mysql I get the following error:

Please fix the following errors 
We were unable to initialize your account in MySql. 
Please verify that the host, username and password are correct and have proper permissions to create a database. 
Make sure your email address is not already in use.

How do I solve this issue? Where do I find the logs?

I am able to login the mysql command line app and use the database I setup for openphoto but setup fails when I use the web setup for openphoto

Jaisen Mathai

unread,
Apr 30, 2013, 5:50:56 PM4/30/13
to open...@googlegroups.com
It should output messages to Apache's error log. Can you include what you find there?


--
You received this message because you are subscribed to the Google Groups "OpenPhoto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openphoto+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

andrew...@gmail.com

unread,
May 1, 2013, 4:31:00 PM5/1/13
to open...@googlegroups.com
[Wed May 01 21:24:37 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
[Wed May 01 21:25:50 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlHost in /var/www/photo/src/templates/setup.php on line 99
[Wed May 01 21:25:50 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlUser in /var/www/photo/src/templates/setup.php on line 102
[Wed May 01 21:25:50 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlPassword in /var/www/photo/src/templates/setup.php on line 105
[Wed May 01 21:25:50 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlDb in /var/www/photo/src/templates/setup.php on line 108
[Wed May 01 21:25:50 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlTablePrefix in /var/www/photo/src/templates/setup.php on line 111
[Wed May 01 21:25:50 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlHost in /var/www/photo/src/templates/setup.php on line 99
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlUser in /var/www/photo/src/templates/setup.php on line 102
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlPassword in /var/www/photo/src/templates/setup.php on line 105
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlDb in /var/www/photo/src/templates/setup.php on line 108
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlTablePrefix in /var/www/photo/src/templates/setup.php on line 111
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25
[Wed May 01 21:25:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: key in /var/www/photo/src/libraries/controllers/AssetsController.php on line 53, referer: http://nas-server/setup
[Wed May 01 21:25:55 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlHost in /var/www/photo/src/templates/setup.php on line 99, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlUser in /var/www/photo/src/templates/setup.php on line 102, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlPassword in /var/www/photo/src/templates/setup.php on line 105, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlDb in /var/www/photo/src/templates/setup.php on line 108, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: mySqlTablePrefix in /var/www/photo/src/templates/setup.php on line 111, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup
[Wed May 01 21:26:52 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: key in /var/www/photo/src/libraries/controllers/AssetsController.php on line 53, referer: http://nas-server/setup
[Wed May 01 21:26:53 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup/2
[Wed May 01 21:26:58 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup/2
[Wed May 01 21:26:58 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: key in /var/www/photo/src/libraries/controllers/AssetsController.php on line 53, referer: http://nas-server/setup
[Wed May 01 21:26:59 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup/3
[Wed May 01 21:28:03 2013] [error] [client 192.168.0.26] {severity:crit, description:"Query error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes -   CREATE TABLE IF NOT EXISTS `albumGroup` (\n    `owner` varchar(127) NOT NULL,\n    `actor` varchar(127) NOT NULL,\n    `album` varchar(127) NOT NULL,\n    `group` varchar(127) NOT NULL,\n    UNIQUE KEY `owner` (`owner`,`album`,`group`)\n  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;", additional:}, referer: http://nas-server/setup/3
[Wed May 01 21:28:03 2013] [error] [client 192.168.0.26] {severity:crit, description:"Query error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes -   CREATE TABLE IF NOT EXISTS `albumGroup` (\n    `owner` varchar(127) NOT NULL,\n    `actor` varchar(127) NOT NULL,\n    `album` varchar(127) NOT NULL,\n    `group` varchar(127) NOT NULL,\n    UNIQUE KEY `owner` (`owner`,`album`,`group`)\n  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;", additional:}, referer: http://nas-server/setup/3
[Wed May 01 21:28:03 2013] [error] [client 192.168.0.26] {severity:warn, description:"Query error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'trovebox.user' doesn't exist - INSERT INTO `user` (`id`,`password`,`extra`) VALUES (:id,:password,:extra)", additional:}, referer: http://nas-server/setup/3
[Wed May 01 21:28:03 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup/3
[Wed May 01 21:28:03 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined variable: key in /var/www/photo/src/libraries/controllers/AssetsController.php on line 53, referer: http://nas-server/setup
[Wed May 01 21:28:04 2013] [error] [client 192.168.0.26] PHP Notice:  Undefined property: stdClass::$displaySignupLink in /var/www/photo/src/html/assets/themes/fabrizio1.0/templates/partials/header.php on line 25, referer: http://nas-server/setup/3

Jaisen Mathai

unread,
May 10, 2013, 3:03:16 AM5/10/13
to open...@googlegroups.com
Andrew,

We're wrapping up testing a certified build. If you continue to have issues with that then let's revisit then.

That should be available next week. I've tested fresh installs and need to test upgrades next.

Jaisen

Andrew Niland

unread,
May 21, 2013, 4:32:25 PM5/21/13
to open...@googlegroups.com
I have just installed the new version and I'm have the same issues. What is causing the "Undefined variable" errors?

Jaisen Mathai

unread,
May 22, 2013, 4:50:23 AM5/22/13
to open...@googlegroups.com
Are you still getting all of those with the latest code in master?

Andrew Niland

unread,
May 22, 2013, 7:49:03 AM5/22/13
to open...@googlegroups.com
Yes. I did a fresh install last night.

cae.v...@gmail.com

unread,
Jul 12, 2013, 10:59:12 AM7/12/13
to open...@googlegroups.com
Same problem here.

Jaisen Mathai

unread,
Jul 12, 2013, 2:21:22 PM7/12/13
to open...@googlegroups.com
It'd be really helpful if you could try our release candidate.

https://github.com/photo/frontend/tree/4.0.2-rc1


--

f3r...@gmail.com

unread,
Jul 19, 2013, 7:26:37 AM7/19/13
to open...@googlegroups.com
Same problem here with rc1.
Stop the setup process after creating the first 4 tables.

Jaisen Mathai

unread,
Jul 19, 2013, 2:03:50 PM7/19/13
to open...@googlegroups.com
Can you check what's in your apache logs and paste them in to an email?

alenka....@gmail.com

unread,
Jan 7, 2014, 7:41:10 AM1/7/14
to open...@googlegroups.com
Can you tell me please what was the solution? Thank you!

Dne petek, 19. julij 2013 20:03:50 UTC+2 je oseba jmathai napisala:
Reply all
Reply to author
Forward
0 new messages