Loading...
 
[edu.t.o] Users Main Forum

[edu.t.o] Users Main Forum


Error messages when creating assignments

posts: 3
I get the following message when I click on the assignment menu item to create an assignment.

Notice: Undefined variable: ret in /opt/lampp/htdocs/lib/aulawiki/periodslib.php on line 39

When the page shows up and I try to create an assignment I get the following errors:

Notice: Undefined index: periodId in /opt/lampp/htdocs/aulawiki-assignments_admin.php on line 55

Notice: Undefined index: startDate in /opt/lampp/htdocs/aulawiki-assignments_admin.php on line 55

Notice: Undefined index: endDate in /opt/lampp/htdocs/aulawiki-assignments_admin.php on line 55

I'm running AulaWiki 1.5, Tikiwiki 1.9.7, and php 5.2.2.

The dropdown box "Period" is empty and I can't type anything into it. I see in the database that the period table is empty. Is this possibly the problem? If so, how do I get the right data into that table?

This is a new install so I may just have something misconfigured.

This is complete overkill since I only have one student but I love the features that this has, "if" I can get them to work!

Any suggestions? I'm slightly familiar with programming so I can edit files to correct this, but I just don't know enough about php or the way your program works to be able to correct this without help.

(Sorry for posting in the wrong forum, I thought I was IN the developers forum!)
posts: 158
Hi "the professor"



You're welcome to help us improve AulaWiki (what you found seems to be a bug, on a feature that has never been used for production, as far as I know).



If you want to help fixing it, there are some basic instructions to get you intorduced in Tiki coding at:

http://dev.tikiwiki.org/TikiDevNewbie



And you can request for some help on irc (ask user sylvieg , if no other people answers for some time, since she is involved in improving tiki for education, besides general coding).

How to connect to tikiwiki channel in IRC?: http://tikiwiki.org/ConnectingToIrc



Javier Reyes, the original author of AulaWiki haven't been able to keep on his work for the last months, so if you find other developers to improve AulaWiki, we can share resources to pay for them... (we still have some modest funding to pay for specific improvements in AulaWiki)...

http://gclub.ub.es/carpetiki/pendents



Cheers, and welcome to "Tikiwiki for Education" Community :-)



posts: 3
I seem to have found the problem, but can't fix it. It appears that the mod on mods.tikiwiki.org is missing some files. I did a search for the routine that is supposed to add the "period" data and the only place it shows up is in the file mentioned in my first post. It's not called from any other file, so evidently the files that call that routine are missing.

This means that no period information is present in the database, so it can't be used in the application. I suspect the errors come from either this data missing, or the variables used in the files referenced in my previous post are first initialized in one or more of the missing file(s).

So I don't think it's a "bug" in the program itself, but just a case of missing files in the mod.

PS, I tried stuffing some "dummy" data in the database but still got the same errors, so I think it's more a matter of the variables not being initialized because of the missing files.

posts: 19
Hi,
try to insert this on the database:
INSERT INTO `aulawiki_period` ( `periodId` , `periodTypeId` , `name` , `description` , `startDate` , `endDate` , `uid` , `gradeWeight` )
VALUES (
NULL , '1', 'Q1', 'Q1 period', '0', '0', '123456789', '50'
), (
NULL , '1', 'Q2', 'Q2 period', '0', '0', '54321', '50'
);


There is a problem with the initialization data for the table aulawiki_period. On this table you can define the evaluation periods. This table need an administration page.

Regards
Javier

posts: 3
Thanks for the previous tip. That got rid of the first two messages. I had tried stuffing "dummy" info into the fields but I must have put the wrong type info or something. Now I get to the assignment screen without errors and I have the period id in the dropdown box but I still get these two errors when I actually try to create an assignment. Seems that something else is still wrong.

Notice: Undefined index: startDate in /opt/lampp/htdocs/aulawiki-assignments_admin.php on line 55

Notice: Undefined index: endDate in /opt/lampp/htdocs/aulawiki-assignments_admin.php on line 55

I'm getting a feel for the program thanks to the tips you gave in your first post so I've got some ideas on what may be causing these errors. I'll check on them as time permits.

I hated to do this but until I've got this system working I've had to install another one because of time constraints placed upon the girl I'm tutoring. I will continue to work on this when I have time available as I love the idea of the seamless integration into the tikiwiki. (It took me a while to convince her to log on and register to the TikiWiki, and now I have to convince her to log on to an entirely different program also!)

I'll let you know if I get this fixed.

Update: This didn't help. I found that it's acting exactly the same as when I put dummy information into the database, except that now the period ID does show up. It creates the assignment and it shows up in the list but when I click on it to view or modify it I get the message "Workspace Not Found". Somehow it's evidently not recording which workspace it is assigned to. Let you know more when I find out more.


Switch Language