Error in TeraWurflDatabase_MySQL5.php:120

Integrating Tera-WURFL in your applications.

Error in TeraWurflDatabase_MySQL5.php:120

Postby anv2011 » Thu Jul 28, 2011 1:35 pm

Hello,

I've integrated Tera_WURFL into my web-site.

Everything seems fine (under Firefox, Chrome, IE), till I had ran the web site under this User-Agent:

Code: Select all
CSE HTML Validator Professional (http://www.htmlvalidator.com/)


I'm getting the following errors:

Code: Select all
PHP Fatal error:  Uncaught exception 'Exception' with message 'Error in DB RIS Query: The user specified as a definer ('terawurfl'@'localhost') does not exist..../tera-wurfl/DatabaseConnectors/TeraWurflDatabase_MySQL5.php:120


Did anyone run into this problem?

Thank you!
Last edited by anv2011 on Fri Jul 29, 2011 5:04 pm, edited 1 time in total.
anv2011
 
Posts: 2
Joined: Thu Jul 28, 2011 1:24 pm

Re: Error in TeraWurflDatabase_MySQL5.php:120

Postby kamermans » Thu Jul 28, 2011 1:49 pm

The error "The user specified as a definer ('terawurfl'@'localhost') does not exist" indicates that the user that created this stored procedure in MySQL is not the user that is trying to access it now. It sounds like you installed it initially with the user "terawurfl" and than changed the database username to something else. If this is the case, reloading the WURFL data should fix the problem since it drops the stored procedures and recreates them.
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: Error in TeraWurflDatabase_MySQL5.php:120

Postby anv2011 » Fri Jul 29, 2011 12:17 am

Steve,
reloading the WURFL data
did fix the problem.

Thank you!
anv2011
 
Posts: 2
Joined: Thu Jul 28, 2011 1:24 pm

Re: Error in TeraWurflDatabase_MySQL5.php:120

Postby kamermans » Fri Jul 29, 2011 12:47 am

You're welcome :)
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX


Return to Using Tera-WURFL

Who is online

Users browsing this forum: No registered users and 1 guest

cron