Vasil Rangelov

Results 135 comments of Vasil Rangelov

Check APPPATH and what the full path ends up as. I suspect it might not end with a slash on your VPS, but end with a slash locally. If you...

I meant you should check the APPPATH in the VPS, since that's where the problem is. The full path that ends up in the require_once may be wrong there, but...

Let me guess... Ubuntu 16.04? That particular Ubuntu version keeps throwing stupid stuff like this... 16.10 and later are fine, just this one. The problem is with the bundled `PEAR2\Autoload`......

Yes, it would be very helpful indeed, but sadly, you can't. The API protocol doesn't allow it. See [this topic in the MikroTik forums](http://forum.mikrotik.com/viewtopic.php?f=9&t=56809). If it was allowed by the...

> and one more question, can I use like this ? > > ``` php > $util->setMenu('/ip firewall mangle')->remove(0)->remove(1)->remove(2) > ``` No, but you can use ``` php $util->setMenu('/ip firewall...

You can make it more efficient by using a single callback instead of two: ``` php $util->setMenu('/ip firewall mangle')->remove( function (RouterOS\Response $item) use ($nbr) { $pattern = '#_' . preg_quote($nbr)...

4th argument in Client, e.g. ```php new RouterOS\Client('192.168.88.1', 'admin', 'password', 8080); ``` That would try to make a connection on port 8080.

You can get error details by analyzing the exception. You can just echo the whole variable to get the whole thing. In this case, I'm thinking it's ```remove $v``` not...

You should check that page in the wiki that says "API Reference". It has detailed information on all methods and classes in the package. In this case, you're asking about...

First off, assuming you used Util::find() with a Query (and you then passed the result to Util::get()), the cause is probably [this issue](https://github.com/pear2/Net_RouterOS/issues/34). I'll release a new fixed version soon,...