Forums | Mahara Community

Support /
Profile can't edit after Upgrade to 1.2,


anonymous profile picture
Account deleted
Posts: 12

23 November 2009, 22:58

I just did upgrade mahara to 1.2 version. But i can't edit profiles, profiles page, resume, goal ,and skills.  "ERROR - something bad happened after headers have been sent. Check the error log for more information."

below is the error log:

Nov 24 15:54:05 epsomlms apache2: [WAR] 16 (lib/errors.php:464) An exception was thrown of class Dwoo_Exception.
Nov 24 15:54:05 epsomlms apache2: [WAR] 16 (lib/errors.php:464) THIS IS BAD and should be changed to something extending MaharaException,
Nov 24 15:54:05 epsomlms apache2: [WAR] 16 (lib/errors.php:464) unless the exception is from a third party library.
Nov 24 15:54:05 epsomlms apache2: [WAR] 16 (lib/errors.php:464) Original trace follows
Nov 24 15:54:05 epsomlms apache2: [WAR] 16 (lib/dwoo/dwoo/Dwoo/Loader.php:111) Plugin <em>insert</em> can not be found, maybe you forgot to bind it if it's a custom plugin ?
Nov 24 15:54:05 epsomlms apache2: Call stack (most recent first):
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Loader->loadPlugin("insert", true) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo/Compiler.php:2866
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Compiler->getPluginType("insert") at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo/Compiler.php:1633
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Compiler->parseFunction("<div id="column-left">
Nov 24 15:54:05 epsomlms apache2:       <div class="maincontent{if...", 74, 658, false, "root", 96) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo/Compiler.php:1302
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Compiler->parse("<div id="column-left">
Nov 24 15:54:05 epsomlms apache2:       <div class="maincontent{if...", 74, null, false, "root", 96) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo/Compiler.php:758
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Compiler->compile(object(Dwoo_Mahara), object(Dwoo_Template_Mahara_Artefact)) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo/Template/String.php:369
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Template_String->getCompiledTemplate(object(Dwoo_Mahara), null) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo.php:363
Nov 24 15:54:05 epsomlms apache2:   * Dwoo->get(object(Dwoo_Template_Mahara_Artefact), array(size 24), null, false) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo.php:311
Nov 24 15:54:05 epsomlms apache2:   * Dwoo->get(object(Dwoo_Template_Mahara_Artefact), array(size 24)) at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/plugins/builtin/functions/include.php:70
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Plugin_include(object(Dwoo_Mahara), "columnleftstart.tpl", null, null, null, "_root", null) at /var/www/localhost/dataroot/dwoo/compile/default/var/www/localhost/htdocs/mahara/artefact/internal/theme/default/index.tpl.d16.php:10
Nov 24 15:54:05 epsomlms apache2:   * include("/var/www/localhost/dataroot/dwoo/compile/default/v...") at /var/www/localhost/htdocs/mahara/lib/dwoo/dwoo/Dwoo.php:363
Nov 24 15:54:05 epsomlms apache2:   * Dwoo->get(object(Dwoo_Template_Mahara_Artefact), array(size 24)) at /var/www/localhost/htdocs/mahara/lib/dwoo/mahara/Dwoo_Mahara.php:119
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Mahara->fetch("artefact:internal:index.tpl") at /var/www/localhost/htdocs/mahara/lib/dwoo/mahara/Dwoo_Mahara.php:106
Nov 24 15:54:05 epsomlms apache2:   * Dwoo_Mahara->display("artefact:internal:index.tpl") at /var/www/localhost/htdocs/mahara/artefact/internal/index.php:424

anonymous profile picture
Account deleted
Posts: 1643

23 November 2009, 23:51

Hi - try clearing out your smarty/dwoo cache. In your dataroot directory, there should be a directory called "smarty", and another one called "dwoo". Inside each of those directories there will be a "compile" directory. Remove all files and directories inside those "compile" directories, then try again. Hopefully it should all come right.
anonymous profile picture
Account deleted
Posts: 12

24 November 2009, 15:13

Hi, Thank you for your suggest. i deleted what you said, everything inside folder "compile" from dwoo and samrty, but it is still the same error and same apache logs. any other suggestion?

anonymous profile picture
Account deleted
Posts: 1643

24 November 2009, 19:03

I have a suspicion that you might have unzipped the 1.2 code over the top of the 1.1 code, which is a big no-no, as that won't remove old templates which are now almost certainly broken in 1.2. Try deleting all the files of your Mahara installation (the code files, not your files in dataroot), then extracting 1.2 there again. Remember to take backups of any files you customised, if you did that! That should remove the old template files and make it work again.
anonymous profile picture
Account deleted
Posts: 12

24 November 2009, 19:13

Thanks. Fixed
5 results