• Resource Save Duplicates entire Manager HTML within Create Resource#

  • parthian Reply #1, 1 year, 9 months ago

    Reply
    This is a weird one. See attached image.

    Any Save of a Resource causes the Create Resource part of the manager to become a fully functioning Manager within a Manager. This appears to potentially go on to infinity.

    MODx v1.03 tested by two users (both admins) on IE8, and latest Chrome, Firefox. No known changes since everything last worked.

    Crikey.

    Parthian


  • parthian Reply #2, 1 year, 9 months ago

    Reply
    Found the problem.

    For some reason I'd not renamed the manager/ht.access to .htaccess. This, when combined with a change I'd made to the root .htaccess for rewriting index.php to root must have caused the rewrite to propogate down to the manager causing the Save to return the entire manager.

    Where a functioning htaccess would use "RewriteEngine Off" to handle such cases?

    Oddly, the root htaccess has this
    # Exclude /assets and /manager directories and images from rewrite rules
    RewriteRule ^(manager|assets)/*$ - [L]

    But maybe it doesn't work for some reason.