Title: Basic Query test fails · Issue #194 · FoolCode/SphinxQL-Query-Builder · GitHub
Open Graph Title: Basic Query test fails · Issue #194 · FoolCode/SphinxQL-Query-Builder
X Title: Basic Query test fails · Issue #194 · FoolCode/SphinxQL-Query-Builder
Description: Hi, I am using composer installation of "foolz/sphinxql-query-builder" and a sphinx index with test result. I am trying to use this simple test php script, but I get an error: "Fatal error: Uncaught Error: Call to undefined method Foolz\...
Open Graph Description: Hi, I am using composer installation of "foolz/sphinxql-query-builder" and a sphinx index with test result. I am trying to use this simple test php script, but I get an error: "Fatal error: Uncaugh...
X Description: Hi, I am using composer installation of "foolz/sphinxql-query-builder" and a sphinx index with test result. I am trying to use this simple test php script, but I get an error: "Fatal...
Opengraph URL: https://github.com/FoolCode/SphinxQL-Query-Builder/issues/194
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Basic Query test fails","articleBody":"Hi,\r\nI am using composer installation of \"foolz/sphinxql-query-builder\" and a sphinx index with test result. I am trying to use this simple test php script, but I get an error:\r\n\"Fatal error: Uncaught Error: Call to undefined method Foolz\\SphinxQL\\SphinxQL::create()\"\r\nAny suggestions?\r\nWindows 10 - composer 2 - PHP 7.1 - sphinxsearch 3.1.1\r\n\r\n```\r\nrequire_once __DIR__ .\"/../vendor/autoload.php\";\r\n\r\nuse Foolz\\SphinxQL\\SphinxQL;\r\nuse Foolz\\SphinxQL\\Drivers\\Mysqli\\Connection;\r\n \r\n$conn = new Connection();\r\n$conn-\u003esetParams(array('host' =\u003e 'localhost', 'port' =\u003e 9306));\r\n\r\n$query = SphinxQL::create($conn)\r\n-\u003eselect('*')\r\n-\u003efrom('test_index')\r\n-\u003ematch('test');\r\n\r\n$result = $query-\u003eexecute();\r\n$results = $result-\u003efetchAllAssoc();\r\nprint_r($results);\r\n```","author":{"url":"https://github.com/yazer79","@type":"Person","name":"yazer79"},"datePublished":"2020-12-10T19:28:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/194/SphinxQL-Query-Builder/issues/194"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8395335e-fdca-3ff4-53a3-750949399ed4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8372:371D0F:4423774:58AEDB2:697DB3D8 |
| html-safe-nonce | 76268f0e2f7b258c20b2828f3309b755fef1e52f1b418ca98ff375c1de14c55a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzcyOjM3MUQwRjo0NDIzNzc0OjU4QUVEQjI6Njk3REIzRDgiLCJ2aXNpdG9yX2lkIjoiNzY1ODg1MjkyNjAwNTAzMTg5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1c23efab0b59e6f334b70457439df4ad5824af5fa535d3d0c722fcc9a257b190 |
| hovercard-subject-tag | issue:761544169 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/FoolCode/SphinxQL-Query-Builder/194/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b46c9041b2b02c78d693099689e99cc155aea6ba80890cf7e545a630084cb500/FoolCode/SphinxQL-Query-Builder/issues/194 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b46c9041b2b02c78d693099689e99cc155aea6ba80890cf7e545a630084cb500/FoolCode/SphinxQL-Query-Builder/issues/194 |
| og:image:alt | Hi, I am using composer installation of "foolz/sphinxql-query-builder" and a sphinx index with test result. I am trying to use this simple test php script, but I get an error: "Fatal error: Uncaugh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yazer79 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/FoolCode/SphinxQL-Query-Builder git https://github.com/FoolCode/SphinxQL-Query-Builder.git |
| octolytics-dimension-user_id | 915570 |
| octolytics-dimension-user_login | FoolCode |
| octolytics-dimension-repository_id | 5473481 |
| octolytics-dimension-repository_nwo | FoolCode/SphinxQL-Query-Builder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5473481 |
| octolytics-dimension-repository_network_root_nwo | FoolCode/SphinxQL-Query-Builder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width