I have tried installing the Emon CMS on my Raspberry Pi but I have hit a problem.
I followed the guide but somewhere I must have made an error because when I start the browser and point it to "http://localhost/emoncms3/" I get the following response in the browser window.
Unknown column 'lang' in 'field list'
Fatal error: Call to a member function fetch_array() on a non-object in /var/www/emoncms3/Includes/db.php on line 48
Can someone point me in the right direction. I thought I went through every step but its gone 1am and I need to be up in the morning!
Re: Solved - Emon CMS install on RPi
I would usually expect that error if setup.php has not been run after an upgrade, but it sounds like you have installed from scratch, with new database? Might be worth trying to run it anyway, just in case its that.
Re: Solved - Emon CMS install on RPi
Thanks for the quick response Trystan.
I did indeed install from scratch right down to a fresh Rasperian image on the SD card then followed the emoncms setup guide pulling emoncms3 from git etc.
I have just run setup.php and it appeared to carry out the database setup script correctly.
However on the dashboard login when I type a username and password in and click register I get the following response.
Not Found
The requested URL /emoncms3/user/create was not found on this server.
Apache/2.2.22 (Debian) Server at localhost Port 80
Re: Solved - Emon CMS install on RPi
Which browser as you using by any chance?
Re: Solved - Emon CMS install on RPi
Midori
Re: Solved - Emon CMS install on RPi
Just tried from another PC on the network running Firefox. Same problem.
Re: Solved - Emon CMS install on RPi
Sorry my fault.
I had not changed line 11 to "AllowOverride All" in step 4 of the setup guide.
Done this then ran step 5 again and we are away!
What an idiot, sorry to waste your time...