Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Radio' not found in /var/www/html/fsapi-remote/src/Backend.php #10

Open
zbyszekkrok opened this issue Jan 16, 2020 · 3 comments
Open

Comments

@zbyszekkrok
Copy link

Hi

I know that last update was 3 years ago, but maybe you take a look here sometimes :). Your Frontier API looks interesting and might perfectly match my needs.

I tried install your code on Raspbian (Debian 9, stretch, PHP 7). After configuring, the "index.php" fails to load with error as below in Apache error.log:

PHP Fatal error: Uncaught Error: Class 'Radio' not found in /var/www/html/fsapi-remote/src/Backend.php:70\nStack trace:\n#0 /var/www/html/fsapi-remote/src/Backend.php(26): Backend->getActiveRadio(Array)\n#1 /var/www/html/fsapi-remote/index.php(11): Backend->__construct(Object(xajax), Object(Config))\n#2 {main}\n thrown in /var/www/html/fsapi-remote/src/Backend.php on line 70, referer: http://10.11.11.2/fsapi-remote/index.php?setup=true

I'm not a programmer, so I'm unable verify what is going wrong and fix...

Best regards,

Zbyszek K.

@tagru
Copy link

tagru commented Jan 22, 2020

Funny thing, I am stumbling over this issue as well. Looks like something is missing in the repo?

I would be thrilled as well if this is project is put out of retirement and would be a run-able state at last.

Thanks and regards,
tagru

@RJdaMoD
Copy link

RJdaMoD commented Aug 28, 2020

Hi, take a look at my pull requests for this repo (and maybe also the fsapi repo), i've got it running on a raspberry3 with apache2/php7 and a SilverCrest radio.
Greets, RJ

@zbyszekkrok
Copy link
Author

Yeah! Thx RJdaMoD! It works on Raspbian 9, php7 (I know, old)!

Hint to others: download RJdaMoD's version of fsapi and fsapi-remote. Both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants