OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Install problem: can't access index.php [SOLVED]

Forum for PKP's Lemon8-XML.

Moderators: jmacgreg, mj

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Install problem: can't access index.php [SOLVED]

Postby pparknelson » Tue Dec 28, 2010 11:07 am

SOLVED by deleting and re-installing Lemon8. I never figured out what caused this, but once I deleted all the Lemon8 files and replaced them, it behaved as expected. The "undefined constant E_NONE" problem doesn't seem to have had anything to do with it; changing "E_NONE" to "0" in the php source did not help.

***

I have just installed Lemon8-XML but I can't access the home page (index.php) of my installation (using Apache2 on Ubuntu 10.10).

After following the instructions in the readme file, everything on install.php appears to be correct. However, when I try to go to the Lemon8 site home page, I am immediately redirected back to install.php. The apache error log contains php errors that I don't understand.

I have mod_rewrite installed and the "AllowOverride all" directive set (see below).

This is the relevant part of my site configuration file.

Code: Select all
<VirtualHost *:80>
   ServerAdmin xxx
   ServerName mylemon8
   DocumentRoot /var/www/mylemon8
   <Directory />
      Options FollowSymLinks
      AcceptPathInfo On
      AllowOverride All
   </Directory>
   <Directory /var/www/mylemon8/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      AcceptPathInfo On
      Order allow,deny
      allow from all
   </Directory>


This is the apache2 error log when trying to access index.php:

Code: Select all
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Use of undefined constant E_NONE - assumed 'E_NONE' in /var/www/mylemon8/cake/libs/configure.php on line 292
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined index: createuser in /var/www/mylemon8/app/webroot/install.php on line 308
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: username in /var/www/mylemon8/app/webroot/install.php on line 347
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: realname in /var/www/mylemon8/app/webroot/install.php on line 348
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: email in /var/www/mylemon8/app/webroot/install.php on line 349
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: password1 in /var/www/mylemon8/app/webroot/install.php on line 350
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: password2 in /var/www/mylemon8/app/webroot/install.php on line 351
[Tue Dec 28 12:02:27 2010] [error] [client 127.0.0.1] PHP Notice:  Use of undefined constant E_NONE - assumed 'E_NONE' in /var/www/mylemon8/cake/libs/configure.php on line 292, referer: http://mylemon8/install.php


Any ideas why this is happening? Thank you.
pparknelson
 
Posts: 1
Joined: Tue Dec 28, 2010 10:06 am

Return to Lemon8-XML

Who is online

Users browsing this forum: No registered users and 1 guest