Forums | Mahara Community

Support /
Upgrade to v1.1.3 - Fatal error


Gregor Anželj's profile picture
Posts: 349

04 May 2009, 8:06

I tried upgrade from v1.1.2 and clean install of v1.1.3. The result is the same. The upgrade or install runs smoothly. When the process is done, I click the link Continue, and Fatal error message appears.

 The original error message...


Fatal error: require() [function.require]: Failed opening required 'D:\Documents and Settings\Gregor\My Documents\xampplite\htdocs\mahara/\theme/ag_ledina/config.php' (include_path='D:\Documents and Settings\Gregor\My Documents\xampplite\htdocs\mahara/lib/;D:\Documents and Settings\Gregor\My Documents\xampplite\htdocs\mahara/lib/pear/;.;D:\Documents and Settings\Gregor\My Documents\xampplite\php\pear\') in D:\Documents and Settings\Gregor\My Documents\xampplite\htdocs\mahara\lib\mahara.php on line 1230

 


 

 

... and the apache error log:


[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1] [WAR] 5f (D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\mahara.php:1230) require(D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara/\\theme/ag_ledina/config.php) [function.require]: failed to open stream: No such file or directory, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1] Call stack (most recent first):, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * log_message("require(D:\\Documents and Settings\\Gregor\\My Docume...", 8, true, true, "D:\\Documents and Settings\\Gregor\\My Documents\\xamp...", 1230) at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\errors.php:378, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * error(2, "require(D:\\Documents and Settings\\Gregor\\My Docume...", "D:\\Documents and Settings\\Gregor\\My Documents\\xamp...", 1230, array(size 2)) at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\mahara.php:1230, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * pieform_configure() at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\mahara.php:1230, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * pieform_configure() at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\pieforms\\pieform.php:191, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * Pieform->__construct(array(size 6)) at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\pieforms\\pieform.php:170, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * Pieform::process(array(size 6)) at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\pieforms\\pieform.php:71, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * pieform(array(size 6)) at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\web.php:1953, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * searchform() at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\web.php:107, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1]   * smarty() at D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\index.php:47, referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1] , referer: http://localhost/mahara/
[Mon May 04 14:56:41 2009] [error] [client 127.0.0.1] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara/\\theme/ag_ledina/config.php' (include_path='D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara/lib/;D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara/lib/pear/;.;D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\php\\pear\\') in D:\\Documents and Settings\\Gregor\\My Documents\\xampplite\\htdocs\\mahara\\lib\\mahara.php on line 1230, referer: http://localhost/mahara/

 



... and also the environment info:

 

Tested on:

  • XAMPP v1.6.8
  • SERVER_SOFTWARE: Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6
  • DOCUMENT_ROOT: D:/Documents and Settings/Gregor/My Documents/xampplite/htdocs
  • MySQL v5.0.67


anonymous profile picture
Account deleted
Posts: 1643

04 May 2009, 18:31

Hi - does that file (mahara/\theme/ag_ledina/config.php) exist? If not it's going to crash.

Currently the theme system doesn't handle people removing themes from disk very well. You might need to change the theme in the config table back to 'default'.

Gregor Anželj's profile picture
Posts: 349

05 May 2009, 1:38

Silly me... Embarassed 

Forgot to copy over the theme directory during the update process.
All works fine now!

3 results