Search found 6 matches

by mka.surveys
April 17th, 2018, 9:07 pm
Forum: Synchronization
Topic: CSWeb SQLSTATE[42000] Specified key was too long
Replies: 4
Views: 5580

Re: CSWeb SQLSTATE[42000] Specified key was too long

My server indeed has the following configuration

Code: Select all

innodb_large_prefix=OFF
I'll contact my shared hosting provider and check if I can do either of those things. I'll post here if this solves the problem.

Thanks a lot josh!
by mka.surveys
April 17th, 2018, 6:54 pm
Forum: Synchronization
Topic: CSWeb SQLSTATE[42000] Specified key was too long
Replies: 4
Views: 5580

Re: CSWeb SQLSTATE[42000] Specified key was too long

Thank you josh,

My shared hosting uses MySQL 5.6 and PHP 5.6. I attach a screenshot of phpMyAdmin and also the dictionary I am trying to upload. Also, I tried uploading other dictionaries and got the same error.
phpMyAdmin
phpMyAdmin
mysql.png (18.9 KiB) Viewed 5568 times
Thanks again!
by mka.surveys
April 16th, 2018, 6:48 pm
Forum: Synchronization
Topic: CSWeb SQLSTATE[42000] Specified key was too long
Replies: 4
Views: 5580

CSWeb SQLSTATE[42000] Specified key was too long

Hello, while trying to upload a dictionary to the web app, I get an error. By looking at the logs I see this error message. [2018-04-16 15:32:28] CSPro API.CRITICAL: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (uncaugh...
by mka.surveys
July 20th, 2017, 1:39 pm
Forum: Synchronization
Topic: Login failed. Insufficient privileges.
Replies: 9
Views: 9645

Re: Login failed. Insufficient privileges.

Thanks Josh, The particular line you mention is missing in app.php. Are the following lines equivalent? If so, the debug mode is already active :| . $app->register(new Silex\Provider\MonologServiceProvider(), array( 'monolog.logfile' => __DIR__.'/../../../logs/ui.log', 'monolog.name' => 'CSPro UI', ...
by mka.surveys
July 19th, 2017, 1:49 pm
Forum: Synchronization
Topic: Login failed. Insufficient privileges.
Replies: 9
Views: 9645

Re: Login failed. Insufficient privileges.

I don't have the api.log file, and the info in ui.log is not very useful. What else can I do?

Thank you josh!
by mka.surveys
July 18th, 2017, 10:36 pm
Forum: Synchronization
Topic: Login failed. Insufficient privileges.
Replies: 9
Views: 9645

Login failed. Insufficient privileges.

Hi everyone, I just finished setting up CSWeb server. I got the "Setup Complete!" message and was redirected to the app login page http://mydomain.com/csweb/ui but I can't manage to login. I'm following the instructions on http://www.csprousers.org/help/CSWeb/apache_csweb_setup.html so I t...