Join the Facebook Fan Page.
Started by Diego Andrés, February 18, 2009, 01:08:19 PM
Quote from: emanuele on June 09, 2012, 11:42:38 AM@mageguild: I logged in but I can't see where the quizzes are...@crustybum: as far as I can tell there are several variants of this bug, one should be addressed by the file I uploaded a while ago, but that I realized now I removed and I don't know where I put...
QuoteThe requested file was not found on the server. This could be because it was deleted or it never existed in the first place. Often caused by misspellings of URLs.Page Not FoundRequested URL: http://www.tennis-chat.com/SMFQuiz&sa=quizleagues&id=1
Quote from: emanuele on June 10, 2012, 05:00:14 AMIt seems you are using prettyURL (or equivalent), that could be one of the problems, because I get:QuoteThe requested file was not found on the server. This could be because it was deleted or it never existed in the first place. Often caused by misspellings of URLs.Page Not FoundRequested URL: http://www.tennis-chat.com/SMFQuiz&sa=quizleagues&id=1IIRC you can disable prettyURL by action, I'd suggest you to disable it for SMF Quiz.ETA: apart from that, I got the error (you have already played...) the first time I accessed the league, but after that I didn't get it any more...
Quote from: mageguild on June 10, 2012, 05:37:48 AMThanks for looking into this. I am using a premium MOD for the URL structure which might be what is causing the issues. The URL that you posted, if you change the & to a / it works fine (http://www.tennis-chat.com/SMFQuiz/sa=quizleagues&id=1).
Quote from: emanuele on June 10, 2012, 06:53:32 AMQuote from: mageguild on June 10, 2012, 05:37:48 AMThanks for looking into this. I am using a premium MOD for the URL structure which might be what is causing the issues. The URL that you posted, if you change the & to a / it works fine (http://www.tennis-chat.com/SMFQuiz/sa=quizleagues&id=1).Yep, I did that to go to the league, but then I got the error the first time I tried to play, but after that I was presented with the quiz screen, but empty.To all those having the "already played" problem, please try the attached file and let me know if it works.
Quote from: fiesty on June 10, 2012, 01:03:07 PMhaving used the smf quiz in an previous forum i had, i downloaded the new version of the quiz, to our current forum,but when it came to installing it, i got an "error in package installation" which gave this error , 1. Execute Modification ./Sources/Who.php Test successful* 2. Execute Modification ./Sources/Admin.php Test successful* 3. Execute Modification ./Themes/default/languages/Who.english.php Test successful* 4. Execute Modification ./Themes/default/languages/index.english.php Test successful* 5. Execute Modification ./index.php Test successful* 6. Execute Modification ./Sources/Subs.php Test failed 1. Add After ./Sources/Subs.php Test failed 2. Add After ./Sources/Subs.php Test successful* 7. Execute Modification ./Sources/ManagePermissions.php Test successful* 8. Execute Modification ./Sources/ScheduledTasks.php Test successful* 9. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english.php Test successful* 10. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful* 11. Execute Modification ./Themes/default/languages/Help.english.php Test successful* 12. Execute Modification ./Themes/default/css/index.css Test successfulas can be seen from the above, it is something related to /sources/subs.phpis this an easy fix (bearing in mind that my knowledge of this sort of stuff is minimal, to say the least!) or will it consist of a lot af alteration etc ?the forum is running smf2.0.2 with simple portal 2.3.4 and around 20 other mods installed (any of which coul be causing a conflict ?)any help much appreciated with this,thanks,fiesty
Quote from: Arantor on June 10, 2012, 12:43:39 PMUsing &id= will cause a lot of other problems anyway with users who have mod_security installed. Ideally the mod should be reworked to not use id= in any fashion, but yes, it should be converted to using SMF's standard ; instead.
Quote from: fiesty on June 10, 2012, 02:52:20 PMafter looking at the sources/subs.php file i cannot even begin to see how and what needs changing there ?what should i be looking for in that file that needs changing, and to change it to what ?
Quote from: crustybum on June 10, 2012, 11:54:15 AMCheers Emanuele, will give this a try tomorrow and let you know how i get on. Chris
$data[$k] = $txt['SMFQuiz_Common']['InThe'] . ' <a href="' . $scripturl . '?action=SMFQuiz;">' . $txt['SMFQuiz_Common']['Quiz'] . '</a>';
// SMFQuiz start global $settings, $scripturl; // SMFQuiz end
// SMFQuiz start global $settings, $scripturl; loadLanguage('SMFQuizCommon'); // SMFQuiz end