Hi Robert - below are the messages displayed in response to me selecting the 
"Import" button after selecting the attached export file (created yesterday in 
Rel 19.10).
Note: I currently have patchset#8 applied.
Thank you, Rangi

[WAR] 28 (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-2: 
ERROR:  syntax error at or near "LIMIT"
LINE 1: SELECT * FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2
                                                      ^] in adodb_throw(SELECT 
* FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2, )Command was: SELECT * FROM 
"skin_fonts"  WHERE "name" = ?
Call stack (most recent first):
log_message("Failed to get a recordset: postgres8 error: [-2: E...", 8, true, 
true) at /home/rdaymond/code/mahara/htdocs/lib/errors.php:95
log_warn("Failed to get a recordset: postgres8 error: [-2: E...") at 
/home/rdaymond/code/mahara/htdocs/lib/errors.php:859
SQLException->__construct("Failed to get a recordset: postgres8 error: [-2: 
E...") at /home/rdaymond/code/mahara/htdocs/lib/dml.php:540
get_recordset_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", false, -1, 2) 
at /home/rdaymond/code/mahara/htdocs/lib/dml.php:359
get_record_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", array(size 0), 
1) at /home/rdaymond/code/mahara/htdocs/lib/dml.php:328
get_record("skin_fonts", "name", null) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:723
Skin::get_path_to_previewfile(null, "text") at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:1093
Skin::generate_thumbnail(23) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:266
Skin->commit() at /home/rdaymond/code/mahara/htdocs/lib/skin.php:170
Skin::create(array(size 5)) at 
/home/rdaymond/code/mahara/htdocs/skin/import.php:310
importskinform_submit(object(Pieform), array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:568
Pieform->__construct(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:168
Pieform::process(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/mahara.php:5464
pieform(array(size 4)) at /home/rdaymond/code/mahara/htdocs/skin/import.php:61
[WAR] 28 (lib/dml.php:540) Failed to get a recordset: postgres8 error: [-2: 
ERROR:  syntax error at or near "LIMIT"
LINE 1: SELECT * FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2
                                                      ^] in adodb_throw(SELECT 
* FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2, )Command was: SELECT * FROM 
"skin_fonts"  WHERE "name" = ?
Call stack (most recent first):
get_recordset_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", false, -1, 2) 
at /home/rdaymond/code/mahara/htdocs/lib/dml.php:359
get_record_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", array(size 0), 
1) at /home/rdaymond/code/mahara/htdocs/lib/dml.php:328
get_record("skin_fonts", "name", null) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:723
Skin::get_path_to_previewfile(null, "text") at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:1093
Skin::generate_thumbnail(23) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:266
Skin->commit() at /home/rdaymond/code/mahara/htdocs/lib/skin.php:170
Skin::create(array(size 5)) at 
/home/rdaymond/code/mahara/htdocs/skin/import.php:310
importskinform_submit(object(Pieform), array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:568
Pieform->__construct(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:168
Pieform::process(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/mahara.php:5464
pieform(array(size 4)) at /home/rdaymond/code/mahara/htdocs/skin/import.php:61
Import skin(s) Help
Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug 
in the system

** Attachment added: "19-10_SimpSiteSkin.xml"
   
https://bugs.launchpad.net/mahara/+bug/1877497/+attachment/5396420/+files/19-10_SimpSiteSkin.xml

-- 
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/1877497

Title:
  Skins not exporting / importing header image

Status in Mahara:
  In Progress

Bug description:
  Problems being fixed under this bug report are

  Use the central default viewskin array from lib/skin.php when creating
  / updating / importing a skin so that any missing info can be supplied
  by default array

  Exporting a skin with a header_background_image doesn't get added to
  the export and therefore not imported either

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1877497/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to