Web

Questions about PHP, JavaScript, APIs, frameworks, and websites.

WebWhy RO CSVI Doesn't Auto-Create Joomla Categories on Import

RO CSVI treats Joomla categories and articles as separate imports. Learn why category_path doesn't create categories automatically, sending articles to Uncategorised, and how to import categories first for proper assignment during bulk CSV imports.

1 answer 1 view
WebPrevent QZ Tray security popups for repeated prints

Stop QZ Tray security popups: initialize certificate and signature once, keep the WebSocket open, and use server-side signing to avoid prompts for QZ Tray.

1 answer 1 view
WebRestrict Symfony Controller Access to Admin Role - Guide

Restrict a Symfony controller method to admins with #[IsGranted('ROLE_ADMIN')]. Covers access_control, expressions, and custom voters for role-based security.

1 answer 1 view
WebFix CORS Preflight OPTIONS Failures in ASP.NET Web API 2 OWIN

Resolve CORS preflight (OPTIONS) failures in ASP.NET Web API 2 on IIS with OWIN OAuth/JWT auth. Fix duplicate pipelines, middleware order, IIS handlers, and OPTIONS blocks for Angular frontend.

1 answer 1 view
WebFix 403 Forbidden for Swagger UI in Spring Boot Security

Fix 403 Forbidden for Swagger UI in Spring Boot by permitting /v3/api-docs/**, /swagger-ui/** and /webjars/** in Spring Security and handling CSRF for docs.

1 answer 1 view
WebFix Webpack Module Parse Failed Image Import Error

Resolve Webpack 'Module parse failed: import/export only with sourceType module' error on image imports. Fix asset loader regex in webpack.config.js, handle dynamic DOM content display, and avoid loader pitfalls for smooth bundling.

1 answer 1 view
WebAlpine.js: Sync Trumbowyg Vertical Scrolling with Code

Sync vertical scrolling between two Trumbowyg editors using Alpine.js or vanilla JS. Keeps toolbars visible and avoids page scrolling. Includes runnable code.

1 answer 1 view
WebSpring WebFlux JWT: Fix Login Failures Returning 200

Fix Spring WebFlux JWT login returning 200: why failure handler is skipped and how to return 401 JSON. Let Spring Security handle login or map errors to 401.

1 answer 1 view
WebFix Django AJAX in External JS Files: Causes & Fixes

Troubleshoot Django AJAX failing in external JavaScript: learn why template tags, static file loading order, and CSRF tokens break requests and how to fix them.

1 answer 1 view
WebNestJS Prisma 7: Fix Module Not Found Error After Upgrade

Resolve NestJS Prisma 7 upgrade error: ERR_MODULE_NOT_FOUND for app.module after successful build. Configure tsconfig.json to CommonJS, handle Prisma client generation, and fix module resolution for runtime compatibility.

1 answer 1 view
WebShopify App Reinstall OAuth Access Token Fix

Handle Shopify app reinstallation from Uninstalled tab without OAuth code. Detect 401 errors, trigger re-OAuth for access token regeneration, and use APP_UNINSTALLED webhook for clean sessions.

1 answer 1 view
WebConnect Web App to Raspberry Pi via MQTT Real-Time Tables

Step-by-step guide to connect a web app on laptop to Raspberry Pi using MQTT over WebSockets with Mosquitto broker for real-time restaurant table availability. Includes Paho client setup and troubleshooting.

1 answer 1 view
WebCSS Full Width Nested Block No Overflow Guide

Learn CSS techniques for full width nested blocks using 100vw, negative margins, and relative positioning. Stretch to viewport width without overflow, flexbox issues, or parent disruption. Includes scrollbar fixes and examples.

1 answer 1 view
WebBitrix sale.order.ajax: Persist API Recalculated Prices

Learn how to ensure external API recalculated prices persist to orders in custom bitrix:sale.order.ajax templates using OnSaleOrderBeforeSaved, OnSaleComponentOrderCreated events, RECREATE_ORDER flag, and server-side handlers for D7 Order/Basket.

1 answer 1 view
WebGmail Check: Verify Email Availability in PHP (SMTP & MX)

Why scraping Google's sign-in fails and how to verify Gmail in PHP: syntax, MX, SMTP RCPT probes and email confirmation. Don't rely on Google sign-in scraping.

1 answer 1 view
WebAdd HTML Head Link Tags (Canonical) in Plotly Dash Guide

Three ways to add <link> tags (including canonical links) into the HTML head of a Plotly Dash app: override app.index_string, use Dash hooks, or subclass Dash.

1 answer 1 view
WebFix 'npm error could not determine executable' Tailwind Django

Resolve 'npm error could not determine executable to run' when running npx tailwindcss init in Django on Windows PowerShell. Step-by-step Tailwind CSS v4 setup with Vite plugin for Django projects.

1 answer 1 view
WebFix mongodb error in Next.js API on Netlify

Resolve 'Failed to load external module mongodb-<hash>' mongodb error in Next.js API routes on Netlify. Disable Turbopack, use standalone output, singleton MongoClient, static imports for serverless MongoDB connections. Covers mongodb 403 error too.

1 answer 1 view
WebNextAuth: Redirect Back to Original URL After Login

Preserve original URLs and redirect users back after login in Next.js with NextAuth. Middleware plus callbackUrl, redirect callback, or cookie fallback.

1 answer 1 view
WebBitrix24 Smart Process Binding: Sort by Addition Order

Customize Bitrix24 smart process binding fields to display values in order of addition instead of ID sorting. Use REST API widgets, business processes, or sort indexes for smart processes bitrix24. Step-by-step solutions and workarounds.

1 answer 1 view