Physikerwelt created this task.
Physikerwelt added projects: User-Physikerwelt, Wikidata.

TASK DESCRIPTION
  **List of steps to reproduce** (step by step, including full links if 
applicable):
  
  - Follow https://github.com/wmde/wikibase-release-pipeline/tree/main/example
  - Configure hosts file to redirect quickstatements.svc to 127.0.0.1
  - Login on http://quickstatements.svc:8840
  - Ensure that you can run quick-statements without batch mode
  - Try to submit the same queries as batch
  
  **What happens?**:
  
  The following error message is shown, in the developer console for a request 
to http://quickstatements.svc:8840/api.php
  
    XHRPOSThttp://quickstatements.svc:8840/api.php
    [HTTP/1.1 200 OK 83ms]
    
    SyntaxError: JSON.parse: expected property name or '}' at line 1 column 2 
of the JSON data
    
    <br />
    
    
    <b>Warning</b>:  parse_ini_file(/data/project/root/replica.my.cnf): failed 
to open stream: No such file or directory in 
<b>/var/www/html/magnustools/public_html/php/ToolforgeCommon.php</b> on line 
<b>162</b><br />
    
    
    <br />
    
    
    <b>Fatal error</b>:  Uncaught Error: Class 'mysqli' not found in 
/var/www/html/magnustools/public_html/php/ToolforgeCommon.php:179
    
    
    Stack trace:
    
    
    #0 /var/www/html/magnustools/public_html/php/common.php(35): 
ToolforgeCommon-&gt;openDBtool('__quickstatemen...', 'tools.labsdb', '')
    
    
    #1 /var/www/html/quickstatements/public_html/quickstatements.php(501): 
openToolDB('quickstatements...')
    
    
    #2 /var/www/html/quickstatements/public_html/quickstatements.php(157): 
QuickStatements-&gt;ensureCurrentUserInDB()
    
    
    #3 /var/www/html/quickstatements/public_html/api.php(254): 
QuickStatements-&gt;getCurrentUserID()
    
    
    
    #4 {main}
    
    
      thrown in 
<b>/var/www/html/magnustools/public_html/php/ToolforgeCommon.php</b> on line 
<b>179</b><br />
    
    
    
    ​
  
  **What should have happened instead?**:
  
  A new batch should be created like in the live quick statements version.
  
  **Software version (if not a Wikimedia wiki), browser information, 
screenshots, other information, etc**:

TASK DETAIL
  https://phabricator.wikimedia.org/T285264

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Physikerwelt
Cc: Magnus, Addshore, Aklapper, Physikerwelt, Invadibot, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to