richardtj / oauth-php

Automatically exported from code.google.com/p/oauth-php
MIT License
0 stars 0 forks source link

Error when creating tables with foreign key constraints #140

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Storing in MySQL instead in Session!
2. Installing the Tables from store/mysql/install.php
3. Installing the tables with foreign key constraints for the user ids

What is the expected output? What do you see instead?
If i comment out the lines with foreign key constraints in create tables i get 
the sql error 1005, can't create table. If i try to create without foreignkey 
constraints then everything is ok!  
But in this case i get the error that "xception 'OAuthException2' with message 
'No server with consumer_key "!!!!

What version of the product are you using? On what operating system?
175

Please provide any additional information below.

Original issue reported on code.google.com by b.heidar...@gmail.com on 29 Aug 2013 at 10:04