mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #11080
[Bug 1057131] Re: Javascript issues on /admin/site/pages.php
Test cases:
1. Change the Page Name then click button 'Go', the page content should be changed
2. Change the content of a page, then click "Save changes", a message "Page saved" should be displayed. and you will be redirected to the default page: "Home".
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1057131
Title:
Javascript issues on /admin/site/pages.php
Status in Mahara ePortfolio:
In Progress
Bug description:
Version: all
Platform: all
Browser: non-javascript
Issues:
1. When change the 'Page name', the 'Page text' does not change
2. Get an error when click 'Save changes'
[WAR] 63 (lib/web.php:2625) redirect() should be called with either /[something] for local redirects or http[something] for absolute redirects
Call stack (most recent first):
redirect("P") at /home/sonn/code/mahara/htdocs/lib/mahara.php:1716
pieform_reply(0"Page saved") at Unknown:0
call_user_func_array("pieform_reply", array(size 2)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:871
Pieform->reply(0"Page saved") at /home/sonn/code/mahara/htdocs/admin/site/pages.php:102
editsitepage_submit(object(Pieform), array(size 4)) at Unknown:0
call_user_func_array("editsitepage_submit", array(size 2)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:514
Pieform->__construct(array(size 4)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:161
Pieform::process(array(size 4)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /home/sonn/code/mahara/htdocs/admin/site/pages.php:86
[WAR] 63 (lib/form/elements/wysiwyg.php:103) Invalid argument supplied for foreach()
Call stack (most recent first):
log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/sonn/code/mahara/htdocs/lib/form/elements/wy...", 103) at /home/sonn/code/mahara/htdocs/lib/errors.php:446
error(2, "Invalid argument supplied for foreach()", "/home/sonn/code/mahara/htdocs/lib/form/elements/wy...", 103, array(size 2)) at /home/sonn/code/mahara/htdocs/lib/form/elements/wysiwyg.php:103
pieform_element_wysiwyg_get_headdata(array(size 8)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1640
pieform_get_headdata() at /home/sonn/code/mahara/htdocs/lib/web.php:102
smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at /home/sonn/code/mahara/htdocs/lib/errors.php:581
MaharaException->handle_exception() at /home/sonn/code/mahara/htdocs/lib/errors.php:472
exception(object(SystemException)) at Unknown:0
[WAR] 63 (lib/form/elements/wysiwyg.php:110) Invalid argument supplied for foreach()
Call stack (most recent first):
log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/sonn/code/mahara/htdocs/lib/form/elements/wy...", 110) at /home/sonn/code/mahara/htdocs/lib/errors.php:446
error(2, "Invalid argument supplied for foreach()", "/home/sonn/code/mahara/htdocs/lib/form/elements/wy...", 110, array(size 2)) at /home/sonn/code/mahara/htdocs/lib/form/elements/wysiwyg.php:110
pieform_element_wysiwyg_get_headdata(array(size 8)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1640
pieform_get_headdata() at /home/sonn/code/mahara/htdocs/lib/web.php:102
smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at /home/sonn/code/mahara/htdocs/lib/errors.php:581
MaharaException->handle_exception() at /home/sonn/code/mahara/htdocs/lib/errors.php:472
exception(object(SystemException)) at Unknown:0
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1057131/+subscriptions
References