NewPath-Consulting / Wild-Apricot-Press

The core Wild Apricot Press (WAP) plugin.
https://newpathconsulting.com/wap
GNU General Public License v3.0
3 stars 1 forks source link

Issue logging in with a WildApricot account on a restricted page. #78

Open convergeaus opened 2 years ago

convergeaus commented 2 years ago

I can login to WordPress using a member's Wild Apricot credentials, but when I browse to a restricted page I get the error below:

Please note that while you are logged into WordPress, you have not synced your account with Wild Apricot. Please Log In into your Wild Apricot account to sync your data in your WordPress site.

convergeaus commented 2 years ago

tried version 1.0b5. Still get the same error message. MicrosoftTeams-image (1)

asirota commented 2 years ago

@nataliebrotherton can you replicate this on dev?

@convergeaus are you using membership level restrictions? Groups? Custom restrict message?

nataliebrotherton commented 2 years ago

@convergeaus did you log in with the WAP login page or the wordpress screen?

convergeaus commented 2 years ago

@convergeaus did you log in with the WAP login page or the wordpress screen?

Logged in on the WAP login screen definitely

nataliebrotherton commented 2 years ago

@convergeaus Could you send me a screenshot of the user meta data for the user logged in?

asirota commented 2 years ago

@convergeaus Calum, we need to see the Users metadata for the email address you logged in with. Here's an example of what we'd like to see. Go to Users and find your user and edit it and thentake a snapshot with the UserID information... This section of the user profile we need to see

image

Also please let us know what plugins and theme you have installed. You can get this information from the site health screen. You can copy to clipboard and paste here

image

convergeaus commented 2 years ago

here you go .... its not syncing a couple of meta data fields :(

del

`

wp-core

version: 6.0.1 site_language: en_US user_language: en_US timezone: +10:00 permalink: /%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: open environment_type: production user_count: 10 dotorg_communication: true

wp-paths-sizes

wordpress_path: /home/nbiaorga/public_html/members wordpress_size: loading... uploads_path: /home/nbiaorga/public_html/members/wp-content/uploads uploads_size: loading... themes_path: /home/nbiaorga/public_html/members/wp-content/themes themes_size: loading... plugins_path: /home/nbiaorga/public_html/members/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading...

wp-dropins (1)

maintenance.php: true

wp-active-theme

name: Flatsome Child (flatsome-child) version: 3.0 author: UX Themes author_website: (undefined) parent_theme: Flatsome (flatsome) theme_features: core-block-patterns, post-thumbnails, woocommerce, title-tag, automatic-feed-links, customize-selective-refresh-widgets, sensei, html5, menus, post-formats, wc-product-gallery-lightbox, widgets theme_path: /home/nbiaorga/public_html/members/wp-content/themes/flatsome-child auto_update: Enabled

wp-parent-theme

name: Flatsome (flatsome) version: 3.15.7 author: UX-Themes author_website: http://www.uxthemes.com/ theme_path: /home/nbiaorga/public_html/members/wp-content/themes/flatsome auto_update: Enabled

wp-themes-inactive (1)

Twenty Twenty-Two: version: 1.2, author: the WordPress team, Auto-updates disabled

wp-plugins-active (10)

Checkout Field Editor for WooCommerce: version: 1.7.1, author: ThemeHigh, Auto-updates enabled Contact Form 7: version: 5.6.1, author: Takayuki Miyoshi (latest version: 5.6.2), Auto-updates enabled Fonts Plugin | Google Fonts Typography: version: 3.0.21, author: Fonts Plugin, Auto-updates enabled Page Restrict: version: 2.5.4, author: Matt Martz & Andy Stratton, Auto-updates disabled Recent Posts Widget Extended: version: 1.1.0, author: Idenovasi, Auto-updates disabled Smash Balloon Custom Facebook Feed: version: 4.1.4, author: Smash Balloon (latest version: 4.1.5), Auto-updates disabled UpdraftPlus - Backup/Restore: version: 1.22.12, author: UpdraftPlus.Com, DavidAnderson (latest version: 1.22.14), Auto-updates disabled WildApricot Press (WAP): version: 1.0b5, author: NewPath Consulting, Auto-updates disabled WooCommerce: version: 6.8.0, author: Automattic, Auto-updates enabled WooCommerce PayPal Payments: version: 1.9.2, author: WooCommerce, Auto-updates enabled

wp-plugins-inactive (7)

Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates enabled Import and export users and customers: version: 1.19.3.1, author: codection, Auto-updates enabled Members: version: 3.2.1, author: MemberPress, Auto-updates disabled Members Import: version: 1.4.2, author: Manish Kumar Agarwal, Auto-updates disabled Ultimate Member: version: 2.4.1, author: Ultimate Member (latest version: 2.4.2), Auto-updates disabled User Role Editor: version: 4.63, author: Vladimir Garagulya, Auto-updates enabled WooCommerce Membership: version: 2.2.4, author: RightPress, Auto-updates enabled

wp-media

image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org imagick_version: 3.5.0 file_uploads: File uploads is turned off post_max_size: 256M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 27 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 12288 imagick::RESOURCETYPE_MAP: 27 GB imagick::RESOURCETYPE_MEMORY: 14 GB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.25

wp-server

server_architecture: Linux 3.10.0-962.3.2.lve1.5.70.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.4.30 64bit php_sapi: litespeed max_input_variables: 5000 time_limit: 180 memory_limit: 1G max_input_time: 180 upload_max_filesize: 128M php_post_max_size: 256M curl_version: 7.84.0 OpenSSL/1.1.1q suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true

wp-database

extension: mysqli server_version: 5.7.38-cll-lve client_version: mysqlnd 7.4.30 max_allowed_packet: 268435456 max_connections: 151

wp-constants

WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/nbiaorga/public_html/members/wp-content WP_PLUGIN_DIR: /home/nbiaorga/public_html/members/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 1G WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined

wp-filesystem

wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable

`

asirota commented 2 years ago

@convergeaus do you see anything under the Synchronization options under the WildApricot Press > Settings screen. You should see fields being shown there that you can sync.

asirota commented 2 years ago

@convergeaus can you turn on the WAP Debugging log in the plugin options? wapdebug.log can be sent here. Also please turn on

WP_DEBUG: true WP_DEBUG_LOG: true

in wp_config.php and then try accessing the plugin features. I want to see if there are any errors in your WordPress log.

nataliebrotherton commented 2 years ago

@asirota I'm thinking this is probably related to the WA authorized application not having access to all the api routes

asirota commented 2 years ago

I confirmed with @convergeaus and he said he had a server application authorized.

asirota commented 2 years ago

He said he can login now but still can't see the sync option fields.

asirota commented 2 years ago

@convergeaus can you confirm you Server application has "full access" set and the SSO options are turned off?

image

asirota commented 2 years ago

@convergeaus have you confirmed your authorized app settings as per the screen shot above?

convergeaus commented 2 years ago

Yeah Alex - they are as on the screenshot :) thanks

On Fri, 26 Aug 2022 at 03:29, Alex Sirota @.***> wrote:

@convergeaus https://github.com/convergeaus have you confirmed your authorized app settings as per the screen shot above?

— Reply to this email directly, view it on GitHub https://github.com/NewPath-Consulting/Wild-Apricot-Press/issues/78#issuecomment-1227566877, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LWLJHBWWPHIGEAKNX245DV26URPANCNFSM55RDUDJA . You are receiving this because you were mentioned.Message ID: @.***>

convergeaus commented 2 years ago

here you go

Edit User test contact-Calum ‹ NBIA Membership Portal — WordPress - 9 August 2022 - Watch Video https://streaklinks.com/BJ9F_oA9fYQ2V5ZOJAVYlwuP/https%3A%2F%2Fwww.loom.com%2Fshare%2F425bd381d9834deebfcd9f8423ba5565 https://streaklinks.com/BJ9F_oACgvJuy0wFawX9FHga/https%3A%2F%2Fwww.loom.com%2Fshare%2F425bd381d9834deebfcd9f8423ba5565%3Futm_medium%3Dgif

thanks cheers Calum

-------------------------------------------------Calum McGonigle

Automate up to 5 hours per week per employeeRemove paperwork and admin work

Process Automation Digitise your business and go paperless Intranet / Website design

Phone: 07 3709 1356 Web: www.convergedesign.com.au

On Tue, 9 Aug 2022 at 00:33, Natalie Brotherton @.***> wrote:

@convergeaus https://github.com/convergeaus Could you send me a screenshot of the user meta data for the user logged in?

— Reply to this email directly, view it on GitHub https://github.com/NewPath-Consulting/Wild-Apricot-Press/issues/78#issuecomment-1208211323, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LWLJBR7SDKZ5ILGZFJSCDVYELENANCNFSM55RDUDJA . You are receiving this because you were mentioned.Message ID: @.***>

convergeaus commented 2 years ago

WAP login screen not the standard wordpress screen

On Fri, 5 Aug 2022 at 23:25, Natalie Brotherton @.***> wrote:

@convergeaus https://github.com/convergeaus did you log in with the WAP login page or the wordpress screen?

— Reply to this email directly, view it on GitHub https://github.com/NewPath-Consulting/Wild-Apricot-Press/issues/78#issuecomment-1206457209, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LWLJB36JRHOAJGUPVFFG3VXUI5RANCNFSM55RDUDJA . You are receiving this because you were mentioned.Message ID: @.***>

asirota commented 1 year ago

@convergeaus please try this version out of the plugin. Note that Group Participation must be set to edit or view only for the Group Participation data to sync into WildApricot. This is in the README file https://github.com/NewPath-Consulting/Wild-Apricot-Press/releases/download/1.0.2b2/newpath-wildapricot-press-1.0.2b2.zip