We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17111
    • 3 Posts
    This is my second day into trying to get MODx 961p2 to install.

    Hosting is on IIS6 servers with PHP 4.x support and current MySQL

    First few installs failed so I cleaned out the MySQL tables and ran a fresh installs. Says install worked but only getting white screens from <siteroot>/index.php

    Second few installs I just ran the update. Got same results.

    ====================================================

    Turned debugging to see what was happening and it is showing this:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Undefined variable: charset
    Error type/ Nr.: Notice - 8
    File: <siteroot>\manager\includes\extenders\dbapi.mysql.class.inc.php
    Line: 85
    Line 85 source: $charset = $charset ? $charset : $this->config[’charset’];

    Parser timing
    MySQL: 0.0000 s (0 Requests)
    PHP: 0.0334 s
    Total: 0.0334 s
    Error while inserting event log into database.

    ====================================================

    charset comes from $database_connection_charset in config.inc.php and is loaded up by the

    DBAPI function in dbapi.mysql.class.inc.php

    Any ideas what to try next???

    Thanks!
      • 6726
      • 7,075 Posts
      I have no answer to your problem, I don’t know IIS at all, but I moved it into the appropriate forum this should help smiley

      Maybe read How To Guide: Installing PHP 5.2.1, MYSQL 5 and MODx on Windows IIS, thought it’s for PHP5 there might be something in there...
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l&#39;outil id
        • 25663 MODX Staff
        • 12,272 Posts
        PHP 4.x is a wide latitude of versions potentially, some of which might not work at all. Please see the "help us help you" link in my signature for specific details of what’s needed. (moving this to the Windows/IIS topic)
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 17111
          • 3 Posts
          Quote from: rthrash at Mar 05, 2008, 11:17 AM

          PHP 4.x is a wide latitude of versions potentially, some of which might not work at all. Please see the "help us help you" link in my signature for specific details of what’s needed. (moving this to the Windows/IIS topic)

          Here it is:

          Web Server

          Windows 2003
          IIS 6
          PHP Version 4.4.6

          Database

          MySQL 4.1.12-nt

          MODx

          v 9.6.1 p2

          vanilla install - no mods other that activating debug mode


          Browser/Client

          Win XP
          IE v 6.0.2900
            • 17111
            • 3 Posts
            Here is what I did -

            1. Removed all tables from MySQL
            2. Ran Fresh Install
            3. Actually got a clean install at this point
            4. Unchecked the "Remove Install Folder" because of past paranoia
            5. Ran into permission problems when attempting to run the Manager tool when PHP "Unlink" tried to delete certain files.
            6. Renamed the install folder so the PHP logic cound not find it and try to delete it.
            7. Modified permissions in "cache" folder to Read/Write

            To Do

            1. Figure out the tightest possible permission settings that still allow the site to function.
            2. Experiment, experiment, experiment.

            Once I get this figured out, I’ll try post a checklist type document for IIS type installs.

            LifeInTime


              • 25663 MODX Staff
              • 12,272 Posts
              Thanks and looking forward to a wiki post about this when it’s done!
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me