Emoncms v7.0 & event module [solved]

Since updating to emoncms v7.0 the 'event' module errors.
Everything else works fine.

The error received is;

Warning: Missing argument 3 for Feed::__construct(), called in /var/www/emoncms/Modules/event/event_controller.php on line 21 and defined in /var/www/emoncms/Modules/feed/feed_model.php on line 28

Notice: Undefined variable: timestore_adminkey in /var/www/emoncms/Modules/feed/feed_model.php on line 43

Fatal error: Call to undefined method Feed::get_user_feed_names() in /var/www/emoncms/Modules/event/event_controller.php on line 121

 

Paul

TrystanLea's picture

Re: Emoncms v7.0 & event module [solved]

Hello Paul, I forget to merge the redis branch of the event module into master its been merged now.

Paul Reed's picture

Re: Emoncms v7.0 & event module [solved]

Thanks Trystan, the event module is now back working.

Best Wishes

 

Paul

scacchi's picture

Re: Emoncms v7.0 & event module [solved]

Hi guys,

I have a problem with event, my install is Ubuntu 13.10, emoncms 7, arduino get sensor, mysql, installed redis, everything work fine (log data, publish dashboard).

I tried to install event via git but i get error when i open event, and stop to FEED Mysql (input darta still arrive well)

Fatal error: Call to a member function fetch_array() on a non-object in /var/www/emoncms/Modules/event/event_model.php on line 67

 

If i simple delete the folder event inside Modules all fine back like before.

Any suggestion?

Am i wrong about install redis-server?

Thanks

 

TrystanLea's picture

Re: Emoncms v7.0 & event module [solved]

Did you run the database updater after installing the module? it may be that.

scacchi's picture

Re: Emoncms v7.0 & event module [solved]

I dont know how do that...

If i open localhost/categories/admin i see a white page with black top line input feed .....

nothing to "admin"

Thanks

Paul Reed's picture

Re: Emoncms v7.0 & event module [solved]

The database updater is located localhost/emoncms/admin/view

Log into your web page, Admin button 4th from menu top right, then Update Database.

 

Paul

ngbod's picture

Re: Emoncms v7.0 & event module [solved]

If admin is still not visible log out and back in and it will appear.

scacchi's picture

Re: Emoncms v7.0 & event module [solved]

I solved with the help of  Trystan, old post of 2012....

problem was a double account in MYSQL with same name and pwd, so i didn't notice i logged in with another account.

So i recreate DB and check the first account create if has the FLAG ADMIN to 1 inside DB Mysql and appeared again the admin link, update the DB with event installed and done...

 FEED and DASHBOARD to do again but... like i always say..."was so ugggggllly..." i will do better looking..ahahahh...

Thanks guys...

Wait another issue...

when i go inside EVENT SETTINGS

Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/emoncms/Modules/event/event_settings_view.php on line 24

below the password field...

but i think i will go to check the module inside the event...

 

Paul Reed's picture

Re: Emoncms v7.0 & event module [solved]

Have you installed php5-mcrypt as per the readme?

Paul

scacchi's picture

Re: Emoncms v7.0 & event module [solved]

Yes Sir...

 

Already updated to the newest version....

Maybe i need to check if is used or not..

Alex

scacchi's picture

Re: Emoncms v7.0 & event module [solved]

Paul...

you are right....

actually was installed php5-mcrypt but in my system was not inside the mods-available of php5,

i notice with the command:  sudo php5enmod mcrypt   (if someone else will get the same problem)

i moved the file inside mods-available and for now looks everything fine.

Any other module interesting to install?

Thanks Paul !!!!

 

Alex

scacchi's picture

Re: Emoncms v7.0 & event module [solved]

Well... another one...

I set some event, but no mail and always FALSE the condition, i see now that FEED well but the dimension is always 0

When i try to update the db i receive that error

Call to a member function fetch_object() on a non-object in /var/www/emoncms/Modules/admin/update_class.php on line 64

 

Im sorry for bother but i really cannot solve that...

 

thanks a lot...

Alex

unique24's picture

Re: Emoncms v7.0 & event module [solved]

Hello!

 

Please can you describe how to fix? Have the same problem and don´t know what you moved.

 

Thank you!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.