PVD needs to be started in debug mode. In the debug file, the condemning record changes to this record, if it does not already exist,
start viddb.exe -debug -portable
or changes only to this
-debug -portable
Then a log file is opened to see where the error might be.
With this connection
https://www.imdb.com/title/tt0298045/and
https://www.imdb.com/title/tt3118664/is the wrong code for User Reviews data transfer, so the already mentioned problem occurs.
In IMDB_ [EN] [HTTPS], you replace the old User Reviews code with this new User Reviews code added below.
//Get ~User Reviews~
curPos:=Pos('<h3 class="ipc-title__text">User reviews',HTML); //WEB_SPECIFIC.
If 0<curPos then begin
curPos:=PosFrom('<div class="ipc-html-content ipc-html-content--base"><div>',HTML,curPos)+Length('<div class="ipc-html-content ipc-html-content--base"><div>');
EndPos:=PosFrom('</div></div><div class="ipc-overflowText-overlay">',HTML,curPos);
ItemValue:=Copy(HTML,curPos,endPos-curPos); //Strings which opens/closes the data. WEB_SPECIFIC
ItemValue:=StringReplace(ItemValue,'</p>','',True,False,True);
ItemValue:=StringReplace(ItemValue,'</div>','',True,False,True);
ItemValue:=StringReplace(ItemValue,'<ul><li>','',True,False,True);
ItemValue:=StringReplace(ItemValue,'</li></ul>','',True,False,True);
ItemValue:=StringReplace(ItemValue,':)','',True,False,True);
curPos:=Pos('<!DOCTYPE html>',ItemValue);
If 0<curPos then ItemValue:=Copy(ItemValue,0,curPos-1);
curPos:=Pos('Find showtimes, ',ItemValue);
If 0<curPos then ItemValue:=Copy(ItemValue,0,curPos-1);
curPos:=Pos('var ue_',ItemValue);
If 0<curPos then ItemValue:=Copy(ItemValue,0,curPos-1);
curPos:=Pos('aphprotocol.org/schema/',ItemValue);
If 0<curPos then ItemValue:=Copy(ItemValue,0,curPos-1);
AddCustomFieldValueByName('User Reviews',ItemValue);
AddCustomFieldValueByName('User Comments',ItemValue);
if ItemValue <> '' then LogMessage(' Get result User Reviews (CF~User Reviews~): <br>'+ItemValue+'||');
End;
Then test the script with your database, which should not be empty, to see if it is working properly now and the database is not corrupted.
I also had similar problems and solved them with some different approaches (different tricks), so that I could then get rid of the problematic entry in the database and delete it.