ILIAS open source Forums

Forums have been moved to the ILIAS Information Center!
Please do not post bug reports into these forums but into the Mantis Bug Tracker.
Please do not post any security exploits. Act accoring to RFPolicy and send a mail to "ilias-security AT uni-koeln DOT de" .
It is currently Sun May 19, 2013 17:54

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Setup.php wont open after update
PostPosted: Sun Oct 18, 2009 23:06 
Offline

Joined: Sun Nov 16, 2008 18:53
Posts: 8
Hi

I updated ilias from 3.10.02 to 3.10.10. I followed all the steps on the Update manual, restored the ilias.ini.php as it should be.
But after updating the files i tried running setup.php to finish the update process but it just wont come up. all i get is a blank page, no errors no messages. Nothing. http://elearning-languages-live.com/ili ... /setup.php

If i open my main ilias page it comes up normal: http://elearning-languages-live.com/ilias3/

Basic Data
Installation Name elearning
Languages School
Client ID elearning
Installation ID 4014
Database Version 1367 (Database needs an update!)

My main goal is to get it to version 4.

Hoping someone can help me with this. i've spent over a week and no luck so far

EDIT: I activated php display_errors. i get this:
Code:
Warning: file(/lang/setup_lang_sel_multi.lang) [function.file]: failed to open stream: No such file or directory in /home4/elearnj1/public_html/ilias/setup/classes/class.ilLanguage.php on line 108

Warning: file(/lang/setup_en.lang) [function.file]: failed to open stream: No such file or directory in /home4/elearnj1/public_html/ilias/setup/classes/class.ilLanguage.php on line 124

Warning: parse_ini_file(/setup/ilias.master.ini.php) [function.parse-ini-file]: failed to open stream: No such file or directory in /home4/elearnj1/public_html/ilias/setup/classes/class.ilSetup.php on line 148

Warning: parse_ini_file(/setup/client.master.ini.php) [function.parse-ini-file]: failed to open stream: No such file or directory in /home4/elearnj1/public_html/ilias/setup/classes/class.ilClient.php on line 75

Warning: dir(/lang) [function.dir]: failed to open dir: No such file or directory in /home4/elearnj1/public_html/ilias/setup/classes/class.ilLanguage.php on line 192

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home4/elearnj1/public_html/ilias/setup/classes/class.ilLanguage.php on line 194

Fatal error: Call to a member function read() on a non-object in /home4/elearnj1/public_html/ilias/setup/classes/class.ilLanguage.php on line 197


EDIT 2: thanks to CDRIGA found the solution.

Just edit the file /setup/include/inc.setup_header.php deleted the code below

Code:
// PHP is running in CGI mode?
if (isset($_SERVER["REDIRECT_STATUS"]) && !isset($_SERVER["FCGI_ROLE"]))
{
   define ("ILIAS_ABSOLUTE_PATH",substr(dirname($_SERVER["PATH_TRANSLATED"]),0,-6));
}
else
{
   define ("ILIAS_ABSOLUTE_PATH",substr(dirname($_SERVER["SCRIPT_FILENAME"]),0,-6));
}


and added:

Code:
// ADDED BY CDRIGA
define ( "ILIAS_ABSOLUTE_PATH", "/your/absoute/path/to/ilias/folder");


Top
 Profile  
 
 Post subject: Re: Setup.php wont open after update
PostPosted: Mon Oct 19, 2009 11:54 
Offline
User avatar

Joined: Thu Oct 13, 2005 18:50
Posts: 130
Location: Copenhagen/Aarhus, Denmark
Hi Carioca

You should not need to edit the files manually. This is certainly not correct. I get your setup-screen following the link and see that you have upgraded to version 4.
Have you already found a solution?
Did you change directories when upgrading?
Did you check the right permissions for files and folders?

- Jesper

_________________
Image
Læs mere om e-læring med ILIAS platformen
We offer commercial ILIAS hosting, support and development.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group