Comments (9)
Please try it out; I currenlty don't have enough time to test.
from jsonrpcphp.
I'm trying to use it.
composer.json:
{
"name": "davidepastore/jsonrpctest",
"require": {
"weberhofer/jsonrpcphp": "2.1-beta1"
}
}
index.php
<?php
require 'vendor/autoload.php';
$myJSONRPCClient = new \org\jsonrpcphp\JsonRPCClient('http://www.example.com/' );
Error:
Fatal error: Class 'org\jsonrpcphp\JsonRPCClient' not found in C:\xampp\htdocs\jsonrpc\index.php on line 3
from jsonrpcphp.
I have created a beta2 which fixes this issue. Please test.
from jsonrpcphp.
Using the same code above (changing the version of jsonrpcphp), it works fine. Good job @weberhofer
from jsonrpcphp.
fixed with release 2.1.0
from jsonrpcphp.
This issue still exists in 2.1.0. Getting:
PHP Fatal error: Class 'org\\jsonrpcphp\\jsonRPCClient' not found in .....
Tested with: PHP 5.5.9-1ubuntu4.7
and PHP 5.3.10-1ubuntu3.17
from jsonrpcphp.
Can you please test with the latest dev-version? I have made the sources PSR2 compatible and fixed a issue which caused the namespace not to be recognized correctly with some versions of PHP.
from jsonrpcphp.
Mmmm sorry for bothering you.. I've been staring over that little lowercase 'j'....
Cheers,
Bram
from jsonrpcphp.
@brammeleman Curious: did you happen to copy/paste something from https://manual.limesurvey.org/RemoteControl_2_API#PHP_Example
from jsonrpcphp.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonrpcphp.