Install script of beta4 (complete tar) doesn't run install script (WSOD)

wgold - August 13, 2009 - 09:05
Project:phpEdu
Version:6.x-1.1-beta4
Component:Code
Category:bug report
Priority:normal
Assigned:dakala
Status:active
Description

I installed the complete beta4 that comes from http://www.phpedu.org.uk/.

When pointing the browser to the homepage I get a blank page (WSOD). Adding these lines to index.php:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
I receive lots of warnings about non existing tables and variables:

Warning: Table 'phpedu.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Warning: Table 'phpedu.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = 'tu5vm8dvtq6ns91ffst2eahav7' in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Warning: Table 'phpedu.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Warning: Table 'phpedu.variable' doesn't exist query: SELECT * FROM variable in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Notice: Undefined variable: variables in /var/www/phpedu-beta4/includes/bootstrap.inc on line 480

Warning: Table 'phpedu.cache' doesn't exist query: UPDATE cache SET data = '', created = 1250153627, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Notice: Undefined variable: variables in /var/www/phpedu-beta4/includes/bootstrap.inc on line 487

Warning: Table 'phpedu.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Warning: Table 'phpedu.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in /var/www/phpedu-beta4/includes/database.mysqli.inc on line 128

Does the complete package not run the install script? How can I create the tables?

Werner

#1

dakala - August 13, 2009 - 10:20
Assigned to:Anonymous» dakala

When you run the phpEdu Installation profile, it should first of all create a Drupal site then enable phpEdu modules and other dependencies before configuring the site. What's happening is that the Drupal database hasn't been created. Please make sure your database exists and you have the correct access details before trying again.

#2

sportel - November 11, 2009 - 14:43

I had the same problem. When I pointed the browser to www.mypage.com/install.php the installation started just fine. I hope this works for you too.

 
 

Drupal is a registered trademark of Dries Buytaert.