Changing the login URL breaks functionality on the front end
-
When enabling the setting to change the login url, certain JS files have a 404 not found on the front end which then causes things like adding a product to cart and caching to not work.
It seems to happen when logged out.
We have ASE Version 7.0.2.1 installed.
- This topic was modified 5 months, 3 weeks ago by dcnz.
-
Thanks for reporting this @dcnz. Will investigate.
@dcnz can you share what theme you are using, and what JS files are returning 404 not found and on which pages? e.g. shop / cart / checkout.
Hey Bowo, I had the same problem on this, but only on some products, I′m using booster plus where in products clients can fill extra options, when click on add to cart nothing happend, in normal product without booster it worked.
For now I had to disable ASE on live site.
report:
` WordPress Environment WordPress address (URL): https://dilnastore.cz Site address (URL): https://dilnastore.cz WC Version: 8.9.2 REST API Version: ? 8.9.2 Action Scheduler Version: ? 3.8.0 Log Directory Writable: ? WP Version: 6.5.4 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: cs_CZ External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 8.1.28 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.11-MariaDB-cll-lve Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.9.2 WC Database Prefix: htka_ Celková velikost databáze: 282.50MB Velikost dat databáze: 207.05MB Velikost indexu databáze: 75.45MB htka_woocommerce_sessions: Data: 6.02MB + Index: 0.08MB + Engine InnoDB htka_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB htka_woocommerce_order_items: Data: 0.39MB + Index: 0.13MB + Engine InnoDB htka_woocommerce_order_itemmeta: Data: 4.52MB + Index: 3.03MB + Engine InnoDB htka_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB htka_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB htka_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_actionscheduler_actions: Data: 1.02MB + Index: 0.61MB + Engine InnoDB htka_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_actionscheduler_groups: Data: 0.13MB + Index: 0.14MB + Engine InnoDB htka_actionscheduler_logs: Data: 2.38MB + Index: 1.41MB + Engine InnoDB htka_alp_pickup_location: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_cartflows_visits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_cartflows_visits_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_cmplz_cookiebanners: Data: 0.03MB + Index: 0.00MB + Engine InnoDB htka_cmplz_cookies: Data: 0.09MB + Index: 0.00MB + Engine InnoDB htka_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_comments: Data: 1.52MB + Index: 1.19MB + Engine InnoDB htka_dpd_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_e_submissions: Data: 0.06MB + Index: 0.27MB + Engine InnoDB htka_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB htka_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_fbv_attachment_folder: Data: 0.11MB + Index: 0.00MB + Engine InnoDB htka_gdpr_cc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_gpwebpay_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_icl_background_task: Data: 0.14MB + Index: 0.00MB + Engine InnoDB htka_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_litespeed_crawler: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_litespeed_img_optming: Data: 0.13MB + Index: 0.27MB + Engine InnoDB htka_litespeed_url: Data: 0.20MB + Index: 0.30MB + Engine InnoDB htka_litespeed_url_file: Data: 1.20MB + Index: 2.52MB + Engine InnoDB htka_options: Data: 30.39MB + Index: 0.52MB + Engine InnoDB htka_packetery_carrier: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_packetery_customs_declaration: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_packetery_customs_declaration_item: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_packetery_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB htka_packetery_order: Data: 0.05MB + Index: 0.00MB + Engine InnoDB htka_postmeta: Data: 117.67MB + Index: 41.00MB + Engine InnoDB htka_posts: Data: 16.50MB + Index: 5.89MB + Engine InnoDB htka_prices_log: Data: 0.14MB + Index: 0.00MB + Engine InnoDB htka_rank_math_internal_links: Data: 0.28MB + Index: 0.11MB + Engine InnoDB htka_rank_math_internal_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB htka_rank_math_redirections: Data: 0.08MB + Index: 0.02MB + Engine InnoDB htka_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_termmeta: Data: 1.11MB + Index: 0.28MB + Engine InnoDB htka_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB htka_term_relationships: Data: 1.17MB + Index: 0.50MB + Engine InnoDB htka_term_taxonomy: Data: 0.09MB + Index: 0.09MB + Engine InnoDB htka_toret_ppl_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_tppl_package_numbers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_usermeta: Data: 1.31MB + Index: 0.61MB + Engine InnoDB htka_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB htka_viwec_clicked: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB htka_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB htka_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_wc_customer_lookup: Data: 0.13MB + Index: 0.09MB + Engine InnoDB htka_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_wc_orders: Data: 1.52MB + Index: 0.70MB + Engine InnoDB htka_wc_orders_meta: Data: 5.52MB + Index: 12.11MB + Engine InnoDB htka_wc_order_addresses: Data: 0.44MB + Index: 0.53MB + Engine InnoDB htka_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_wc_order_operational_data: Data: 0.33MB + Index: 0.16MB + Engine InnoDB htka_wc_order_product_lookup: Data: 0.30MB + Index: 0.34MB + Engine InnoDB htka_wc_order_stats: Data: 0.25MB + Index: 0.23MB + Engine InnoDB htka_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB htka_wc_product_attributes_lookup: Data: 0.23MB + Index: 0.22MB + Engine InnoDB htka_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_wc_product_meta_lookup: Data: 0.42MB + Index: 0.80MB + Engine InnoDB htka_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_wfstatus: Data: 0.14MB + Index: 0.09MB + Engine InnoDB htka_woocommerce_exported_csv_items: Data: 9.52MB + Index: 0.11MB + Engine InnoDB htka_woodmart_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB htka_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB htka_wpify_woo_log: Data: 0.06MB + Index: 0.00MB + Engine InnoDB htka_zasilkovna_dopravci: Data: 0.05MB + Index: 0.00MB + Engine InnoDB shopsync_last: Data: 0.00MB + Index: 0.00MB + Engine MyISAM Post Type Counts attachment: 12980 cartflows_flow: 1 cartflows_step: 3 cms_block: 48 cookielawinfo: 6 elementor_library: 18 language_switcher: 4 nav_menu_item: 68 oembed_cache: 7 page: 41 polylang_mo: 3 popup: 3 popup_theme: 8 portfolio: 7 post: 226 postman_sent_mail: 250 product: 639 product_variation: 3218 product-feed: 2 revision: 155 rm_content_editor: 1 shop_coupon: 4001 shop_order: 1577 shop_order_placehold: 301 shop_order_refund: 20 tm_global_cp: 3 uip-admin-menu: 1 uip-ui-template: 1 viwec_template: 9 viwec_template_block: 2 wapl: 2 woo_mb_template: 13 woodmart_layout: 1 woodmart_size_guide: 333 woodmart_slide: 51 woodmart_woo_fbt: 1 wp_global_styles: 1 wp_template: 2 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (23) Polylang Pro: Autor: WP SYNTEX – 3.6.1 Advanced Local Pickup for WooCommerce: Autor: zorem – 1.6.4 Booster Plus for WooCommerce: Autor: Pluggabl LLC – 7.1.9 Complianz | GDPR/CCPA Cookie Souhlas: Autor: Really Simple Plugins – 7.1.0 Elementor Pro: Autor: Elementor.com – 3.21.3 Elementor: Autor: Elementor.com – 3.21.8 FileBird Pro: Autor: Ninja Team – 6.2.3 Zásilkovna: Autor: Zásilkovna s.r.o. – 1.7.5 Performance Lab: Autor: WordPress Performance Team – 3.1.0 Polylang pro WooCommerce: Autor: WP SYNTEX – 1.9.4 Product Catalog Feed Pro by PixelYourSite: Autor: PixelYourSite – 5.4.0 Rank Math SEO with AI Best SEO Tools: Autor: Rank Math – 1.0.220 Shopsync faktura: Autor: – Toret DPD: Autor: Toret.cz – 6.4.1 Toret Glami Pixel: Autor: toret.cz – 1.5 Modern Image Formats: Autor: WordPress Performance Team – 1.1.1 Toret GP webpay: Autor: toret.cz – 1.7.2 WooCommerce Email Template Customizer Premium: Autor: VillaTheme – 1.2.4 Pixel Manager for WooCommerce: Autor: SweetCode – 1.43.2 CURCY - WooCommerce Multi Currency Premium: Autor: VillaTheme – 2.3.2 WooCommerce: Autor: Automattic – 8.9.2 Woodmart Core: Autor: – 1.0.43 WPify Woo: Autor: WPify s.r.o. – 4.1.1 Inactive Plugins (4) Admin and Site Enhancements (ASE): Autor: wpase.com – 7.0.2.1 LiteSpeed Cache: Autor: LiteSpeed Technologies – 6.2.0.1 Toret PPL: Autor: Toret.cz – 2.13.1 WooCommerce Customer/Order/Coupon Export: Autor: SkyVerge – 5.5.1 Settings API Enabled: – Force SSL: – Currency: CZK (K?) Currency Position: right_space Thousand Separator: Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: – HPOS feature enabled: ? Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 dn? Level threshold: – Log directory size: 53 KB WC Pages Obchod: #7 - /obchod/ Ko?ík: #8 - /kosik/ Pokladna: #9 - /pokladna/ M?j ú?et: #10 - /ucet/ Obchodní podmínky: #3003 - /obchodni-podminky/ Theme Name: Woodmart Child Version: 1.0.0 Author URL: https://xtemos.com Child Theme: ? Parent Theme Name: Woodmart Parent Theme Version: 7.5.1 Parent Theme Author URL: https://themeforest.net/user/xtemos WooCommerce Support: ? Templates Overrides: woodmart/woocommerce/archive-product.php woodmart/woocommerce/cart/cart-item-data.php woodmart/woocommerce/cart/cart.php woodmart/woocommerce/cart/cross-sells.php woodmart/woocommerce/cart/mini-cart.php woodmart/woocommerce/checkout/form-checkout.php woodmart/woocommerce/checkout/thankyou.php woodmart/woocommerce/content-product-cat.php woodmart/woocommerce/content-product.php woodmart/woocommerce/content-single-product.php woodmart/woocommerce/content-widget-product.php woodmart/woocommerce/global/breadcrumb.php woodmart/woocommerce/global/form-login.php woodmart/woocommerce/global/quantity-input.php woodmart/woocommerce/loop/add-to-cart.php woodmart/woocommerce/loop/loop-end.php woodmart/woocommerce/loop/loop-start.php woodmart/woocommerce/loop/no-products-found.php woodmart/woocommerce/loop/orderby.php woodmart/woocommerce/loop/pagination.php woodmart/woocommerce/loop/sale-flash.php woodmart/woocommerce/myaccount/form-login.php woodmart/woocommerce/product-searchform.php woodmart/woocommerce/single-product/add-to-cart/grouped.php woodmart/woocommerce/single-product/add-to-cart/variable.php woodmart/woocommerce/single-product/meta.php woodmart/woocommerce/single-product/product-attributes.php woodmart/woocommerce/single-product/product-image.php woodmart/woocommerce/single-product/product-thumbnails.php woodmart/woocommerce/single-product/rating.php woodmart/woocommerce/single-product/related.php woodmart/woocommerce/single-product/sale-flash.php woodmart/woocommerce/single-product/tabs/description.php woodmart/woocommerce/single-product/tabs/tabs.php woodmart/woocommerce/single-product/title.php woodmart/woocommerce/single-product/up-sells.php woodmart/woocommerce/single-product-reviews.php woodmart/woocommerce/single-product.php WC Pages Translations Základna obchodu: ? Chybí p?eklad: English Ko?ík: ? The shortcode or block is missing for the translation in English P?ekontrolovat: ? M?j ú?et: ? Chybí p?eklad: English Terms and conditions: ? Chybí p?eklad: English Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal product-custom-fields remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-06-06 13:06:37 +02:00 Options: ? Notes: 62 Onboarding: completed Action Scheduler Canceled: 1 Oldest: 2024-06-06 07:25:18 +0200 Newest: 2024-06-06 07:25:18 +0200 Complete: 1?454 Oldest: 2024-05-06 11:02:10 +0200 Newest: 2024-06-06 08:10:07 +0200 Failed: 35 Oldest: 2024-01-24 09:25:27 +0100 Newest: 2024-06-05 09:54:27 +0200 Pending: 16 Oldest: 2024-06-06 09:54:27 +0200 Newest: 2024-06-29 02:01:02 +0200 Status report information Generated at: 2024-06-06 08:14:37 +02:00 `
@vanektomas thanks for the detailed report. If you just disable the Change Login URL module, does everything work fine?
Hey Bowo
I tried it now and yes when disable change login url, evyrithin working fine
- This reply was modified 5 months, 3 weeks ago by vanektomas.
@qriouslad it was on a client site using Astra, Astra Pro & Elementor. It was happening on a product page that has product addons using the WooCommerce Product Addons Ultimate plugin (https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/).
When clicking the add to cart button it would try to load an Astra JS file but would get a 404 and not work.
Also have WP Rocket installed and it would fail to load a JS file from that on the product page.
I’m not in my office so can’t look up the exact details right now but can tomorrow.
I had to roll back to version 6.9 due to a recurring issue.
The problem occurs when I add products to the cart via AJAX on my WooCommerce sites. I use Elementor, WPC Ajax Add to Cart, and WPC Fly Cart.
The same issue also happens when I try to remove a product from the cart. That break AJAX interactions
Update : I disabled the Change Login URL feature, and everything works fine.
@dcnz @vanektomas @okparfait thank you for sharing more details. I’ve just released v7.0.2.2 with an attempt at a fix for the AJAX-related issues mentioned above. Please test and share here if issues are fixed, or not. Thanks again for reporting the issue with some very helpful details and for your patience.
I have deployed version 7.0.2.2 on an e-commerce site for testing. The problem is fixed (for me). Thank you.
- This reply was modified 5 months, 3 weeks ago by okparfait.
I don’t use WooCommerce. The plugin is working. But it does not redirect to 404 pages. It redirects to the home page.
@okparfait great to hear that. Thanks for confirming.
@megacelik what URL(s) is redirecting to the homepage? Are you using the free version of ASE?
yes free version. I updated to 7.0.2.2. Previously, the example was redirecting to the 404 page www.****.com/wp-admin. Not a problem for me. But it worked this way in previous versions as well.
@megacelik are you saying www.***.com/wp-admin is not redirecting to the /not_found/ (404) page? Do you have any other plugin that handles redirection or the login process? I’m not able to replicate this on my test sites.
yes www.***.com/wp-admin’s /not_found/
I don’t use any other plugins. It can stay this way. It was only used in the previous version. ThanksUpdated to 7.0.2.2. I cannot log out, and another user cannot log in. One site is using cloudflare other site is not using cloudflare. There are a lot of plugin installed, of course, one site is with pennews, other is with another template. No coomerce plugins on both of them.
- You must be logged in to reply to this topic.