Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • tgp1994

    (@tgp1994)

    Hi wpeverest,

    Thank you for the solutions you and sanzeeb have posted. I think I was just confused by a few things, but all is clear now.

    Sorry, I wasn’t aware that my question about the View link being broken was already answered. So is there no way to view a user’s profile outside of the admin page then?

    sanzeeb,

    Thank you for registering and testing it out. From your and wpeverest’s posts, I now understand why some profiles don’t work – because they were created before the custom profile fields were added. That makes sense to me. However, if I try to view your profile directly instead of in the admin area (by opening the link /author/vyjygujas), I still get a “Nothing found” error. Should I go through with contacting the support email?

    Hi sanzeeb,

    Those were the same steps I was following. If I look at a user’s profile information from the admin section, the custom fields do not show up (just WooCommerce’s). Also, if I click on the View link for a user, it takes me to a /author/[username] URL resulting in a “Not Found” error.

    In addition, if I try to view the My Account page while logged in (which has the shortcode pasted in to it), all I see if a brief dashboard with no information on it besides a greeting with my first name.

    Thank you for posting the documentation links, hopefully this is just a simple problem that can be fixed.

    Thank you for posting that!

    tgp1994

    (@tgp1994)

    Alx,

    I’m using a (slightly) modified version of @margeo ‘s code and I believe it’s working well on my pages. See if this helps:

    .wrap {
    max-width: 85%;
    }
    
    @media screen and (min-width: 48em) {
    .wrap {
    max-width: 85%;
    }
    }
    
    .page.page-one-column:not(.twentyseventeen-front-page) #primary {
    max-width: 85%;
    }
    
    @media screen and (min-width: 30em) {
    .page-one-column .panel-content .wrap
    {
    max-width: 85%;
    }
    }
    
    .has-sidebar #secondary {
    width: 26% !important;
    }
    
    .site-info { display: none; }
    

    Make sure you put this in the Additional CSS section of the theme customize area.

    tgp1994

    (@tgp1994)

    Wow, that was fast. Thanks!

    tgp1994

    (@tgp1994)

    Update: It looks like I’ve solved it, and it was pretty easy to boot. Here’s what I did:

    First, I configured my Drupal settings.php file to have two database connections, adding in a connection to an empty mysql database alongside the pre-existing connection to the sqlite database. Then, I installed the DBTNG Migrator in Drupal. Then I enabled the Migrator plugin in Drupal and opened its settings. From there, I could see both of my database connections. I made sure the origin and destination fields were set correctly, then all I had to do was click the migrate button. I verified that all of my data had moved by looking at phpmyadmin.

    Next, WordPress. I added the FG Drupal to WordPress plugin and clicked the “Import” link. I added my database settings, tested the connection, and then ran the import. No problem!

    tgp1994

    (@tgp1994)

    Thank you! I’m actually familiar with that plugin, that’s one of the first things I tried (should have mentioned that, sorry). It doesn’t seem to support importing from Drupal if drupal is configured to use a sqlite database. I felt the need to move my drupal installation over to mysql, but that introduces its own set of problems.

    Regarding the syntax errors, here’s an example. One line that stops the import is;

    
    INSERT INTO "variable" VALUES('theme_default','s:9:"newsflash";');

    And the error is;

    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘”variable” VALUES(‘theme_default’,’s:9:”newsflash”;’)’ at line 1

    Thinking it may have been the semicolon within the string, I tried escaping it with \; which didn’t work. Guessing it may have been the nested double quotes, I tried changing them over to single quotes, and that didn’t work either.

    I’m starting to have flashbacks to programming with MySQL…

    • This reply was modified 2 years ago by tgp1994.
Viewing 9 replies - 1 through 9 (of 9 total)