We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9243
    • 11 Posts
    INSTALLATION NOTE: Installation was successful and i can login as admin.

    Problem 1) - Launch Site -> result as below
    cut and paste

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « `` is not numeric and may not be passed to makeUrl() »

    Parser timing
    MySQL: 0.0011 s s (1 Requests)
    PHP: 0.0406 s s
    Total: 0.0418 s s

    Problem 2) - Can’t save setting in System Configuration ->
    cut and paste

    Cannot open file (../assets/cache//siteCache.idx.php)


      • 18397
      • 3,250 Posts
      Did you check that the assets/cache directory and all its files are chmodded 777?
        • 9243
        • 11 Posts
        Quote from: Mark at Dec 11, 2005, 10:50 PM

        Did you check that the assets/cache directory and all its files are chmodded 777?

        chmodded 777 u refering here is this rite -->

        new installation -> This will install a new copy of the MODx software on your web site. Please note that this option may overwrite any data inside your database. NOTE: For new Linux/Unix installations, you will need to create a new empty file named config.inc.php inside the /manager/includes directory with permissions set to 777.

        I install this MODx on my shared hosting running
        IIS windows hosting
        PHP
        MySQL

        NOTE: I’m dont know programming. Just starting.
          • 32963
          • 1,732 Posts
          Hi,

          I think problem #1 has to do with yout ht.access file. and FriendlyURL is turned ok

            xWisdom
            www.xwisdomhtml.com
            The fear of the Lord is the beginning of wisdom:
            MODx Co-Founder - Create and do more with less.
            • 9243
            • 11 Posts
            Quote from: xwisdom at Dec 12, 2005, 12:20 AM

            Hi,

            I think problem #1 has to do with yout ht.access file. and FriendlyURL is turned ok



            Hi xwisdom,

            1. FYI I’m running on IIS not apache.
            Friendly URL Setting -> Use friendly URLs : YES or NO
            IT NOTE "This allows you to use search engine friendly URLs with MODx. Please note, this only works for MODx installations running on Apache, and you’ll need to write a .htaccess file for this to work. See the .htaccess file included in the distribution for more info."

            2. Eventhough i choose YES, the setting cant be save which come to Problem 2)

            Cannot open file (../assets/cache//siteCache.idx.php)

            I try my best to give feedback base on my understanding.
              • 33337
              • 3,975 Posts
              Cannot open file (../assets/cache//siteCache.idx.php)[/QUOTE]

              Please make sure, if the file’s attributes are NOT "Read Only", if it is ok then try re-uploading a "siteCache.idx.php" file from fresh download copy of modx.

              After uploading, click on "Refresh Site" from menu to clear-up cache of MODx.

              As FYI, this file has an important role in running of this software.

              I hope this will solve your problem.

              best regards,

              zi
                Zaigham R - MODX Professional | Skype | Email | Twitter

                Digging the interwebs for #MODX gems and bringing it to you. modx.link
                • 9243
                • 11 Posts
                Quote from: zi at Dec 12, 2005, 03:10 AM

                Cannot open file (../assets/cache//siteCache.idx.php)[/QUOTE]

                Please make sure, if the file’s attributes are NOT "Read Only", if it is ok then try re-uploading a "siteCache.idx.php" file from fresh download copy of modx.

                After uploading, click on "Refresh Site" from menu to clear-up cache of MODx.

                As FYI, this file has an important role in running of this software.

                I hope this will solve your problem.

                best regards,

                zi

                Hi zi,
                i download a fresh copy of MODx, and i re-uploading "siteCache.idx.php" and the file’s attributes are NOT "Read Only" as you mention. Refresh site result as below.

                Refresh site
                0 documents were published.
                0 documents were unpublished.
                Cannot open file (../assets/cache//siteCache.idx.php)



                I’m just curious, why the directory have a double //? Is this normal?
                  • 32963
                  • 1,732 Posts

                  What version of MODx are you using?

                  I too use IIS and the // is ok with IIS. From what I’m seeing it would appear that the system is unable to write to siteCache.idx.php. Can you create a php script to test to if you can open and write to the siteCache.idx.php?

                    xWisdom
                    www.xwisdomhtml.com
                    The fear of the Lord is the beginning of wisdom:
                    MODx Co-Founder - Create and do more with less.
                    • 9243
                    • 11 Posts
                    Quote from: xwisdom at Dec 12, 2005, 06:56 AM


                    What version of MODx are you using?

                    I too use IIS and the // is ok with IIS. From what I’m seeing it would appear that the system is unable to write to siteCache.idx.php. Can you create a php script to test to if you can open and write to the siteCache.idx.php?



                    Hi xwisdom,
                    I use version MODx-0.9.0 which is the latest release.
                    I dont know programming, how to create a php script. A sample script which i can cut and paste, and how to test it would help. I’m using Notepad to open siteCache.idx.php
                      • 32963
                      • 1,732 Posts
                      Hi,

                      1) Inside assets/cache create a file call test.php.
                      2) Editthe file then enter the following code:
                      <?php
                      
                      $filename = dirname(__FILE__).'/siteCache.idx.php';
                      
                      // read file content
                      echo "Reading file ($filename)";
                      $handle = fopen($filename, "r");
                      $contents = fread($handle, filesize($filename));
                      fclose($handle);
                      
                      // write content to file
                      $handle = fopen($filename, "w");
                      if (fwrite($handle, $contents) === FALSE) {
                         echo "Cannot write to file ($filename)";
                         exit;
                      }
                      echo "Write was successful";
                      ?>

                      3) Save the file and then enter it’s url inisde your browser. Example ww.yourdomain.com/assets/cache/test.php
                        xWisdom
                        www.xwisdomhtml.com
                        The fear of the Lord is the beginning of wisdom:
                        MODx Co-Founder - Create and do more with less.