Dec 04, 2008, 12:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Donate to MODx: Donations
Pages: [1]   Go Down
  Print  
Author Topic: Blank manager screen  (Read 2002 times)
0 Members and 1 Guest are viewing this topic.
danielw
Member
**
Posts: 78


« on: May 09, 2008, 03:59 AM »

After a seemingly successful installation of 0.9.7 alpha-1 I click the login button as instructed, but the /manager/ page is blank.

Any ideas about this?

Running PHP Version 5.2.3-1ubuntu6.3 on Apache 2.2.4 with mysql 5.0.45

Please help me out. I can't wait to try this new version.

Edit: Just checked it out in Safari and it gives me "The error was: “unknown error” (CFURLErrorDomain:302)"
« Last Edit: May 09, 2008, 04:38 AM by danielw » Logged
YankeeDeuce
Jr. Member
*
Posts: 41


I love MODx!


WWW
« Reply #1 on: May 09, 2008, 03:19 PM »

Do you have the pdo and pdo_mysql extensions? I had that same problem when I was using ubuntu, apparently ubuntu didn't include them in php5 or something. I always got errors trying to install them with PECL, finally switch to a different distro and it worked.
Logged
OpenGeek
MODx Co-Founder
Moderator
*
Posts: 5,054


looking a little more like my avatar again...


WWW
« Reply #2 on: May 10, 2008, 11:53 AM »

There are indeed some troublesome PHP distributions that include PDO but do not have the PDO MySQL driver configured (despite being an obvious PHP/MySQL setup).  To resolve the issue, MODx 0.9.7 offers two solutions: one use a properly configured PHP/MySQL setup that includes the proper PDO MySQL driver, or define a constant to force usage of the PDO emulation classes included with xPDO.  You can easily do this by locating the three config.core.php files (./config.core.php, ./manager/config.core.php, and ./connectors/config.core.php) and adding the line:

Code:
<?php
define
('XPDO_MODE', 2);
?>

This turns on xPDO's emulated PDO mode which works in PHP 4 and in PHP 5 when PDO is not available or improperly configured.

If that doesn't work, that likely is not the problem.  Also make sure you have more than 8M specified in your php memory_limit (recommend 32M or more).
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
danielw
Member
**
Posts: 78


« Reply #3 on: May 13, 2008, 04:19 AM »

Pdo drivers enabled: mysql, sqlite, sqlite2

PDO Driver for MySQL, client library version: 5.0.45

It may be worth noting that when I ran the installer I still had the old htaccess file on there, which contained the line

AddType application/x-httpd-php .html

I don't know if this messes somthing up with the manager. I removed the old htaccess and reinstalled but the issue persists.

I will try your suggestion OpenGeek and let you know how I get on. Thanks for the advice. Cheesy
Logged
danielw
Member
**
Posts: 78


« Reply #4 on: May 19, 2008, 10:51 AM »

Gah! Tried to add the line as per OpenGeek's intructions.

Still no joy.

Same error as before. This is starting to get annoying. Sad
Logged
OpenGeek
MODx Co-Founder
Moderator
*
Posts: 5,054


looking a little more like my avatar again...


WWW
« Reply #5 on: May 19, 2008, 01:24 PM »

Gah! Tried to add the line as per OpenGeek's intructions.

Still no joy.

Same error as before. This is starting to get annoying. Sad
Not sure what to tell you, but we have it working good in a variety of environments.  Sounds to me more like an issue with your browser; perhaps you are blocking js or have Firebug enabled?
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
danielw
Member
**
Posts: 78


« Reply #6 on: May 19, 2008, 02:51 PM »

Hey, no worries.  Thanks for the help anyway. I guess you must be swamped with support requests right now.

Firbug was enabled, but disabling it has no effect. Tested in IE6, FF2, FF3beta5 and Safari and does not work in any of them.

I suppose I'll just have to wait for the beta version and hope that the problem clears itself up.
Logged
OpenGeek
MODx Co-Founder
Moderator
*
Posts: 5,054


looking a little more like my avatar again...


WWW
« Reply #7 on: May 19, 2008, 03:51 PM »

Then it's definitely a server related issue, and any additional input about your configuration, compared against the instructions we've provided for installing the alpha, would sure go along way in helping us make the beta work in your environment, or at least identifying the problem so we can document it clearly.
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
PMS
Member
**
Posts: 91


Strictlyファンサイト


« Reply #8 on: Jul 29, 2008, 06:41 PM »

I just downloaded modx-0.9.7 alpha from svn and tried a new install (not an upgrade of an existing installation.) Everything worked fine up until hitting install. Then I got a blank page. When I browse to the root of the install (http://localhost/modx-0.9.7-alpha/) I get:

Warning: modContext::include(Q:/USB/xampp/htdocs/modx-0.9.7-alpha/core/cache/web/context.cache.php) [function.modContext-include]: failed to open stream: No such file or directory in Q:\USB\xampp\htdocs\modx-0.9.7-alpha\core\model\modx\modcontext.class.php on line 46

Warning: modContext::include() [function.include]: Failed opening 'Q:/USB/xampp/htdocs/modx-0.9.7-alpha/core/cache/web/context.cache.php' for inclusion (include_path='.;Q:\USB\xampp\php\pear\') in Q:\USB\xampp\htdocs\modx-0.9.7-alpha\core\model\modx\modcontext.class.php on line 46
[2008-07-30 00:37:18] (FATAL/modx-0.9.7-alpha/index.php) The requested resource has no valid content type specified. RESOURCE: Array ( [id] => [type] => document [contentType] => text/html [pagetitle] => [longtitle] => [description] => [alias] => [link_attributes] => [published] => [pub_date] => 0 [unpub_date] => 0 [parent] => 0 [isfolder] => [introtext] => [content] => [richtext] => 1 [template] => 1 [menuindex] => 0 [searchable] => 1 [cacheable] => 1 [createdby] => 0 [createdon] => 0 [editedby] => 0 [editedon] => 0 [deleted] => [deletedon] => 0 [deletedby] => 0 [publishedon] => 0 [publishedby] => 0 [menutitle] => [donthit] => [haskeywords] => [hasmetatags] => [privateweb] => [privatemgr] => [content_dispo] => 0 [hidemenu] => 0 [class_key] => modDocument [context_key] => [content_type] => 1 )

I also have:
PDO drivers    mssql, mysql, sqlite2
PDO Driver for MySQL, client library version   5.0.45

I have only tried installing from the Opera browser.

Cheers,

Paul
Logged

OpenGeek
MODx Co-Founder
Moderator
*
Posts: 5,054


looking a little more like my avatar again...


WWW
« Reply #9 on: Jul 30, 2008, 09:49 AM »

Your PHP memory_limit must be >= 32M right now in order to run the installer.  This is due to the PclZip library that is currently being used to provide compression/decompression.  It uses in-memory techniques (rather than temp files) for speed; but trades the need for larger amounts of memory.

The rest is expected if the install does not complete normally.
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
The spirit of a warrior is not geared to indulging and complaining, nor is it geared to winning or losing. The spirit of the warrior is geared only to struggle, and every struggle is a warrior's last battle on earth. Thus the outcome matters very little to him. In his last battle on earth a warrior lets his spirit flow free and clear. And as he wages his battle, knowing that his intent is impeccable, a warrior laughs and laughs.
  — don Juan Matus
ryumikage
Jr. Member
*
Posts: 20


« Reply #10 on: Jul 30, 2008, 10:17 AM »

Is that setting about memory_limit will stay with the final version of Revolution ?
Logged
PMS
Member
**
Posts: 91


Strictlyファンサイト


« Reply #11 on: Jul 30, 2008, 12:08 PM »

The memory limit wasn't the problem. It's already set to 64MB.

I downloaded and tested a new installation of MODx Revolution 2.0.0 alpha 3 last night, and that worked just fine.

Cheers,

Paul
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!