Index Search Engine
Permalink 1 user found helpful
Hello,
I have Concrete5 installed and pretty much running OK. One small issue - when I run the Index Search Engine job it hangs and never completes
"Currently Running (Since 9:08:51 AM) Index updated. 2 pages required reindexing."
The database the the jStatus in the jobs table is RUNNING, but it never completes
Running the job via the URL returns this error:
"Fatal error: Call to a member function getInstance() on a non-object in /home/fords/domains/mydomain.com/public_html/concrete/libraries/database_indexed_search.php on line 137"
Anyone have any idea whats causing this?
Also the sitemap page in the dashboard is blank - but I assume thats because the index never finishes?
Thanks in advance!
I have Concrete5 installed and pretty much running OK. One small issue - when I run the Index Search Engine job it hangs and never completes
"Currently Running (Since 9:08:51 AM) Index updated. 2 pages required reindexing."
The database the the jStatus in the jobs table is RUNNING, but it never completes
Running the job via the URL returns this error:
"Fatal error: Call to a member function getInstance() on a non-object in /home/fords/domains/mydomain.com/public_html/concrete/libraries/database_indexed_search.php on line 137"
Anyone have any idea whats causing this?
Also the sitemap page in the dashboard is blank - but I assume thats because the index never finishes?
Thanks in advance!
The weird thing is I can see my pages under the 'page search' sitemap view, just not under 'full sitemap' or 'flat view'.
Thanks.
Thanks.
How did you fix this I am getting the same error :
Fatal error: Call to a member function getInstance() on a non-object in pathto.../concrete/libraries/database_indexed_search.php on line 137
Best regards,
-Bill
Fatal error: Call to a member function getInstance() on a non-object in pathto.../concrete/libraries/database_indexed_search.php on line 137
Best regards,
-Bill
I think I fixed it :
in /concrete/libraries/database_indexed_search.php I copied the file to /libraries/database_indexed_search.php then ...
Find... lines 137 - 140
replace with...
in /concrete/libraries/database_indexed_search.php I copied the file to /libraries/database_indexed_search.php then ...
Find... lines 137 - 140
$bi = $b->getInstance(); if (!is_object($b)) { continue; }
replace with...
if (!is_object($b)) { continue; } else { $bi = $b->getInstance(); }
Well done!
I have the same error. However, hoping to cure it before hacking into the core files.
Have posted the context of the error in a separate post.
All the best.
Garry
I have the same error. However, hoping to cure it before hacking into the core files.
Have posted the context of the error in a separate post.
All the best.
Garry
Gary,
I posted a bug in the tracker Here :
http://www.concrete5.org/developers/bugs/5-4-1-1/call-to-a-member-f...
for now I am overriding the core file in /libraries not sure how to submit the fix to the core team.
-Bill
I posted a bug in the tracker Here :
http://www.concrete5.org/developers/bugs/5-4-1-1/call-to-a-member-f...
for now I am overriding the core file in /libraries not sure how to submit the fix to the core team.
-Bill
Thanks Bill,
I will do the same.
All the best.
Garry
I will do the same.
All the best.
Garry
However my sitemap page is still blank, how can I recreate this?
Thanks.