mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #17957
[Bug 1301310] Re: blocktype.externalvideo error when upgrading to 1.9rc1
Hi Marius,
This error is due to one of the allowed ifames already having the name
'Prezi'.
To fix this:
Go to admin/extensions/iframesites.php and rename the one from 'Prezi'
to 'Prezi_old', run the upgrade, and then choose delete or keep the
new/old 'Prezi' option.
If you can't login due to site wanting to upgrade then change it manually on the database:
1) Find out the prefix and domain info for the current one and write it down somewhere:
SELECT ifs.prefix, ifsi.domain FROM iframe_source ifs, iframe_source_icon ifsi WHERE ifs.name = ifsi.name AND ifs.name = 'Prezi';
2) Remove the offending entry - we will make it again as 'Prezi_old'
DELETE FROM iframe_source WHERE name = 'Prezi';
DELETE FROM iframe_source_icon WHERE name = 'Prezi';
3) Now take the domain info you got before and replace DOMAININFO with it in the command below
INSERT INTO iframe_source_icon (name, domain) VALUES ('DOMAININFO','prezi.com');
4) Now take the prefix info you got before and replace PREFIXINFO with it in the command below
INSERT INTO iframe_source (prefix, name) VALUES ('PREFIXINFO', 'Prezi_old');
Hope that helps
Cheers
Robert
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1301310
Title:
blocktype.externalvideo error when upgrading to 1.9rc1
Status in Mahara ePortfolio:
New
Bug description:
The attached error occurs when upgrading from 1.8.1 to 1.9rc1
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1301310/+subscriptions
References