We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24951
    • 21 Posts
    Shamblett thanks a lot for the help so far. Here is the most of the sitecache.idx.php file:
    <?php
    $c=&$this->config;
    $c['manager_theme'] = "MODxLight";
    $c['settings_version'] = "0.9.6.1p2";
    $c['server_offset_time'] = "10800";
    $c['server_protocol'] = "http";
    $c['manager_language'] = "russian-UTF8";
    $c['modx_charset'] = "UTF-8";
    $c['site_name'] = "Site_Name";
    $c['site_start'] = "1";
    $c['error_page'] = "1";
    $c['unauthorized_page'] = "1";
    $c['site_status'] = "1";
    $c['site_unavailable_message'] = "Message";
    $c['track_visitors'] = "0";
    $c['resolve_hostnames'] = "0";
    $c['top_howmany'] = "10";
    $c['default_template'] = "4";
    $c['old_template'] = "4";
    $c['publish_default'] = "1";
    $c['cache_default'] = "0";
    $c['search_default'] = "1";
    $c['friendly_urls'] = "1";
    $c['friendly_url_prefix'] = "";
    $c['friendly_url_suffix'] = "";
    $c['friendly_alias_urls'] = "1";
    $c['use_alias_path'] = "1";
    $c['use_udperms'] = "0";
    $c['udperms_allowroot'] = "0";
    $c['failed_login_attempts'] = "5";
    $c['blocked_minutes'] = "60";
    $c['use_captcha'] = "0";
    $c['captcha_words'] = "MODx,Access,Better,BitCode,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Tattoo,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote";
    $c['emailsender'] = "[email protected]";
    $c['emailsubject'] = "Your login details";
    $c['signupemail_message'] = "Hello [+uid+] \r\n\r\nHere are your login details for [+sname+] Content Manager:\r\n\r\nUsername: [+uid+]\r\nPassword: [+pwd+]\r\n\r\nOnce you log into the Content Manager at [+surl+], you can change your password.\r\n\r\nRegards,\r\nSite Administrator";
    $c['websignupemail_message'] = "Hello [+uid+] \r\n\r\nHere are your login details for [+sname+]:\r\n\r\nUsername: [+uid+]\r\nPassword: [+pwd+]\r\n\r\nOnce you log into [+sname+] at [+surl+], you can change your password.\r\n\r\nRegards,\r\nSite Administrator";
    $c['webpwdreminder_message'] = "Hello [+uid+]\r\n\r\nTo active you new password click the following link:\r\n\r\n[+surl+]\r\n\r\nIf successful you can use the following password to login:\r\n\r\nPassword:[+pwd+]\r\n\r\nIf you did not request this email then please ignore it.\r\n\r\nRegards,\r\nSite Administrator";
    $c['number_of_logs'] = "100";
    $c['number_of_messages'] = "30";
    $c['number_of_results'] = "20";
    $c['use_editor'] = "1";
    $c['use_browser'] = "1";
    $c['rb_base_dir'] = "/home/u99790/domain_name/www/assets/";
    $c['rb_base_url'] = "assets/";
    $c['which_editor'] = "TinyMCE";
    $c['fe_editor_lang'] = "russian-UTF8";
    $c['fck_editor_toolbar'] = "standard";
    $c['fck_editor_autolang'] = "0";
    $c['editor_css_path'] = "";
    $c['editor_css_selectors'] = "";
    $c['strip_image_paths'] = "1";
    $c['upload_images'] = "jpg,jpeg,png,gif,psd,ico,bmp";
    $c['upload_media'] = "mp3,wav,au,wmv,avi,mpg,mpeg";
    $c['upload_flash'] = "swf,fla";
    $c['upload_files'] = "txt,php,html,htm,xml,js,css,cache,zip,gz,rar,z,tgz,tar,htaccess,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,xls,txt";
    $c['upload_maxsize'] = "10485760";
    $c['new_file_permissions'] = "0644";
    $c['new_folder_permissions'] = "0755";
    $c['show_preview'] = "0";
    $c['filemanager_path'] = "/home/user/domain_name/www/";
    $c['theme_refresher'] = "";
    $c['manager_layout'] = "4";
    $c['custom_contenttype'] = "text/css,text/html,text/javascript,text/plain,text/xml";
    $c['auto_menuindex'] = "1";
    $c['session.cookie.lifetime'] = "604800";
    $c['mail_check_timeperiod'] = "60";
    $c['manager_lang_attribute'] = "ru";
    $c['manager_direction'] = "ltr";
    $c['tinymce_editor_theme'] = "editor";
    $c['tinymce_custom_plugins'] = "style,advimage,advlink,searchreplace,print,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media";
    $c['tinymce_custom_buttons1'] = "undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,link,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help";
    $c['tinymce_custom_buttons2'] = "bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops";
    $c['tree_show_protected'] = "1";
    $c['site_id'] = "481a596e499cc";
    $c['xhtml_urls'] = "0";
    $c['site_unavailable_page'] = "";
    $c['allow_duplicate_alias'] = "1";
    $c['automatic_alias'] = "1";
    $c['tinymce_custom_buttons3'] = "";
    $c['tinymce_custom_buttons4'] = "";
    $c['tinymce_css_selectors'] = "Оранжевый=orange";
    $c['reset_template'] = "1";
    $this->aliasListing = array();
    $a = &$this->aliasListing;
    $d = &$this->documentListing;
    $m = &$this->documentMap;
    $d['home'] = 1;
    $a[1] = array('id' => 1, 'alias' => 'home', 'path' => '');
    $m[] = array('0' => '1');
    $d['projects'] = 3;
    $a[3] = array('id' => 3, 'alias' => 'projects', 'path' => '');
    $m[] = array('0' => '3');
    $d['about'] = 4;
    $a[4] = array('id' => 4, 'alias' => 'about', 'path' => '');
    $m[] = array('0' => '4');
    $d['press'] = 6;
    $a[6] = array('id' => 6, 'alias' => 'press', 'path' => '');
    $m[] = array('0' => '6');
    $d['forum'] = 7;
    $a[7] = array('id' => 7, 'alias' => 'forum', 'path' => '');
    $m[] = array('0' => '7');
    $d['contact'] = 8;
    $a[8] = array('id' => 8, 'alias' => 'contact', 'path' => '');
    $m[] = array('0' => '8');
    $d['projects/Russian-Seasons'] = 46;
    $a[46] = array('id' => 46, 'alias' => 'Russian-Seasons', 'path' => 'projects');
    $m[] = array('3' => '46');
    $d['projects/vanessa-mae'] = 43;
    $a[43] = array('id' => 43, 'alias' => 'vanessa-mae', 'path' => 'projects');
    $m[] = array('3' => '43');
    $d['projects/duplicate-of'] = 20;
    $a[20] = array('id' => 20, 'alias' => 'duplicate-of', 'path' => 'projects');
    $m[] = array('3' => '20');
    $d['projects/deep-purple1'] = 47;
    $a[47] = array('id' => 47, 'alias' => 'deep-purple1', 'path' => 'projects');
    $m[] = array('3' => '47');
    $d['projects/lord-of-the-dance'] = 27;
    $a[27] = array('id' => 27, 'alias' => 'lord-of-the-dance', 'path' => 'projects');
    $m[] = array('3' => '27');
    $d['projects/Simply-Red'] = 25;
    $a[25] = array('id' => 25, 'alias' => 'Simply-Red', 'path' => 'projects');
    $m[] = array('3' => '25');
    $d['projects/valeriya'] = 48;
    $a[48] = array('id' => 48, 'alias' => 'valeriya', 'path' => 'projects');
    $m[] = array('3' => '48');
    $d['projects/1'] = 49;
    $a[49] = array('id' => 49, 'alias' => '1', 'path' => 'projects');
    $m[] = array('3' => '49');
    $d['about/macca'] = 34;
    $a[34] = array('id' => 34, 'alias' => 'macca', 'path' => 'about');
    $m[] = array('4' => '34');
    $d['about/depeche-mode'] = 35;
    $a[35] = array('id' => 35, 'alias' => 'depeche-mode', 'path' => 'about');
    $m[] = array('4' => '35');
    $d['about/david-bowie'] = 36;
    $a[36] = array('id' => 36, 'alias' => 'david-bowie', 'path' => 'about');
    $m[] = array('4' => '36');
    $d['about/elton-john'] = 33;
    $a[33] = array('id' => 33, 'alias' => 'elton-john', 'path' => 'about');
    $m[] = array('4' => '33');
    $d['about/Dilan'] = 16;
    $a[16] = array('id' => 16, 'alias' => 'Dilan', 'path' => 'about');
    $m[] = array('4' => '16');
    $d['about/psb'] = 39;
    $a[39] = array('id' => 39, 'alias' => 'psb', 'path' => 'about');
    $m[] = array('4' => '39');
    $d['about/1'] = 41;
    $a[41] = array('id' => 41, 'alias' => '1', 'path' => 'about');
    $m[] = array('4' => '41');
    $d['about/tina-turner'] = 37;
    $a[37] = array('id' => 37, 'alias' => 'tina-turner', 'path' => 'about');
    $m[] = array('4' => '37');
    $d['about/bryan-ferry'] = 38;
    $a[38] = array('id' => 38, 'alias' => 'bryan-ferry', 'path' => 'about');
    $m[] = array('4' => '38');
    $d['about/diana-ross'] = 40;
    $a[40] = array('id' => 40, 'alias' => 'diana-ross', 'path' => 'about');
    $m[] = array('4' => '40');
    $d['about/whitney-houston'] = 42;
    $a[42] = array('id' => 42, 'alias' => 'whitney-houston', 'path' => 'about');
    $m[] = array('4' => '42');
    $d['about/aerosmith'] = 32;
    $a[32] = array('id' => 32, 'alias' => 'aerosmith', 'path' => 'about');
    $m[] = array('4' => '32');
    $d['about/mark-knopfler'] = 14;
    $a[14] = array('id' => 14, 'alias' => 'mark-knopfler', 'path' => 'about');
    $m[] = array('4' => '14');
    $d['about/ozzy'] = 31;
    $a[31] = array('id' => 31, 'alias' => 'ozzy', 'path' => 'about');
    $m[] = array('4' => '31');
    $d['about/Philips'] = 30;
    $a[30] = array('id' => 30, 'alias' => 'Philips', 'path' => 'about');
    $m[] = array('4' => '30');
    $d['about/SE'] = 28;
    $a[28] = array('id' => 28, 'alias' => 'SE', 'path' => 'about');
    $m[] = array('4' => '28');
    $d['about/kiss'] = 11;
    $a[11] = array('id' => 11, 'alias' => 'kiss', 'path' => 'about');
    $m[] = array('4' => '11');
    $d['about/ucl'] = 29;
    $a[29] = array('id' => 29, 'alias' => 'ucl', 'path' => 'about');
    $m[] = array('4' => '29');
    $d['about/metallica'] = 19;
    $a[19] = array('id' => 19, 'alias' => 'metallica', 'path' => 'about');
    $m[] = array('4' => '19');
    $d['about/cocker'] = 10;
    $a[10] = array('id' => 10, 'alias' => 'cocker', 'path' => 'about');
    $m[] = array('4' => '10');
    $d['about/uma2rman'] = 45;
    $a[45] = array('id' => 45, 'alias' => 'uma2rman', 'path' => 'about');
    $m[] = array('4' => '45');
    $d['about/lopez'] = 17;
    $a[17] = array('id' => 17, 'alias' => 'lopez', 'path' => 'about');
    $m[] = array('4' => '17');
    $d['about/kravitz'] = 18;
    $a[18] = array('id' => 18, 'alias' => 'kravitz', 'path' => 'about');
    $m[] = array('4' => '18');
    $d['about/cortes'] = 21;
    $a[21] = array('id' => 21, 'alias' => 'cortes', 'path' => 'about');
    $m[] = array('4' => '21');
    $d['about/ZG'] = 26;
    $a[26] = array('id' => 26, 'alias' => 'ZG', 'path' => 'about');
    $m[] = array('4' => '26');
    $d['about/offspring'] = 24;
    $a[24] = array('id' => 24, 'alias' => 'offspring', 'path' => 'about');
    $m[] = array('4' => '24');
    $d['about/kylie'] = 15;
    $a[15] = array('id' => 15, 'alias' => 'kylie', 'path' => 'about');
    $m[] = array('4' => '15');
    $d['about/deep-purple'] = 22;
    $a[22] = array('id' => 22, 'alias' => 'deep-purple', 'path' => 'about');
    $m[] = array('4' => '22');
    $d['about/fleming'] = 13;
    $a[13] = array('id' => 13, 'alias' => 'fleming', 'path' => 'about');
    $m[] = array('4' => '13');
    $d['about/23'] = 23;
    $a[23] = array('id' => 23, 'alias' => '23', 'path' => 'about');
    $m[] = array('4' => '23');
    $d['about/ian-paice'] = 44;
    $a[44] = array('id' => 44, 'alias' => 'ian-paice', 'path' => 'about');
    $m[] = array('4' => '44');
    $c = &$this->contentTypes;
    


    And here is the alias info I found in there:
    $c[’friendly_alias_urls’] = "1";
    $c[’use_alias_path’] = "1";

    and

    $this->aliasListing = array();
    $a = &$this->aliasListing;

    Should I clear Cache? How? By deling all data in this folder? I cannot access the site nor the manager...
      • 26903
      • 1,336 Posts
      IOk, take a back up of your database if you’ve not already done so and re-run the MODx installer in upgrade mode, this will re-check your paths/database and regen your cache, see what happens after that.
        Use MODx, or the cat gets it!
        • 24951
        • 21 Posts
        How do I run the upgrade mode? What url do I need to go to for that? I don’t seem to have an upgrade or install directory. Could I just upload hte install directory of the latest Modx and run in upgrade mode? Or do I need to overwrite all files as well? I don’t know what version I have.. I’d like to keep all content and access rules so all articles can be translated easily.

        Maybe this can help http://wiki.modxcms.com/index.php/ClearingTheMODxCache ? I have no clue..
          • 26903
          • 1,336 Posts
          You can clear the cache from inside the manager. I take it the error above is being produced on page access, not on manager access, right? If so log into the manager and on the top bar there is a clear cache option, try this then look in the top right hand corner of the screen, you should see a version number and a logout button, note the version and logout.
            Use MODx, or the cat gets it!
            • 24951
            • 21 Posts
            The manager gives me an empty page  embarrassed But as I copied the site I logged onto the original one in another language and I found 0.9.6.1p2 in the top right corner.
            I will upgrade and see unless someone has a better idea?
              • 24951
              • 21 Posts
              All is working now. Thanks for that. Now the theme is broken though... rolleyes How can I fix that? Were there any changes from 9.6.1p2 to 9.63?
                • 26903
                • 1,336 Posts
                If you mean by broken its not the right one/last one you had then you can select the manager theme by going to the tools->system configuration->interface features menu in manager and choosing the one you wish in the Manager Theme combo.
                  Use MODx, or the cat gets it!
                  • 24951
                  • 21 Posts
                  I mean the front page theme or template is broken. See http://tiny.cc/OOyKz
                  Went to Interface and features and saw that the resources path /home/user/domain_name/www/assets/ was. Do I need to change that to /home/user/domain_name/www/english/assets/? It is generated automatically on the server so I guess it should be OK, but...

                  P.S. File Manager path is now: /home/user/domain_name/www/ not /home/user/domain_name/www/english/ either.......
                    • 26903
                    • 1,336 Posts
                    OK, I can see the page but not knowing what it looked like originally its hard to see what’s broken. The template for the page will be under resources->templates in the manager. The individual page content is of course on the pages the template applies to. Yes, you need to change your assets path. As far as I know going from 0.9.6.1p2 to 0.9.6.3 shouldn’t affect stuff like this. You can always view the page source in your browser to give you some clues as to what may be wrong.
                      Use MODx, or the cat gets it!
                      • 24951
                      • 21 Posts
                      I changed the assets resource and url path. I guess it didn’t automatically. Template is still broken. The working template is in the root of the site so the link minus english..

                      Here is the English Template index code:

                      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                      <html xmlns="http://www.w3.org/1999/xhtml">
                      
                      <head>
                      	<title>[(site_name)] &#151; [*pagetitle*]</title>
                      
                      	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                              <link rel="shortcut icon" href="[(base_url)]favicon.ico" type="image/x-icon" />
                      	<link rel="stylesheet" href="[(base_url)]assets/templates/default/site.css" type="text/css" media="screen" />
                              <script type="text/javascript" src="[(base_url)]assets/js/jquery.js"></script>
                              <script type="text/javascript" src="[(base_url)]assets/js/savquery.js"></script>
                      
                              <base href="[(site_url)]" />
                      
                              </head>
                      <body>
                      
                      <div id="top"><a href=""><img src="/assets/templates/default/images/top1.gif" width="106" height="97" alt="" /><img src="/assets/templates/default/images/top2.gif" width="480" height="97" alt="" /></a><br /><img src="/assets/templates/default/images/top3.gif" width="106" height="149" alt="" /><img src="/assets/templates/default/images/[[ChangingImages]]" width="786" height="149" alt="" /></div>
                          <div id="content">
                              [[Content]]
                          </div>
                          <div id="menu">[[Menu]]<br /><img id="menubottom" src="/assets/templates/default/images/menubottom.gif" width="106" height="78" alt="" /></div>
                          <div id="column">[[Column]]</div>
                          <div id="content-block"></div>
                          <div id="bottom"><a href="/">© <strong>2008 ssdsdd</strong></a></div>
                      
                      </body>
                      </html>