Open laplasz opened 10 years ago
Thanks Balaszs, it's a strange one, this function is defined in https://github.com/mkweb/pupnp/blob/master/src/at/mkweb/upnp/init.php#L20 and I've never seen this error before.
Can you please tell some more information about the system you're using, webserver version, php version, etc...?
And sure, you can savely comment them out, they're just here to print debug output starting the cronjob.php in the browser.
Thanks in advance Mario
Hi Mario!
PHP Version 5.4.4-14+deb7u9 Server version: Apache/2.2.22 (Debian)
I am not familiar with php but if I define the namespace for pr() like \at\mkweb\upnp\pr() - it works. What do you think?
Thanks, Balazs
Just wanted to let you know that I've not forgotten about your issues. Unfortunately I'm very busy at the moment and I'll try to check them over this weekend.
same error here
Took the easy way and removed the function. It's written quickly when needed and useless for the application.
Should work now.
[error] PHP Fatal error: Call to undefined function pr() in /var/www/pupnp/src/at/mkweb/upnp/backend/UPnP.php on line 104 [error] PHP Fatal error: Call to undefined function pr() in /var/www/pupnp/src/at/mkweb/upnp/backend/UPnP.php on line 149
it seems that these lines should be commented out. Thanks, Balazs