Comments (5)
A migration guide has been implemented for those users who had DMI-TCAT installed before the query manager was implemented (6 March 2014). Please pull the latest source and run the following: cd dmi-tcat/helpers; php migrate.php
. It will guide you through the migration process.
from dmi-tcat.
Hi Erik,
thank you very much for the migrate script. I followed the instructions an altered all the tables. Unfortunatley the script seems to be unable to access mysql in the last step...
All you table definitions are OK
Migrating query bin definitions to new query manager.
importing from querybins.php
PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/supersambo/www/dmi-tcat/helpers/migrate.php on line 283
PHP Warning: mysql_real_escape_string(): Access denied for user 'supersambo'@'localhost' (using password: NO) in /home/supersambo/www/dmi-tcat/helpers/migrate.php on line 283
PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/supersambo/www/dmi-tcat/helpers/migrate.php on line 283
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'twittercapture._tweets' doesn't exist' in /home/supersambo/www/dmi-tcat/helpers/migrate.php:294
Stack trace:
#0 /home/supersambo/www/dmi-tcat/helpers/migrate.php(294): PDOStatement->execute()
#1 /home/supersambo/www/dmi-tcat/helpers/migrate.php(220): binsToDb(Array, 'track')
#2 /home/supersambo/www/dmi-tcat/helpers/migrate.php(54): querybinsPhpToDb()
#3 {main}
thrown in /home/supersambo/www/dmi-tcat/helpers/migrate.php on line 294
Best,
stephan
from dmi-tcat.
Hi,
The conflict seems to be with mysql_real_escape_string in combination with the PDO queries. (We are in the process of moving mysql_query to PDO.) I now removed mysql_real_escape_string as your querybin names will be safe to use in mysql anyway. Please pull the source again and run the migrate script: php migrate.php
. It should run fine now.
Best,
Erik
from dmi-tcat.
YES!
it's (knocking-on-wood) working! Thank you very much for your patience and help!
Best,
stephan
from dmi-tcat.
Thank you for offering to be an alpha user ;)
Cheers,
Erik
from dmi-tcat.
Related Issues (20)
- Cannot query users? HOT 2
- Wordcount improvement
- uninstall HOT 1
- Export\import problem HOT 3
- import csv downloaded with academictwitteR produces bin with empty usernames HOT 10
- Visualization module(s?) fail because of unexpected collation HOT 3
- Trying to get in touch regarding a security issue HOT 2
- /capture/index.php doesnt have a response. HOT 4
- Installation on MacBook Pro M1 HOT 1
- Create archive_export.php that works with import.php HOT 10
- Docker build fails with Let's Encrypt enabled HOT 2
- no_mentions, no_tweets discrepancy HOT 17
- Installing problem: The apache2 configtest failed. HOT 4
- Klout has been deprecated
- Docker should use localhost as default SERVERNAME HOT 1
- Installation problem: TCAT Configuration Parameters loop HOT 6
- Remaining Request Stuck HOT 1
- Error on connecting to Twitter API - /1.1/statuses/filter.json HOT 1
- Only part of the scraped datasets are visible in the analysis section of DMI-TCAT HOT 4
- issue with installation on Google cloud HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmi-tcat.