Page 1 of 1

property of non-object error in ParseUtility.php

Posted: 18 Jul 2009, 21:22
by linuxgos
Hi,

Inside CATS ( Version 0.9.1 (Beas). Powered by CATS ), server type: cpanel/redhat server , when I go to

candidates - > add candidates , i see the following error on the top of the window, followed by the form to add the candidate, just below it.


Here is the error:-
######################
Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 152

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 164

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 165

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 166

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 167

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 168

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 169

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 152

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 164

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 165



#### content of ###
line no. 152 : switch($res->message)

line no. 164 : 'version' => $res->version,

line no. 165 : 'name' => $res->name,


Here : /home/path/ats/lib/ParseUtility.php is the file path.


When i go to "companies" --> add companies , I do not see the same error.




Please advise , how can we fix this.




Thank you

Re: property of non-object error in ParseUtility.php

Posted: 20 Jul 2009, 20:59
by RussH
linuxgos wrote:Hi,

Inside CATS ( Version 0.9.1 (Beas). Powered by CATS ), server type: cpanel/redhat server , when I go to

candidates - > add candidates , i see the following error on the top of the window, followed by the form to add the candidate, just below it.


Here is the error:-
######################
Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 152

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 164

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 165

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 166

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 167

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 168

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 169

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 152

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 164

Notice: Trying to get property of non-object in /home/path/ats/lib/ParseUtility.php on line 165



#### content of ###
line no. 152 : switch($res->message)

line no. 164 : 'version' => $res->version,

line no. 165 : 'name' => $res->name,


Here : /home/path/ats/lib/ParseUtility.php is the file path.


When i go to "companies" --> add companies , I do not see the same error.




Please advise , how can we fix this.




Thank you
Hi,

sorry for the delays - I rely on notification of new posts - and it appears as though it's not worked recently! Anyway - those errors are PHP errors associated with one of the values not being set. Therefore this is most likely tied in with the recent changes within resfly to block the open source version from the parsing service. Is this the 0.9.1a version downloaded from the website - or an older one?

Pleas let me know if this is the version you downloaded;
http://www.opencats.org/documentation/O ... _downloads

Re: property of non-object error in ParseUtility.php

Posted: 21 Jul 2009, 02:51
by linuxgos
Hi,

Please note that, the CATS installation was done more than 6 months at least back and was working fine and not a recent installation.


Please check the attached image for the version.

I will check about the file with the user, i am helping with.




Thank you

Re: property of non-object error in ParseUtility.php

Posted: 28 Jul 2009, 14:18
by RussH
Yes - - a quick workaround would be to ensure that catsone.com and resfly.com are set to lookup 127.0.0.1 in your local hosts file?

Otherwise, can you PM me a screenshot of the error message you get?

Re: property of non-object error in ParseUtility.php

Posted: 15 Aug 2009, 06:21
by slugs
RussH,

im getting the same error as the first post. CATS Version 0.9.1 (Beas). Powered by CATS.

im using wamp sever2


any ideas??