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?
-
MODX Staff
- 10,725 Posts
Check your configured php error_log file.
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.
-
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
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?
-
MODX Staff
- 10,725 Posts
It means the install failed to create the tables. You likely need to start fresh and try again.
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?
-
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.
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.