forked from chaosarium/lwt
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
enhancementDevelop an existing featureDevelop an existing feature
Description
Describe the bug
After uploading lwt to webhoster the save/save and open/check text functionalities return an error.
Fatal Error in SQL Query: LOAD DATA LOCAL INFILE '/storage/ssd2/332/18504332/tmp/tmpti.txt' INTO TABLE temptextitems FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' (@w,@c) set TiSeID = @b, TiCount = (@d:=@d+CHAR_LENGTH(@c))+1-CHAR_LENGTH(@c), TiOrder = if(@c like "%\r",case when (@c:=REPLACE(@c,"\r","")) is NULL then NULL when (@b:=@b+1) is NULL then NULL when @d:= @e is NULL then NULL else @a:=@a+1 end, @a:=@a+1), TiText = @c,TiWordCount=@w
Error Code & Message: [1047] Unsupported 'LOAD DATA LOCAL INFILE' command
Backtrace:
#0 do_mysqli_query(LOAD DATA LOCAL INFILE '/storage/ssd2/332/18504332/tmp/tmpti.txt' INTO TABLE temptextitems FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' (@w,@c) set TiSeID = @b, TiCount = (@d:=@d+CHAR_LENGTH(@c))+1-CHAR_LENGTH(@c), TiOrder = if(@c like "%\r",case when (@c:=REPLACE(@c,"\r","")) is NULL then NULL when (@b:=@b+1) is NULL then NULL when @d:= @e is NULL then NULL else @a:=@a+1 end, @a:=@a+1), TiText = @c,TiWordCount=@w) called at [/storage/ssd2/332/18504332/public_html/inc/database_connect.php:764]
#1 splitCheckText(test text upload, 1, 10) called at [/storage/ssd2/332/18504332/public_html/edit_texts.php:346]
Expected behavior
Page with added text available, ready to read.
Desktop:
- OS: Windows 7 SP1
- Browser: Chrome 98.0.4758.102
- PHP Version: 8.0.7
- MySQL Version: 10.5.12-MariaDB
Additional context
It worked with original lwt version (same hoster, same setting up proces). After opening text after this error, text doesn't appear (blank space in place of text/dictionaries).
After installing the LWT demo database there's an error as well
*** Error: Demo Database NOT restored - 418 queries - 23 successful (17/0 tables dropped/created, 0 records added), 395 failed. ***
Again it seems like texts don't upload. Languages and audio files do.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementDevelop an existing featureDevelop an existing feature