Support Forums
ATutor Bug Reports
1.6.1 beta 2: various
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | 2 | 3 | ||
vegard![]() | Subject: 1.6.1 beta 2: various | |
| looks like 1.6.1 is starting to get there forums forums are broken. if you reply to a thread you are redirected to: /atbeta2/myslug/forum/1/1/forum.html - which is a blank page. the reply is however posted to the db. also, a detail, the new fieldset does not wrap around the post button. URLs this is coming along nicely, but some issues still: * in default theme, if you click on the course icon in the header the slug is lost, while it's not when you click on "home" * search: search results are using the old URL structure some redundant info in URLs: file storage: /atbeta2/myslug/file_storage/index/1/1/2/ tests, intro page: /atbeta2/myslug/tools/test_intro.php/tid/1/ tests, all questions on one page: /atbeta2/myslug/tools/take_test.php/tid/1/ tests, one question per page: /atbeta2/myslug/tools/take_test_q.php/tid/1/ glossary, on page #2+: atbeta2/myslug/glossary/index.php/p/3#list/ content editor media tag still not working, and also some new bugs introduced. here's all: * height / width is inherited, so all media elements get the same h/w as the first one * media tag without h/w specified are printed out as plain text (only tested on a flv file) * atutor pretty much grinds to a halt if you add some media, view it and try to do anything. I'm guessing an infinite loop is started in the output.inc.php Posted: 2008-06-03 09:00:30 | ||
vegard![]() | Subject: Re: 1.6.1 beta 2: various | |
| also, when pasting the following into a browser's adress field: [FULL URL]/atbeta2/myslug/content/31/ it finds the page, but the URL is now; [FULL URL]/atbeta2/go.php/myslug/content.php/cid/31/content/31/ it seems that this is only happening if a session coockie is not set yet (I'm guessing that, as it happens if you do it in a "fresh" browser, but not if you allready have done it once and then try it again in a different tab..) Posted: 2008-06-03 09:10:32 | ||
harris![]() | Subject: Re: 1.6.1 beta 2: various | |
| Yeah, I left the icon's link out because it affects the theme's file. Is it necessary to modify search's and the home icon's links?
Posted: 2008-06-03 10:04:24 | ||
harris![]() | Subject: Re: 1.6.1 beta 2: various | |
confirmed
Posted: 2008-06-03 10:14:56 | ||
harris![]() | Subject: Re: 1.6.1 beta 2: various | |
| Thanks, this is also confirmed. Sorry about the spam, I am reading the list slowly
Posted: 2008-06-03 10:32:01 | ||
vegard![]() | Subject: Re: 1.6.1 beta 2: various | |
| thanks Harris - it's probably not important to fix the course icon and search results, atleast not for us, and atleast not now. I'm just reporting what I find Posted: 2008-06-03 14:39:23 | ||
greg![]() | Subject: Re: 1.6.1 beta 2: various | |
| FYI, FLV is not one of the media tags supported formats. Posted: 2008-06-04 16:59:17 | ||
vegard![]() | Subject: Re: 1.6.1 beta 2: various | |
| I know, I actually tested on a SWF, but typed FLV for some reason, the functionality still broken though Posted: 2008-06-05 09:22:58 | ||
harris![]() | Subject: Re: 1.6.1 beta 2: various | |
confirmed
Posted: 2008-06-05 16:45:46 | ||
harris![]() | Subject: Re: 1.6.1 beta 2: various | |
| Hi Vegard, I just need a quick confirmation on the system you are testing on. Which version of PHP are you testing your system on? 4.3.9 or 5.2.3? Reason why I am asking is that I have just come across a PHP bug that pretty url might fail prior to version 5.2.x. Posted: 2008-06-09 16:42:49 | ||
vegard![]() | Subject: Re: 1.6.1 beta 2: various | |
| hia Harris, this last testing was on the 4.3.9 (production) system: ATutor Version: 1.6.1. PHP Version: 4.3.9 MySQL Version: 4.1.20 OS: Linux 2.6.9-42.0.3.ELsmp Posted: 2008-06-09 17:33:20 | ||
harris![]() | Subject: Re: 1.6.1 beta 2: various | |
| Forum's broken link and content's media tag are now fixed on svn. Posted: 2008-06-11 11:10:10 | ||
vegard![]() | Subject: Re: 1.6.1 beta 2: various | |
| hia, testing on nightly from 12.06 and the forums are again working, but the media tag is still broken. we'll have Gorzan here to have a look at it for now, and hopefully we can make it work and deliver a patch to you for it.
Posted: 2008-06-16 03:41:40 | ||
gorzan![]() | Subject: Re: 1.6.1 beta 2: various | |
| Okay, so I found the error in the media-tag parser, not quite sure what to do about it though. The function embed_media first does a preg_match for width/height and stores these in $width and $height. It then goes on to do a preg_replace for all media types and uses the $width/$height it found in the first preg_match. The width/height search needs to be done individually for each entry. I'm not entirely sure how preg_replace works, but I'm going to try a few ideas. Anyone know why the youtube video preg_replace is run twice btw? Posted: 2008-06-16 05:10:49 | ||
gorzan![]() | Subject: Re: 1.6.1 beta 2: various | |
| Allright, I think I've got it now. Since the size has to be set individually for each video I had to rework the code a bit, and the procedure for each individual type of media is a bit longer than it was. I've only tested for youtube videos, but the idea is the same for all media. Going to work through the rest of the media types and wrap this into a patch, then submit it. Please let me know if I've done this in a horribly complex way, and if a more elegant solution is apparent.. Posted: 2008-06-16 07:02:56 | ||
| Page: 1 | 2 | 3 | ||
You must be signed-in to post.





