We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32025
    • 305 Posts
    I sucessfully installed MODx and the log-in (manager) page is blank. So is the homepage. The install showed all pages fine with green checks. It’s only after the successful install page, that I clicked on the log in link to find the page is blank. I am on a Windows server and had this problem during install (please see this post): http://modxcms.com/forums/index.php/topic,58871.0.html

    Here are my system stats:

    System: Windows NT WIZARDHOST1 5.2 build 3790 (Windows Server 2003 R2 Enterprise Edition Service Pack 2) i586
    PHP Version 5.3.4
    My SQL: Client API version mysqlnd 5.0.7-dev - 091210 - $Revision: 304625
    Running: MODx 2.0.6-pl

    All of my server stats and my phpinfo can be seen here: http://dev.thehawthorngrill.com/phpinfo.php

    I have met these php requirements (per system requirements in Wiki):
    •safe_mode off
    •register_globals off
    •magic_quotes_gpc off
    •PHP memory_limit 24MB or more, depending on your server

    Wha could be wrong? Any ideas?
      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
      • 22303 MODX Staff
      • 10,725 Posts
      Check your configured php error_log file.
        • 32025
        • 305 Posts
        Is this, "core/cache/logs/error.log" the error log I should be checking? Sorry for the dumb question, I just want to check the right file to find the php errors.
          Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
          • 22303 MODX Staff
          • 10,725 Posts
          Maybe, but if it is empty it could be recorded in the one configured for PHP directly in your php.ini
            • 32025
            • 305 Posts
            The log has 2,333 lines so I decided to shorten it a little. Here are the last few lines:
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_site_templates' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_site_tmplvars' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_site_tmplvar_contentvalues' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_site_tmplvar_access' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_site_tmplvar_templates' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_users' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_user_attributes' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_membergroup_names' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_member_groups' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_user_group_roles' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_user_messages' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_user_roles' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_user_settings' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_workspaces' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_register_messages' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_register_topics' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_register_queues' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_transport_packages' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:25:06] PHP Warning:  PDO::query(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hawthorngill.modx_transport_providers' doesn't exist in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 2005
            [22-Dec-2010 22:42:56] PHP Fatal error:  Class 'xPDODriver_' not found in E:\MYSERVERNAME\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\core\xpdo\xpdo.class.php on line 1389


            So what does this all mean?
              Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
              • 22303 MODX Staff
              • 10,725 Posts
              It means the install failed to create the tables. You likely need to start fresh and try again.
                • 32025
                • 305 Posts
                Same thing happened again; I keep getting a blank log-in page. During installation I am getting green lights that the tables are being created. But the php error logs show differently. I noticed that my ability to change folder and file permissions is currently being blocked (I am looking into this). Do you think that lower permissions and me not having the ability to set them could be the problem?
                  Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Did you FTP the files by chance? If so, it is very possible something got corrupted in the transfer or didn’t transfer at all; a very common occurrence. I can’t see anything else obviously wrong here.
                    • 32025
                    • 305 Posts
                    The first time I unzipped all files and then uploaded via Filezilla (ftp). It was recommended after install did not work, to clean out my database and re-upload all files again 9in case corrupted file). I did so using Filezilla again and I got the same installation problem. So twice I did this using ftp using unzipped files.

                    So yes, I used Filezilla to FTP (upload) all inzipped files twice. I was able to install the program twice with no errors during installation (all green checks), but still get a blank page (and blank manager page) after install.

                    My php error logs of course say no tables are created (but the install says they are). Last, my installation says that no: assets and assest/components were created (to create them and set permissions). But these have been on my server since the first time I installed the program. So I don’t know why install would tell me they don’t exist when I can see them in my file manager. The permissions are not set they are. xxx. So this was why I was thinking maybe the permissions may be the problem but i have no idea now.
                      Making the web a better place on site at a time! Dayton Web Design: http://www.dayton-web-design.com/
                      • 5624
                      • 26 Posts
                      If it is a permission issue, check these points

                      1) Double check that the folder "E:\HostingSpaces\thehawthorngrill\dev.thehawthorngrill.com\wwwroot\" allows permission proporgation across all subfolders and files, ensure the network service has read/write access

                      2) Check if the config file is created after the initial install, should be located in wwwroot\modx\core\config\ a file named config.inc.php. It should look something like this.

                      $database_type = 'mysql';
                      $database_server = 'domainname.hostprovider.com';
                      $database_user = 'dbusername';
                      $database_password = 'dbpassword';
                      $database_connection_charset = 'utf8';
                      $dbase = '`modxdatabase`';
                      $table_prefix = 'modx_';  


                      There should be a few other variables relating to modx.