hmm... I'm getting a fatal error whenever I activate one of the modules...
Such as:
Fatal error: Class 'MoreLikeThisGoogleVideo' not found in /home/cotton/public_html/rss001.com/sites/all/modules/morelikethis/morelikethis.module on line 210
hmm... I'm getting a fatal error whenever I activate one of the modules...
Such as:
Fatal error: Class 'MoreLikeThisGoogleVideo' not found in /home/cotton/public_html/rss001.com/sites/all/modules/morelikethis/morelikethis.module on line 210
Comments
Comment #1
emackn commentedCan you provide any other information about your setup that might help with debugging?
Are you only getting the MLT Google video message or other messages as well?
Comment #2
AndyW commentedI've just completely uninstalled it and reinstalled it again.
Every time I activate one of the modules I receive similar error messages:
Fatal error: Class 'MoreLikeThisYahooBossImages' not found in /home/cotton/public_html/rss001.com/sites/all/modules/morelikethis/morelikethis.module on line 210Fatal error: Class 'MoreLikeThisGoogleVideo' not found in /home/cotton/public_html/rss001.com/sites/all/modules/morelikethis/morelikethis.module on line 210Fatal error: Class 'MoreLikeThisYahooBoss' not found in /home/cotton/public_html/rss001.com/sites/all/modules/morelikethis/morelikethis.module on line 210Fatal error: Class 'MoreLikeThisTaxonomy' not found in /home/cotton/public_html/rss001.com/sites/all/modules/morelikethis/morelikethis.module on line 210Comment #3
febbraro commentedDo you have the autoload module installed? Autoload handles the proper inclusion of the MLT provider class.
Comment #4
AndyW commentedYeah it's installed
Comment #5
malukalu commentedJust installed this as well. Same problem when i view a node and have the more like this blocks enabled
Fatal error: Class 'MoreLikeThisGoogleVideo' not found in C:\xxxxx\sites\all\modules\morelikethis\morelikethis.module on line 210
Comment #6
malukalu commentedSame for flickr
Fatal error: Class 'MoreLikeThisFlickr' not found in C:\xxxxxxx\sites\all\modules\morelikethis\morelikethis.module on line 210
Comment #7
emackn commentedCan you provide a list of installed modules, php version, mysql version, and drupal version. Also is this during a new install out of the box, or onto an existing site. What are the exact steps you are doing to get this error. Do you see anything odd in any of your server log files? The more information you can provide, the faster I can find a fix, read this for other helpful things to add to the issue, http://drupal.org/node/73179
Regards,
Eric Mckenna
Comment #8
malukalu commentedStatus Page
Installed Modules
This is on a fresh install locally. Just dropped in these modules enabled them and setup a feed to consume via feedapi h aving calais tag my feeds as the come in. Everything works fine until i enable the morelike this block (taxonomy for example) and i get the stated error. I actually just created a brand new site from scratch again and its still happening....
Comment #9
emackn commentedThanks,
Can you run this query and post back what you get.
Don't forget your table prefix if you are using them.
Comment #10
emackn commentedOne other thing, If you could install the Devel module and then open up morelikethis.module and
make this change to print out the stack trace.
Then just post back the results.
Comment #11
malukalu commentedHere is the result from the query
I disabled the other morelike this modules which is why its only showing the taxonomy one... working on the devel stuff next
Comment #12
malukalu commentedNever really used the devel module, any specific instructions on how to "open up morelikethis.module and
make this change to print out the stack trace" would be make things quicker :)
Comment #13
malukalu commentedOK here it is ( i think ) oddly enough i dont get that error anymore nor does it load related content like it should ( via taxonomy ). I tried to enable the other modules to try them but after enabling them they are not even showing up in the morelike this settings screen....
Comment #14
emackn commentedHonestly.. Nothing stands out as something that could cause the error. The issue seems pretty simple really, Drupal is looking for something that is physically there, but for some reason, cannot find it. I think this could be related to the issue described when some of the settings pages did not display.
If you are no longer getting the errors, but do not see any content in the block, check the calais tab on the content and make sure there are suggestions. Then edit your node and drop down to the MLT fieldset and pick which terms to use as the criteria for filling the MLT taxonomy block.
Also make sure the threshold for calais terms are not set too high.
Comment #15
emackn commentedOk.. might have found something.. You haven't by chance moved the module from its original install location?
Run this on your DB
and see if the filename location is the same as your physical location.
Comment #16
malukalu commentedOk well looks like things are working now...however having to go into the node to check the box to enable the contributed modules seems a bit cumbersome if I have hundreds of nodes.... Is there a way to default the services that are enabled for a node to be enabled?
Comment #17
malukalu commentedUgh moving from one problem to the next. Dunno if its related but i enabled the other modules ( google video and flickr) and i dont see the settings tab for them on the more like this settings page...taxonomy is there... i swore i saw those before when i was having the auto load problems..
Comment #18
emackn commentedyeah.. we are looking into that now. As a workaround, run the update.php page as admin. The settings are saved in a cache that isn't cleared when you save the modules page.
Comment #19
malukalu commentedsweet! that worked! what about setting the nodes to use the morelike this modules by default rather than enabling it one by one on each node?
Comment #20
malukalu commentedAny update on my other question ?
Comment #21
emackn commentedCan you add this in a new issue and mark it as a feature request?
Thanks :)
Comment #22
malukalu commentedSure thing!