We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32646
    • 87 Posts
    Are you saying that it still is not working? Did you clear the caches and refresh the web page after the last change?

    This is my code that works fine.

    <div  id="search">[!AjaxSearch? &parents=`[[UltimateParent]]` &language=`[*Lang*]` ajaxSearchType=`1`&addJscript=`0`!]</div>


    Try copying the code from the web page after it refreshes. What does that look like?
      Just learning the ropes.
      • 8847
      • 19 Posts
      Now it´s working.
      huh

      But now I have another problem, look at the attachment.
        • 5811
        • 1,717 Posts
        AjaxSearch: database_connection_charset is null. Check your config file

        * means that your $database_connection_charset variable of your /manager/includes/config.inc.php file is an empty value

        Error messages are explained in the wiki documentation : http://wiki.modxcms.com/index.php/AjaxSearch

        If your database is an utf8 database, simply init your $database_connection_charset variable to ’utf8’
          • 8847
          • 19 Posts
          Quote from: coroico at Mar 10, 2008, 01:48 PM

          AjaxSearch: database_connection_charset is null. Check your config file

          * means that your $database_connection_charset variable of your /manager/includes/config.inc.php file is an empty value

          Error messages are explained in the wiki documentation : http://wiki.modxcms.com/index.php/AjaxSearch

          If your database is an utf8 database, simply init your $database_connection_charset variable to ’utf8’

          It´s easy to say...
          How I do that?

          Sorry but I´m a newbie... embarrassed
            • 5811
            • 1,717 Posts
            Open the file /manager/includes/config.inc.php with your favorite editeur.
            line9: changes
            $database_connection_charset = '';

            by:
            $database_connection_charset = 'utf8';
            Save your file. Clean the cache of your browser and run again your url.

            Do you know from where comes the name "newbie" ? Is it an abbreviation ? (I am french)
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Do you know from where comes the name "newbie" ? Is it an abbreviation ? (I am french)
              It’s just a slang expression; it is attributed to a number of sources, any of which may or may not be true. Wikipedia has an article on it with some of the more common attributions.
                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
                • 8847
                • 19 Posts
                Quote from: coroico at Mar 10, 2008, 05:58 PM

                Open the file /manager/includes/config.inc.php with your favorite editeur.
                line9: changes
                $database_connection_charset = '';

                by:
                $database_connection_charset = 'utf8';
                Save your file. Clean the cache of your browser and run again your url.

                Do you know from where comes the name "newbie" ? Is it an abbreviation ? (I am french)

                My english is very poor, I´m portuguese, born at France (Reims, beatiful city).

                But now I´m very said, I made the changes in the config.inc.php file and...
                The message of my site is:
                MODx is not currently installed or the configuration file cannot be found.

                Do you want to install now?

                huh :’( huh

                From the manager the message error is:
                Warning: include_once(config.inc.php) [function.include-once]: failed to open stream: No such file or directory in /www/110mb.com/o/m/e/u/s/i/t/e/omeusite/htdocs/modx/manager/index.php on line 127

                Warning: include_once() [function.include]: Failed opening ’config.inc.php’ for inclusion (include_path=’/www/110mb.com/o/m/e/u/s/i/t/e/omeusite/htdocs/modx/manager/includes/’) in /www/110mb.com/o/m/e/u/s/i/t/e/omeusite/htdocs/modx/manager/index.php on line 127

                Warning: DocumentParser::include_once(MODX_BASE_PATHmanager/includes/extenders/dbapi..class.inc.php) [function.DocumentParser-include-once]: failed to open stream: No such file or directory in /www/110mb.com/o/m/e/u/s/i/t/e/omeusite/htdocs/modx/manager/includes/document.parser.class.inc.php on line 39

                Warning: DocumentParser::include_once() [function.include]: Failed opening ’MODX_BASE_PATHmanager/includes/extenders/dbapi..class.inc.php’ for inclusion (include_path=’/www/110mb.com/o/m/e/u/s/i/t/e/omeusite/htdocs/modx/manager/includes/’) in /www/110mb.com/o/m/e/u/s/i/t/e/omeusite/htdocs/modx/manager/includes/document.parser.class.inc.php on line 39
                Could not load DBAPI class.


                I give up...
                  • 8847
                  • 19 Posts
                  One last question about this issue:

                  what are the CHMOD for the file config.inc.php?
                    • 5811
                    • 1,717 Posts
                    Warning: include_once(config.inc.php) [function.include-once]: failed to open stream: No such file or directory in ... means that MODx don’t find your config.inc.php. And when this file doesn’t exist, an installation of MODx is proposed. Have you moved or renamed this file ?
                      • 7455
                      • 2,204 Posts
                      maybe you made a typo in the file?
                        follow me on twitter: @dimmy01