We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Cron Job Bug | Forum

Tony
Tony Jul 16 '14
Hello,
 Beleve i have a problem with my cron job file??

ERROR:
<b>Fatal error</b>:  Call to undefined method OW_Auth::setAuthenticator() in <b>/home/xxxxxxxxxx/public_html/ow_cron/run.php</b> on line <b>54</b><br />

Line 54:
OW_Auth::getInstance()->setAuthenticator(new OW_SessionAuthenticator());

Any ideas how to fix this, my site is not send emails etc?

Thank you,
Tony
ross Team
ross Jul 17 '14
please check do you have ow_core/auth.php file?
Tony
Tony Jul 17 '14

Quote from ross please check do you have ow_core/auth.php file?

Yes i have that file...
ross Team
ross Jul 17 '14
do you have this file: ow_core/session_authenticator.php
Tony
Tony Jul 17 '14

Quote from ross do you have this file: ow_core/session_authenticator.php

Yes i have that file...
ross Team
ross Jul 17 '14
please attach all these three files here
Tony
Tony Jul 17 '14
thank you for your time:)

Attached 3 files
The Forum post is edited by Tony Jul 17 '14
Attachments:
  3files.zip (5.58Kb)
ross Team
ross Jul 17 '14
what software version do you have now?
Tony
Tony Jul 17 '14
1.7 i did have probs upgrading, but seems to be ok now apart from this..
The Forum post is edited by Tony Jul 17 '14
ross Team
ross Jul 17 '14
please download 1.7 package and replace ow_core/auth.php file on your server and see whether the error persists. 
Tony
Tony Jul 17 '14
Fatal error: Call to a member function isAuthenticated() on a non-object in /home/datesand/public_html/ow_core/auth.php on line 114
ross Team
ross Jul 17 '14
alright revert your changes, please and PM me your admin and FTP access details,please
Tony
Tony Jul 17 '14
details sent
ross Team
ross Jul 17 '14
Tony, your update has not been successfully done, as you can see there are a lot of files of January 9th, for example we did the update of plugin_manager.php file in ow_core, however yours is still of january 9th. 


Which is why you have this problem, some parts of the software try to call methods which do not exist, however they should

You need to disable all third-party plugins, switch to the default theme and do the update again. www.domain.com/ow_updates. ;

Tony
Tony Jul 17 '14
ok, strange, it says 1.7 in admin lol....ok will do and ill let you know....thank you very much
Tony
Tony Jul 17 '14
Site completely messed up now:((
ross Team
ross Jul 17 '14
Please provide more details, what exactly is wrong?
Tony
Tony Jul 19 '14
so many probs, maybe the server? can not upgrade,re install or fresh install ?
ross Team
ross Jul 20 '14
Tony we need details, why can't you do that, do you get some kind of message or errors in your browser? On what steps of installations does that occur?