| 02:30 | * | andygraybeal has quit (Ping timeout: 276 seconds) |
| 02:44 | * | andygraybeal has joined |
| 02:50 | * | mmn has quit (Quit: goodbye) |
| 02:51 | * | mmn has joined |
| 08:38 | * | Lil has quit (Ping timeout: 250 seconds) |
| 13:48 | * | Lil has joined |
| 14:07 | * | andygraybeal has quit (Ping timeout: 252 seconds) |
| 14:19 | * | andygraybeal has joined |
| 15:23 | * | mstenta has joined |
| 15:51 | * | mikael_ has joined |
| 15:51 | mikael_ | good morning Mike |
| 16:01 | mstenta | mikael_: good morning |
| 16:01 | mstenta | mikael_: so let's see if we can figure out what's wrong with your site... |
| 16:02 | mstenta | you said you upgraded to beta10, right? and that's when the issue started? |
| 16:09 | mikael_ | that's correct. I was running beta 8 and then followed your upgrade procedure to beta 10 and the upgrading went well but for the denial of access |
| 16:09 | mikael_ | could it be something to do with the logintobbogan module having been removed? |
| 16:10 | mstenta | mikael_: hmm maybe - especially if you upgraded from beta8 to beta10 |
| 16:10 | mstenta | beta9 had some upgrade code to disable modules, and beta10 removed them |
| 16:11 | mstenta | but we can figure it out... |
| 16:11 | mikael_ | last night i downloaded beta nine and tried that but still no access |
| 16:11 | mstenta | do you have access to the database? |
| 16:12 | mikael_ | I do, mysql on my own server |
| 16:12 | mstenta | ok - open up the {menu_router} table |
| 16:12 | mstenta | and look for the /farm path |
| 16:12 | mstenta | tell me what is listed in the page_callback column |
| 16:15 | mstenta | in beta10, the farm_admin module (which provides the dashboard) switched from using panels to using a normal page callback - i'm wondering if that might be the issue |
| 16:15 | mstenta | www.drupal.org/node/2651442 |
| 16:15 | mikael_ | ok give me a few to find this |
| 16:16 | mstenta | also, try running this drush command: |
| 16:16 | mstenta | drush dis panels page_manager |
| 16:18 | mikael_ | ok that command says page manager is already disabled |
| 16:18 | mstenta | ok good - wanted to make sure |
| 16:21 | mikael_ | i use webmin to manage my ubuntu server, i'm not finding this /farm |
| 16:22 | mikael_ | webmin has a mysql database manager that will display the tables if I select the correct ones. |
| 16:23 | mstenta | maybe look for /farm/dashboard instead |
| 16:23 | mstenta | there should be one for /farm - but /farm and /farm/dashboard both go to the same place |
| 16:26 | mstenta | can you run an SQL query directly? if so... what do you see when you run this? |
| 16:26 | mstenta | select page_callback from menu_router where path = 'farm'; |
| 16:26 | * | Lil has quit (Ping timeout: 252 seconds) |
| 16:27 | mstenta | i get "farm_admin_dashboard" (on a working beta10 site) |
| 16:30 | mstenta | if running an SQL query is difficult, we might be able to try other things |
| 16:32 | mikael_ | ok, so i've got a whole list of all the tables and no farm_admin_dashboard, I am using the command line logged into mysql, im not very familiar with this but can learn quick |
| 16:33 | mstenta | ok - so the table you want to look for is called "menu_router" |
| 16:33 | mikael_ | stupid me, i just realised that as you typed it, yes the menu router table is there |
| 16:34 | mstenta | if you can, open up the contents of that table - it will be big - but you should see columns named: path, load_functions, to_arg_functions, etc |
| 16:34 | mstenta | in the "path" column, it shows ALL the paths in Drupal |
| 16:34 | mstenta | so i'm curious to see the row with path = "farm" |
| 16:35 | mstenta | specifically, what is in the "page_callback" column of the "farm" row |
| 16:37 | * | Lil has joined |
| 16:43 | mikael_ | do you know of a way to have mysql display this stuff in an organised way, I've got it to show the data, but its not organised into columns or row |
| 16:44 | mstenta | hmm - usually it is displayed as columns and rows - what are you seeing? |
| 16:46 | mikael_ | ill send you a screen shot |
| 16:46 | mstenta | ok - can you upload it to imgur.com? |
| 16:46 | mstenta | free and easy - file transfers over IRC don't work for me |
| 16:51 | * | andygraybeal has quit (Read error: Connection reset by peer) |
| 16:53 | mikael_ | ok got it, in that column and row it has farm_admin_dashboard |
| 16:53 | mstenta | ok good |
| 16:54 | mstenta | so... you said your site is installed in a subdirectory, right? something like www.mysite.com/farmos/farm, right? |
| 16:54 | mstenta | and when you go to www.mysite.com/farmos/farm, you see access denied, right? but you also see the map, correct? |
| 16:54 | mstenta | do you see a username and password field? |
| 16:55 | mikael_ | on the server the file path is /blackpoplar.ca/public_html/farmos and yes i see the map but no username or password field that is correct |
| 16:56 | mstenta | ok - are you logged in as user #1? |
| 16:57 | mstenta | side-question: do you have more than one user account set up in farmOS? |
| 16:58 | mikael_ | you'll have to forgive my ignorance, logged in where? without the username and password field how do I log in? |
| 16:58 | mikael_ | just one user |
| 16:59 | mstenta | mikael_: do you mind sending me a private IRC message with the URL of your farmOS site so I can see what you see? |
| 17:00 | mikael_ | blackpoplar.ca/farmos |
| 17:00 | mstenta | thanks |
| 17:01 | mstenta | ok i see... i am seeing the same map and "You are not authorized to access this page" |
| 17:01 | mstenta | so that means you are not logged in (but the map shouldn't be showing up - that's a separate issue) |
| 17:02 | mstenta | hmm - it looks like Clean URLs is not working too |
| 17:02 | mstenta | go to blackpoplar.ca/farmos/?q=user |
| 17:02 | mstenta | that is the login page for farmOS |
| 17:04 | mikael_ | oh for crying out loud. i tried /user /admin /login /=user /=login hehe so simple |
| 17:05 | mikael_ | clean urls must have got turned off when I re-installed from scratch back in december |
| 17:05 | mstenta | ok - yea the reason those don't work is because your clean urls isn't working |
| 17:06 | mstenta | i notice something else that's weird - if i get a 404, it is shown in the blackpoplar.ca site - not in the farmOS site - i think something is wrong with your server configuration |
| 17:06 | mstenta | blackpoplar.ca/farmos/user |
| 17:06 | mikael_ | yah i noticed that too |
| 17:07 | mikael_ | i am not an expert at this, learning as I go |
| 17:07 | mstenta | that could explain some of the weirdness - but i'm not sure why it's doing that |
| 17:07 | mstenta | i generally recommend that farmOS is installed in a root directory - not in a subdomain |
| 17:07 | mstenta | sorry, i meant to say "subdirectory" - not "subdomain" |
| 17:07 | mikael_ | it is in the route, side by side with the blackpoplar.ca site |
| 17:08 | mstenta | side-by-side? or inside? |
| 17:08 | mikael_ | both sites are in the public_html folder |
| 17:08 | mstenta | but farmOS is in the /farmos subdirectory |
| 17:09 | mikael_ | one folder for blackpoplar.ca and one for farmos at the same level, each running their own drupal core |
| 17:09 | mstenta | is blackpoplar.ca in a subdirectory too? |
| 17:09 | mstenta | oh |
| 17:09 | mstenta | how did you configure blackpoplar.ca to show at blackpoplar.ca and farmOS to show at blackpoplar.ca/farmos? |
| 17:10 | mstenta | it seems that there might be something wrong with that configuration |
| 17:10 | mikael_ | sorry, your right, it goes /public_html with the files for blackpoplar.ca which includes the farmos directory |
| 17:11 | mstenta | ok that's what i thought |
| 17:11 | mstenta | well - maybe it will work |
| 17:11 | mstenta | now that you are logged in, does it look like farmOS is working properly? |
| 17:11 | mstenta | and did you turn clean urls back on? |
| 17:12 | mikael_ | not yet, got to remember where to find that |
| 17:15 | mstenta | blackpoplar.ca/farmos/admin/config/searc |
| 17:15 | mstenta | (make sure you are in the farmOS site, and not in the blackpoplar.ca site when you go there) |
| 17:18 | mikael_ | access denied. my user credentials for the farmos site must have got wiped too |
| 17:23 | mstenta | well i'm going to head outside - make use of the nice weather! sounds like you can figure it out from here right? |
| 17:23 | mstenta | make sure you run update.php - it sounds like you didn't, right? because you weren't logged in? |
| 17:23 | mstenta | and make sure that all of your features are reverted (unless you've made customizations) |
| 17:23 | mikael_ | it ran update.php no prob |
| 17:25 | mstenta | how did you run update.php? via drush? |
| 17:26 | mikael_ | blackpoplar.ca/farmos/update.php |
| 17:26 | mstenta | hmmmmmmmmm |
| 17:26 | mstenta | wait a minute |
| 17:26 | mstenta | something is wrong |
| 17:26 | mstenta | i can access that page |
| 17:26 | mikael_ | its says clean urls cannot be enabled |
| 17:26 | mstenta | i shouldn't be able to access that page |
| 17:27 | mstenta | do you have $update_free_access set to TRUE in settings.php? |
| 17:27 | mikael_ | i set it to true and then back to false, let me go check it might not have saved in the text editor |
| 17:28 | mstenta | ok - as long as you don't leave it set to TRUE - because then anyone can access it |
| 17:28 | mikael_ | its in false |
| 17:28 | mstenta | i can still access it |
| 17:30 | mstenta | re: "its says clean urls cannot be enabled" - you can learn how to fix that here: www.drupal.org/getting-started/clean-url |
| 17:31 | mikael_ | could this be permissions related on the server itself? |
| 17:34 | mstenta | mikael_: i don't know - there seem to be a number of different things going on here - it's hard to say without knowing the exact configuration of your server |
| 17:34 | mstenta | have you managed to log in yet? |
| 17:35 | mikael_ | yes, I am logged into the farmos admin panel, still working on the clean-urls |
| 17:36 | mstenta | when you have a moment: go to blackpoplar.ca/farmos/admin/structure/fe - and check to see if any features are overridden |
| 17:36 | mstenta | (not for clean urls - just to make sure farmOS is using all defaults) |
| 17:38 | mstenta | so far, all of the problems seem to be general Drupal issues - not farmOS specific - except for one: the map should not show up on the farmOS homepage if you are not logged in |
| 17:39 | mikael_ | going back to the update.php for a second. I logged into the server as a user with sudo privileges and checked the update free access field and it was set to false. I logged out and logged back in as root and checked the same file again and it was set to true. Bizarre |
| 17:40 | mstenta | hmm - do you have it open in another window perhaps? |
| 17:40 | mikael_ | nope |
| 17:40 | mikael_ | i set it to false again, can you still access it? |
| 17:40 | mstenta | nope - i got access denied now - that's good :-) |
| 17:43 | mikael_ | had me worried the server been compromised, phew. okay on the features it has three that need review: farm-area farm-crop and farm-log |
| 17:43 | mstenta | ok - have you made any customizations to your farmOS modules before this? |
| 17:43 | mstenta | (added new fields, changed fields, change config, etc) |
| 17:43 | mstenta | or were you using all default farmOS? |
| 17:44 | mikael_ | no customizations other than entering some data for logs and assets |
| 17:44 | mstenta | ok - so then you can go ahead and revert those three features that need review |
| 17:45 | mstenta | click on each one, and in the right column there will be different sections - and the overridden sections will have checkboxes next to them |
| 17:45 | mstenta | check all the boxes, and then click revert at the bottom (for each of the three features) |
| 17:49 | mikael_ | ok done |
| 17:51 | mstenta | i should add a note about doing that to the upgrade instructions docs.farmos.org/hosting/updating/ |
| 17:51 | mstenta | usually you don't need to revert features, but sometimes you do |
| 17:53 | mstenta | i made a note so i don't forget: github.com/farmOS/documentation/issues/7 |
| 17:54 | mstenta | also - i think the map showing up is actually a bug - i will file a report for that too |
| 17:54 | mstenta | i'm hoping to release beta11 soon - maybe this week |
| 17:55 | mstenta | really cool stuff in beta11! you'll be able to see the calculated size of areas (acreage/hectares) |
| 17:55 | mstenta | and a new "Area Generator" that helps auto-generate lots of little "Beds" within a bigger area |
| 17:56 | mikael_ | cool, I've been following this from the get go. My biggest hurdle is having to learn drupal. i switched from using wordpress to drupal, and from having hosted services to my own just so i could tinker with farmos, it's been a steep learning curve. |
| 17:57 | mikael_ | it might be good to have some function to force a user login at the /farmos url so that regardless of clean urls or not a user can get logged in |
| 17:58 | mstenta | mikael_: yea there is definitely a learning curve to Drupal |
| 17:58 | mstenta | that's why I also started Farmier - to provide hosting for farmOS sites - so you can bypass all that trouble |
| 17:59 | mstenta | and also to help support development |
| 17:59 | mstenta | on Farmier, you just have a login and a [myfarm].farmos.net URL - you log in there and you don't need to think about Drupal or hosting at all. Updates happen automatically too. |
| 17:59 | mikael_ | Hehe, I like this tinkering too much to let someone else do it! I learned lots today!! thanks for the help, and patience |
| 18:00 | mstenta | Sure, that makes sense too. :-) |
| 18:00 | mstenta | Well if you're ever interested in having your site hosted, I'd be happy to help import your content |
| 18:01 | mstenta | it's great to see people setting it up themselves too! that's the whole reason it's open source, after all! |
| 18:02 | mstenta | mikael_: LoginToboggan provided the login form on all access denied pages - so it did provide an easy way to login |
| 18:02 | mstenta | mikael_: I removed LoginToboggan from farmOS, but I still use it on Farmier to make it easier for people - and you can also install it yourself on your farmOS site |
| 18:02 | mstenta | just put it in /sites/all/modules (not in /profiles/farm/modules - so you don't lose it when you upgrade) |
| 18:03 | mikael_ | ahh, so that was the culprit after all, I saw that in the release notes while trying to figure it out. Now that I know ?/= for non clean urls I should be in the clear |
| 18:03 | mstenta | yea that should work |
| 18:03 | mikael_ | ok, thats a good option too then. I will try and fix this clean url problem |
| 18:04 | mstenta | alright, well i'm gonna run - good luck! |
| 18:04 | mstenta | i'm usually in this room, so feel free to ping me in the future |
| 18:04 | mstenta | sometimes it takes me a little while to response - but there are some nifty chat features provided by farmBOT |
| 18:04 | mikael_ | i will, thanks again |
| 18:05 | mstenta | for example: |
| 18:05 | mstenta | farmBOT: tell mikael_ This is how you leave a message. |
| 18:05 | farmBOT | mstenta: I'll pass that on when mikael_ is around. |
| 18:05 | mikael_ | cool |
| 18:05 | farmBOT | mikael_: 20 sec ago <mstenta> tell mikael_ This is how you leave a message. |
| 18:06 | mstenta | Also, the room is logged - you can get a link to the logs at their current point by saying: |
| 18:06 | mstenta | farmBOT: log pointer? |
| 18:06 | farmBOT | farmos.org/bot/log/farmOS/2016-04-10#T85 |
| 18:08 | mstenta | good luck with the clean URLs - if you have trouble you can also try asking the folks in #drupal-support |
| 18:08 | mstenta | talk to you later! |
| 18:08 | mikael_ | thanks Mike, take care |
| 18:09 | * | mikael_ has left ("Leaving") |
| 19:18 | * | andygraybeal has joined |
| 19:34 | * | mstenta has quit (Ping timeout: 268 seconds) |
| 19:49 | * | mstenta has joined |
| 23:26 | * | mstenta1 has joined |
| 23:28 | * | mstenta has quit (Ping timeout: 264 seconds) |