Jump to content

Lajos Juhász

Members
  • Content Count

    796
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lajos Juhász

  1. It's top secret. In case of docwiki we can get a backtrace: #0 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1134): Wikimedia\Rdbms\Database->reportConnectionError('Connection time...') #1 /var/www/html/shared/BaseWiki31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(749): Wikimedia\Rdbms\LoadBalancer->reportConnectionError() #2 /var/www/html/shared/BaseWiki31/includes/GlobalFunctions.php(2801): Wikimedia\Rdbms\LoadBalancer->getConnection(0, Array, false) #3 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LCStoreDB.php(45): wfGetDB(-1) #4 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(412): LCStoreDB->get('en', 'deps') #5 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(458): LocalisationCache->isExpired('en') #6 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(334): LocalisationCache->initLanguage('en') #7 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(371): LocalisationCache->loadItem('en', 'magicWords') #8 /var/www/html/shared/BaseWiki31/includes/cache/localisation/LocalisationCache.php(292): LocalisationCache->loadSubitem('en', 'magicWords', 'tree') #9 /var/www/html/shared/BaseWiki31/languages/Language.php(3177): LocalisationCache->getSubitem('en', 'magicWords', 'tree') #10 /var/www/html/shared/BaseWiki31/includes/MagicWord.php(352): Language->getMagic(Object(MagicWord)) #11 /var/www/html/shared/BaseWiki31/includes/MagicWord.php(280): MagicWord->load('tree') #12 /var/www/html/shared/BaseWiki31/includes/parser/Parser.php(4848): MagicWord::get('tree') #13 /var/www/html/shared/BaseWiki31/extensions/TreeAndMenu/TreeAndMenu_body.php(24): Parser->setFunctionHook('tree', Array) #14 /var/www/html/shared/BaseWiki31/includes/Setup.php(948): TreeAndMenu->setup() #15 /var/www/html/shared/BaseWiki31/includes/WebStart.php(88): require_once('/var/www/html/s...') #16 /var/www/html/shared/BaseWiki31/index.php(39): require('/var/www/html/s...') #17 {main} The quality portal have only a generic error message: Sorry, an error occurred trying to log you in - please try again. For getit also only generic error message that it failed to load data.
  2. It is most probably since Friday. There are posts on this server about the new trend that embarcadero likes to take the servers down. (If you can not download you cannot complain about the bugs.)
  3. Lajos Juhász

    D12 Welcome Page

    When the quality portal is online you can create a ticket. Maybe one day Embarcadero can deliver a descent welcome page.
  4. You cannot terminate the thread while it's blocked by sleep. +1 for SimpleEvent and Waitfor.
  5. Lajos Juhász

    Extend Standard VCL

    You cannot add a property without a new class. If you don't want to extend the component you can store the additional information in a dictionary or in other data structure.
  6. Lajos Juhász

    How can I make TTimer run in the main tread ?

    I've tested: uses MMSystem; procedure TForm1.Timer1Timer(Sender: TObject); begin sndPlaySound('C:\Windows\Media\Tada.wav', SND_NODEFAULT Or SND_ASYNC); end; no problems.
  7. Lajos Juhász

    Delphi 12 VCL painting differs through RDP

    I believe it was starting with 11 and "enhanced" in 12. I know that they wrote 12 should be much better than earlier versions.
  8. Lajos Juhász

    Gnostice & Delphi 11 & fastreport

    You install them as any other component. First you compile the runitme packages then the designtime and install them.
  9. Lajos Juhász

    pdf417

    You can find an answer at https://en.wikipedia.org/wiki/PDF417, use only A-Z.
  10. Lajos Juhász

    Issue with Color Names Overlay in Object Inspector

    If you enter a bug report without a test case they will close it as works as expected, I've been there a couple of times. Even if you submit a reproducible case the bug can stay opened for a decade.
  11. Lajos Juhász

    Issue with Color Names Overlay in Object Inspector

    I sometimes also get a bug that the selected property shows a value of a different property. I cannot enter a bug report as it's impossible to find out when that can happen. Also search in D12 is working even worse than in Delphi 11.2, here also I have had no time to create an example. I hope we can get a fix for some issues soon as we're moving to beta phase of our application.
  12. Lajos Juhász

    Delphi 12 and *.dsv

    In my opinion It's not a standard Delphi file, you've installed something that creates them. I am using VCL and tried to create an empty fmx file none has produced a file with a dsv extension.
  13. Lajos Juhász

    Encryption (AES)

  14. Lajos Juhász

    Help with Query at run time

    In order to work with jpg image format you must add the jpeg unit to your uses. IF you add a TImage named imgName then you can write: imgName.Picture.LoadFromFile('D:\Delphi_11_Community\MyProjects\Dinobase\dino_images\'+ sName + '.jpg');
  15. Lajos Juhász

    Delphi 12 IDE, cannot create regions

    How? It's broken for days (there is a thread on this forum, you get an: Error creating issue: Could not load FunctionProvider class).
  16. Lajos Juhász

    Delphi 12 IDE, auto-formatter mutilates generics

    Do not try the formatter in source where you've multiline string. They should deprecate also the IDE editor it can't cope with the code. I've a section in my code that I cannot edit inside the IDE (a class with inner types).
  17. Lajos Juhász

    Recent Menu partly hidden

    I believe that's the part of the new Embarcadero policy. 0 bugs in Delphi 12 due to the fact that we cannot report any new bugs.
  18. Lajos Juhász

    "Elusive" joins

    Open a second connection to the database and fill the required fields. Here locate is your friend.
  19. Lajos Juhász

    Help to find database error

    You should read more carefully the error message. You to open the query using the open method of the TFDQuery instead of ExecSQL.
  20. Lajos Juhász

    Help to find database error

    Double click on the FDConnection to open the FireDAC Connection Editor.
  21. Lajos Juhász

    Help to find database error

    while not SQLQuery1.Eof do begin currentLine := ''; for i := 0 to sqlQuery1.fieldcount-1 do currentLine := currentLine + ' ' + sqlQuery1.fields[i].asString; memOutput.Lines.Add(currentLine); SQLQuery1.Next; end; The above code doesn't require the Stringlist to iterate the fields of the query. To add a database the documentation states it should be a form of (https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_SQLite_with_FireDAC): Database=<path to SQLite database> While you've tried: SQLConnection1.Params.Add('D:Delphi 11 Community\My Projects\Connecting to SQLite\Data\dat2.sqlite'); You should do SQLConnection1.Params.Add('Database = '); append here the real path to the database. I believe instead of MemOutput.ClearSelection you wanted MemOutput.Clear.
  22. Lajos Juhász

    Upgrading EurekaLog for Delphi 12

    The windows have to find the bpl (dll) to load it and it doesn't know about the library path.
  23. Lajos Juhász

    Upgrading EurekaLog for Delphi 12

    you've to add the folder to the path.
  24. Lajos Juhász

    Accessing protected symbols

    A warning Canvas.TextWidth is valid only during painting, otherwise it's not guaranteed that the canvas has the correct font assigned. To be sure you can use https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.Graphics.TCanvas.RequiredState.
×