Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.

TOPIC:

Creating Projects - cannot Insert 11 years 3 months ago #454

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Could you please do the following:

1. Modify config.php on line 26, and change false to true, so the line will read:
$development = true;
2. Create a folder tmp on you c:\ drive

Then, try again, and check the c:\tmp\debug.log file for errors, or report back any php errors shown in the browser.

Please Log in or Create an account to join the conversation.

Creating Projects - cannot Insert 11 years 3 months ago #455

  • chris.walsh
  • chris.walsh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Thanks for the advise. I've enabled debug and captured a log of myself opening up an 'uneditable' LO.
I can't see anything at this point that might indicate being unable to insert items.
Thanks.

PS: I have the log file but adding an attachment to this forum doesn't appear to be working. I can do the add etc. but when submitting the post, the attachment isn't included.

Please Log in or Create an account to join the conversation.

Last edit: by chris.walsh.

Creating Projects - cannot Insert 11 years 3 months ago #456

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
The problem occurs when creating a new LO, so please try to create a new LO.

Please Log in or Create an account to join the conversation.

Creating Projects - cannot Insert 11 years 3 months ago #457

  • chris.walsh
  • chris.walsh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0

Tom Reijnders wrote: The problem occurs when creating a new LO, so please try to create a new LO.


ok. Here is my 'Create Xerte Online Template' log file snippet:
2013-07-29 15:56:27 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT * FROM sitedetails
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT max(template_id) as count FROM templatedetails
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : select template_type_id, template_name, template_framework from originaltemplatesdetails where template_name = 'Nottingham'
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\templates\new_template.php46Running : INSERT INTO templatedetails (template_id, creator_id, template_type_id, date_created, date_modified, access_to_whom, template_name, extra_flags)
    VALUES ('12', '4', '5', '2013-07-29', '2013-07-29', 'Private', 'chris_test_4', 'engine=javascript')
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\templates\new_template.php49Created new template entry in db
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\templates\new_template.php51Running : INSERT INTO templaterights (template_id, user_id, role, folder) VALUES ('12','4','creator','7')
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\templates\new_template.php54Setup template rights ok
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT template_framework from originaltemplatesdetails WHERE template_name = 'Nottingham'
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\modules\xerte\new_template.php91Creating new template : 12, Nottingham
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT * FROM sitedetails
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT * FROM sitedetails
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : select originaltemplatesdetails.template_name, logindetails.username, originaltemplatesdetails.template_framework, templaterights.user_id, templaterights.folder, templaterights.template_id, templatedetails.access_to_whom from originaltemplatesdetails, templaterights, templatedetails, logindetails where templatedetails.template_type_id = originaltemplatesdetails.template_type_id and templatedetails.creator_id = logindetails.login_id and templaterights.template_id = templatedetails.template_id and templaterights.template_id="12" and role="creator"
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : select * from templaterights where user_id='4' AND template_id = '12'
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\edit.php30Running : UPDATE templatedetails SET date_accessed='2013-07-29' WHERE template_id = '12'
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : select username from logindetails where login_id='4'
2013-07-29 15:56:28 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT * FROM sitedetails
2013-07-29 15:56:36 C:\Apache24\htdocs\...\moodle\xertetoolkits\website_code\php\database_library.php139Running : SELECT * FROM sitedetails

Please Log in or Create an account to join the conversation.

Creating Projects - cannot Insert 11 years 3 months ago #458

  • chris.walsh
  • chris.walsh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
Further to the above, a user of xerte has advised that the Insert button is associated with a list on the left hand side but our left hand control box is empty (I assumed at this point that the Insert button would present a list of items).

Does this help identify the issue?

Kind Regards,
Chris

Please Log in or Create an account to join the conversation.

Creating Projects - cannot Insert 11 years 3 months ago #459

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 397
  • Thank you received: 71
Hi Chris,

Are you able to upload a few screenshots of what you are seeing so that we may see what you are seeing?

John

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.049 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search