Issue Details (XML | Word | Printable)

Key: MDL-19760
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: moodle.com
Reporter: Paul Ortman
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

2.0 installation fails with "Exception thrown without a stack frame in Unknown on line 0"

Created: 09/Jul/09 09:53 PM   Updated: 09/Jul/09 09:53 PM
Return to search
Component/s: Installation
Affects Version/s: 2.0
Fix Version/s: None

Environment:
Ubunut 9.0.4

ii cherokee 0.11.6-1 extremely fast and flexible web server
ii php5 5.2.9-0.dotdeb.2 server-side, HTML-embedded scripting language (metapackage)
ii postgresql 8.3.7-1 object-relational SQL database (supported version)

<?php // Moodle Configuration File

unset($CFG);
$CFG = new stdClass();

$CFG->dbtype = 'pgsql';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle-2oh';
$CFG->dbuser = 'moodle-2oh';
$CFG->dbpass = '****************';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
  'dbpersit' => 0,
  'dbsocket' => 1,
);

$CFG->wwwroot = 'http://moodlemoot.goshen.edu/2.0';
$CFG->dirroot = '/var/www/2.0';
$CFG->dataroot = '/var/2oh-moodledata';
$CFG->admin = 'admin';

$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode

require_once("$CFG->dirroot/lib/setup.php");

// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!


Database: PostgreSQL
Participants: moodle.com and Paul Ortman
Security Level: None
Affected Branches: MOODLE_20_STABLE


 Description  « Hide
Attempted fresh web installation from CVS with empty database as of July 9, 2009 appears to work right up until the config.php file is created and placed into the correct directory. Clicking continue at this point redirects to /admin/ and then php reports an unhelpful error "Fatal error: Exception thrown without a stack frame in Unknown on line 0" and nothing is printed to the screen. No tables/data are ever created in the database. Nothing more is logged to my file base PHP error log. However, I can connect to the database without any problem using psql and the correct password.

I'm not sure what I need to do to debug more. Permissions on the config.php seem correct (root:www-data 644). I am slightly suspicious of the database connection being incorrect, and I've tried non-socket connections, connections via localhost, 127.0.0.1 and connections through the public IP (after editing pg_hba.conf appropriately and testing via psql) but nothing seems to alter what is being done.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.