[22:31:28] | * JustTB has quit (Ping timeout: 248 seconds) |
[22:46:02] | * JustTB has joined #farmos |
[23:14:40] | <johanness_charle> | Assistance please I get this error while accessing my FarmOs : |
[23:14:43] | <johanness_charle> | Error |
[23:14:43] | <johanness_charle> | The website encountered an unexpected error. Please try again later. |
[23:14:44] | <johanness_charle> | Error messagePDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in lock_may_be_available() (line 167 of /var/www/html/includes/lock.inc). |
[02:46:16] | * JustTB has quit (Quit: Leaving.) |
[03:43:54] | * JustTB has joined #farmos |
[03:53:47] | <karna[m]> | mstenta: got it! I'd been looking into the Node View Permissions Drupal module used to limit permission for individuals to their own content but not sure how relevant that is |
[03:54:16] | <karna[m]> | I'm only getting to know Drupal now for the first time but gonna play around with things and see what I can come up with |
[03:54:48] | <karna[m]> | I'll keep you posted |
[04:31:53] | * JustTB has quit (Quit: Leaving.) |
[04:35:52] | * JustTB has joined #farmos |
[06:07:26] | <karna[m]> | I've just been working on installing a database for Drupal using MAMP (OSX) to configure Drupal locally. |
[06:07:26] | <karna[m]> | Any idea how I go about getting farmOS into my local environment in the same way such that I have access to the graphical content management tools? Do I need to build the codebase with Drush first? |
[07:56:22] | <mstenta[m]> | @karna:matrix.org: farmOS is a Drupal distribution, which basically means it includes Drupal core and farmOS modules together |
[07:56:34] | <mstenta[m]> | You can download the full package from https://drupal.org/project/farm |
[07:56:53] | <mstenta[m]> | And treat that the same way you would a normal drupal codebase |
[07:57:15] | <mstenta[m]> | You can't really add farmOS to an existing Drupal codebase... At least not easily |
[07:57:51] | <mstenta[m]> | (well you could, if you knew what you needed, but much easier to start with the packaged release) |
[10:13:36] | <mstenta[m]> | ATTENTION! |
[10:13:42] | <mstenta[m]> | Official announcement... :-) |
[10:13:54] | <mstenta[m]> | farmOS now has a community forum: https://farmos.discourse.group |
[10:14:31] | <mstenta[m]> | Hosting and maintenence generously provided by Discourse |
[10:15:00] | <mstenta[m]> | Hopefully this will provide a better place for long-running discussions, support requests, etc |
[10:15:10] | <mstenta[m]> | Github can still be used for feature requests, bug reports, etc |
[11:08:40] | <karna[m]> | Good stuff Mike, I've got it how I need it now :) |
[11:18:38] | * JustTB has quit (Ping timeout: 272 seconds) |
[11:50:17] | <mstenta[m]> | karna: great! |
[12:19:58] | * JustTB has joined #farmos |
[14:18:17] | * JustTB has quit (Ping timeout: 258 seconds) |
[16:14:48] | * JustTB has joined #farmos |
[18:09:57] | <karna[m]> | ACTION uploaded an image: Screenshot 2019-06-19 at 23.09.05.png (93KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/PDqKPEZHfpnDNFQy... > |
[18:10:15] | <karna[m]> | mstenta: As a simple modification, I want to remove 'Animals' from the assets drop-down button. I've deleted a bunch of things using phpmyadmin, which has removed it from the list but it still appears on the drop-down menu. Any idea where I should be looking? |
[18:11:11] | <mstenta[m]> | @karna:matrix.org: you can just disable the livestock module |
[18:12:13] | <mstenta[m]> | > I've deleted a bunch of things using phpmyadmin, which has removed it from the list but... |
[18:12:14] | <mstenta[m]> | Yikes! You shouldn't make direct changes to the database - you may be in a broken state now |
[18:12:30] | <mstenta[m]> | Do you have a backup? |
[18:15:01] | * JustTB has quit (Quit: Leaving.) |
[18:19:17] | * farmBOT has joined #farmos |
[18:19:58] | <mstenta[m]> | > Oh crap was that all I needed to do? |
[18:19:59] | <mstenta[m]> | > Yep I have a back-up, lemme get everything back in order |
[18:20:00] | <mstenta[m]> | Hehe yep that's all! Glad to hear you have a backup! :-) |
[19:18:17] | <karna[m]> | Messed up a bit worse than i realised so took a lil while to rectify but all good now! |
[19:18:17] | <karna[m]> | Now say I wanted to modify the log drop-down/limit it to just harvests and activities, what would be the best way to go about that? |
[19:18:18] | <karna[m]> | I'm then gonna play around with the form for recording harvest data to make it more suitable for my team's use which seems to be quite straightforward by altering the farm_log_harvest.etc files |
[19:24:50] | <mstenta[m]> | Most of the log types are provided by individual modules that can be disabled |
[19:25:13] | <mstenta[m]> | Except for ones that come with other asset types |
[19:25:35] | <mstenta[m]> | For example: equipment module provides the equipment asset type and the maintenance log type |
[19:25:52] | <mstenta[m]> | And crop module provides planting assets as well as seeding and transplanting logs |
[19:26:50] | <mstenta[m]> | Regarding harvest customization: you might want to consider writing a quick form |
[19:26:57] | <mstenta[m]> | Instead of modifying farmOS code |
[19:27:41] | <mstenta[m]> | The risk of modifying farmOS code is that you will have trouble upgrading in the future |
[19:27:44] | <mstenta[m]> | You can avoid that by building/modifying things via custom modules |
[19:28:20] | <mstenta[m]> | Take a look at the egg module for an very simple example quick form |
[19:28:45] | <mstenta[m]> | https://GitHub.com/farmOS/farm_eggs |
[19:30:17] | * farmBOT has joined #farmos |
[19:31:35] | <mstenta[m]> | > That makes sense. I'll take a look tomorrow and see what I can come up with. Thank you so much for your help Mike |
[19:31:36] | <mstenta[m]> | Sure thing! Good luck! |