Questions tagged [phplib]
12 questions
13
votes
1 answer
PDFMerger with FPDI-PDF-PARSER
FPDI PDF Files merger is being used. However, I ran into the following issue while trying to merge PDF files versions 1.5 and higher. The following was the error I received:
This document (doc.pdf) probably uses a compression technique which is
…

hello_its_me
- 743
- 2
- 19
- 52
2
votes
0 answers
MongoDB atlas PHPLIB
I've got this error:
MongoDB\Driver\Exception\ConnectionTimeoutException: Failed to look up SRV record "_mongodb._tcp.training.gd45p.mongodb.net": No such file or directory
While executing this code:
$mongo = new…

Mr.Newt
- 41
- 3
- 4
1
vote
0 answers
LTI integration with Laravel websites as LMS
There're two websites of educational courses. I own the one built with Laravel.
I want to access another website's courses into my website.
So basically I want to integrate LTI for my website.
I have checked this latest package of IMSGlobal LTI…

learnerDev
- 91
- 4
1
vote
0 answers
Zkteco Tad php Library cannot connect
I'm Using this Php Library for Zkteco device. But it seems not working or connecting to the device Github Link.
Fatal error: Uncaught TADPHP\Exceptions\ConnectionError: Imposible iniciar conexión con dispositivo 192.168.2.63 in…

ewask etyra
- 23
- 4
1
vote
0 answers
1
vote
1 answer
Storing and retrieving dates in Mongodb 3.2 with PHPLIB
Using Mongo and PHP how does one store a datetime type, and then retrieve by date?
This is what I have for inserting, but it stores the date as a string:
$collection->insertOne(['date_created' => '2017-01-02 17:20:15']);
How should I be sending the…

kylex
- 14,178
- 33
- 114
- 175
0
votes
1 answer
Error implementing simple Pagination with skip() and limit() in MongoDB PHP driver and related PHPLib library
I am trying to implement pagination when accessing data from MongoDB using PHP. In MySQL, I would have used OFFSET and LIMIT. My Google search told me that the alternative of PHP-MongoDB is skip() and limit().
But when I try to use those functions,…

JBel
- 329
- 1
- 5
- 19
0
votes
0 answers
How to set a sequential INTEGER autoincrement id in MongoDB using PHP?
Note: I have written an example (SSCCE). That code can be found here.
I have a .csv file like so:
frame.cap_len
64
60
...
I need to insert this data into MongoDB database using PHP. So I have a database named Traffic and it contains a collection…

JBel
- 329
- 1
- 5
- 19
0
votes
2 answers
How to add GraphAware Library to project
I am creating a project in php and want to configure it with my Neo4j graph data. Here is the code:

James Faulkner
- 91
- 9
0
votes
0 answers
MongoDB (PHPLib) ObjectID changes after upsert
I am having a problem with MongoDB ID changing after I upsert a document.
public function upsert(User $user) {
$userMongo = new UserMongo($user);
if(!$userMongo->getUuid()) {
$userMongo->setUuid(new ObjectID);
…

John Doe
- 60
- 2
- 8
0
votes
1 answer
MongoDB and PHPLib retrieving an embedded document from a cursor
I have the following code:
bbcData->programmeData;
$result = $collection->find( [ '_id' => 'b007jwd9'] );
foreach…

kulsoompatel
- 220
- 1
- 3
- 18
-9
votes
2 answers
Tad PHP connection error
I have used tad php from github(https://github.com/cobisja/tad-php)now I am getting an error displayed below.
Fatal error: Uncaught exception 'TADPHP\Exceptions\ConnectionError' with message 'Imposible iniciar conexión con dispositivo…

Aihtsham Ali
- 104
- 2
- 13