We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14324
    • 32 Posts
    When trying to update templates or anything in system configuration I get this error
    Not Acceptable
    An appropriate representation of the requested resource /manager/index.php could not be found on this server.

    can someone help me
    just found out I can’t change to any templates and it doesn’t update anything I do my site is at http://www.jodee.biz/
    MODx version   0.9.1
    Version codename   rev 646
    phpInfo()   PHP Version 4.3.11
    Access permissions   disabled
    Apache/1.3.33
    Was checking out etomite they say its a bug
    not sure if this help but this is my index file
    <?php
    /*
    *************************************************************************
    MODx Content Management System and PHP Application Framework
    Managed and maintained by Raymond Irving, Ryan Thrash and the
    MODx community
    *************************************************************************
    MODx is an opensource PHP/MySQL content management system and content
    management framework that is flexible, adaptable, supports XHTML/CSS
    layouts, and works with most web browsers, including Safari.

    MODx is distributed under the GNU General Public License
    *************************************************************************

    MODx CMS and Application Framework ("MODx")
    Copyright 2005 and forever thereafter by Raymond Irving & Ryan Thrash.
    All rights reserved.

    This file and all related or dependant files distributed with this filie
    are considered as a whole to make up MODx.

    MODx is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    MODx is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with MODx (located in "/assets/docs/"); if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    For more information on MODx please visit http://modxcms.com/

    **************************************************************************
        Originall based on Etomite by Alex Butter
    **************************************************************************
    */

    /**
    * Initialize Document Parsing
    * -----------------------------
    */

    // get start time
    $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $tstart = $mtime;

    // first, set some settings, and do some stuff
    @ini_set(’session.use_trans_sid’, false);
    @ini_set("url_rewriter.tags","");
    header(’P3P: CP="NOI NID ADMa OUR IND UNI COM NAV"’); // header for weird cookie stuff. Blame IE.
    ob_start();
    error_reporting(E_ALL);

    /**
    * Filename: index.php
    * Function: This file loads and executes the parser.
    *
    */

    define("IN_ETOMITE_PARSER", "true"); // for backward compatibility with etomite .6
    define("IN_PARSER_MODE", "true");

    // Added by Remon
    define("IN_MANAGER_MODE", "false");

    // set these values here for a small speed increase! smiley
    $database_type = "";
    $database_server = "";
    $database_user = "";
    $database_password = "";
    $dbase = "";
    $table_prefix = "";
    $base_url = "";
    $base_path = "";

    // get the required includes
    if($database_user=="") {
    $rt = @include_once "manager/includes/config.inc.php";
    if(!$rt) {
    echo "<h3>Unable to load configuration settings</h3>";
    echo "Please run the MODx <a href=’install’>install utility</a>";
    exit;
    }
    }

    // start session
    startCMSSession();

    // initiate a new document parser
    include_once($base_path."/manager/includes/document.parser.class.inc.php");
    $modx = new DocumentParser;
    $etomite = &$modx; // for backward compatibility


    // set some parser options
    $modx->minParserPasses = 1; // min number of parser recursive loops or passes
    $modx->maxParserPasses = 10; // max number of parser recursive loops or passes
    $modx->dumpSQL = false;
    $modx->dumpSnippets = false;
    $modx->tstart = $tstart; // feed the parser the execution start time

    // Added by Remon
    // Debugging mode:
    $modx->stopOnNotice = false;

    // execute the parser
    $modx->executeParser();


    ?>
      • 14324
      • 32 Posts
      :’( Does anyone have any ideas I would like to change my template and can’t
        • 2762
        • 1,198 Posts
        I’m not a coder sorry, than i can only try to help you with a stupid question:

        Are asset/cache files writable??

        ...otherwise a DB issue huh

          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Or something with the .htaccess file in the /manager folder? It’s a backend issue, shouldn’t have anything to do with the database. The processors can’t find the manager/index.php file. The last time that happened to me I had forgotten to update the manager/index.php file when updating the rest of the site.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 14324
            • 32 Posts
            I updated my files on 1/22/2005 my and asset is writable .htaccess in the manager files just says RewriteEngine Off nothing else but in my root it says
            # MODx supports friendly URLs via this .htaccess file. In order to use it, you must change the
            # file name from ht.access to .htaccess. If you don’t want to use friendly URLs, you can comment
            # the three Rewrite directives out with pound signs (like the beginning of this line).
            #
            # Make sure RewriteBase points to the directory where you installed MODx.
            # E.g., "/" if your installation is in your root web documents directory (it comes this way by
            # default) or "/MODx" if your installation is in a MODx subdirectory, per the comments below. You
            # must serve web pages via Apache with mod_rewrite to be able to use this functionality.
            #
            # The last two blocks of rules at the bottom of this .htaccess file address anamolies with IE
            # for Windows PCs and the way in which it caches images, which causes a distracting flicker in
            # background images when links are hovered on the page.
            #
            # The output compression directives immediately below serve to speed up delivery of web pages,
            # and may also be optionally commented out.

            php_flag zlib.output_compression On
            php_value zlib.output_compression_level 5

            # Rewrite directives here for SEF (Search Engine Friendly) URLs

            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d

            # If your MODx installation is in a subdirectory, change the following line to match the physical
            # path to the "root" of the site as follows:
            # RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]

            RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

            # This following two sections stops screen flicker in IE on rollovers (Bad IE Win, Bad!).
            # Comment these sections out if you do not need them. They can result in having to force reload
            # pages when developing sites and changing images frequently to see your changes.

            #ExpiresActive On
            #ExpiresByType image/gif A2592000
            #ExpiresByType image/jpeg A2592000
            #ExpiresByType image/png A2592000

            #BrowserMatch "MSIE" brokenvary=1
            #BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
            #BrowserMatch "Opera" !brokenvary
            #SetEnvIf brokenvary 1 force-no-vary
            This has only happened within the last month since I upgraded



            Quote from: sottwell at Jan 31, 2006, 07:06 AM

            Or something with the .htaccess file in the /manager folder? It’s a backend issue, shouldn’t have anything to do with the database.  The processors can’t find the manager/index.php file.  The last time that happened to me I had forgotten to update the manager/index.php file when updating the rest of the site.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Rewrite Engine Off is what it’s supposed to say, if you have changed the ht.access to .htaccess. They both have to be changed if the one in your site root is changed.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 14324
                • 32 Posts
                So do I change them both to say off or what
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  No, the one in the root handles the rewrite rules for using friendly URLs. You need to rename the ht.access file to .htaccess file for this. You don’t want this rewriting of urls happening in the manager, so the one in the manager folder gets renamed also from ht.access to .htaccess and turns the rewrite engine off.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 14324
                    • 32 Posts
                    Ok I am now stumped I got rid of all files added another mysql base reuploaded the new download of modx and still can’t use the system configuration as I still get this error
                    Not Acceptable
                    An appropriate representation of the requested resource /manager/index.php could not be found on this server.
                      • 8231
                      • 2 Posts
                      This post has been marked as solved, but despite reading it numerous times i can’t see any reference to how the problem was solved. huh
                      i am suffering from the same problem and would be grateful if someone could enlighten me as to how to resolve this issue.

                      Many thanks