We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33982 ☆ A M B ☆
    • 476 Posts
    I’m trying to save a Template Variable that I created. It saves fine, but if I add in this to the Input Option Values, the frame displaying the Credit/Edit Template Variables goes to the 404 page not found of the website itself.

    @SELECT id FROM modx_site_content WHERE parent=’31’

    I have no idea where to even begin tracking down this issue. I recently had server settings changed on my server so that 755 is required on directories. If 777 or 775, that directory will not be viewable. Not sure if that info helps or not.

    I’ve created many Template Variables like this on my server, but since the above server setting changed, I’ve been running into similar issues.

    Environment info:
    -- MODx Evo 1.04
    -- Linux hosting (2.6.9-023stab046.2-enterprise #1)
    -- PHP Version 5.2.14
    -- MySQL Server version: 4.1.22-standard
    -- Not using any opcode caching. No pdo_msyql
    -- Browser type: Safari and FF (newest versions) on Mac
      Precision Web Development ... SmashStack.com
      • 33982 ☆ A M B ☆
      • 476 Posts
      Turns out the problem was with the mod_security. I contacted the hosting company and they had recently updated the mod_security. I had them whitelist the manager directory and the T.V. saves fine under the above conditions.
        Precision Web Development ... SmashStack.com