Advertisement:

Author Topic: SMF Quiz  (Read 368205 times)

Offline Rock Lee

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: SMF Quiz
« Reply #980 on: December 06, 2017, 09:57:38 PM »
Just curious has anyone installed this on 2.0.15 with any success ?
Just emulate the required version and I install it without major problems ... now I have tested it locally.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2017
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline SaltedWeb

  • Full Member
  • ***
  • Posts: 610
  • Calm down your being very undude
Re: SMF Quiz
« Reply #981 on: December 06, 2017, 10:39:48 PM »
Tried a couple different options at install still wont install properly seems the issue is  with Sources/Subs.php
I think another mod , modified it as I can't find the correct line for it,
“Yeah, well, you know, that’s just, like, your opinion, man.”

Offline Rock Lee

  • Sophist Member
  • *****
  • Posts: 1,174
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: SMF Quiz
« Reply #982 on: December 06, 2017, 10:44:41 PM »
Tried a couple different options at install still wont install properly seems the issue is  with Sources/Subs.php
I think another mod , modified it as I can't find the correct line for it,

Well I test it in a clean installation, what other modification has been made? can that be interfering with the installation ...


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2017
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline br360

  • Lead Support Specialist
  • SMF Hero
  • *
  • Posts: 2,020
    • GenXcommunity
Re: SMF Quiz
« Reply #983 on: December 06, 2017, 10:51:35 PM »
There are two edits to subs.php this mod makes.

Which edit failed and what is it looking to add?

Offline SaltedWeb

  • Full Member
  • ***
  • Posts: 610
  • Calm down your being very undude
Re: SMF Quiz
« Reply #984 on: December 06, 2017, 10:59:18 PM »
Well I found the right code to change and it allowed the install with no errors now.
But it gives a database error when trying to add questions.
It comes up with
Wrong value type sent to the database. Integer expected. (id_quiz) in the error log its: SMFQuizDb.php
that its not sending correctly too.
“Yeah, well, you know, that’s just, like, your opinion, man.”

Offline SaltedWeb

  • Full Member
  • ***
  • Posts: 610
  • Calm down your being very undude
Re: SMF Quiz
« Reply #985 on: December 06, 2017, 11:01:26 PM »
I am testing this on a test domain not a used forums. Wanted to see if I could get it to work there. I am going to uninstall all mods and one by one see what is cause the issue, I have 7 mods including simple portal. Thanks guys I think I can poke around enough to track down the issue.
“Yeah, well, you know, that’s just, like, your opinion, man.”

Offline br360

  • Lead Support Specialist
  • SMF Hero
  • *
  • Posts: 2,020
    • GenXcommunity
Re: SMF Quiz
« Reply #986 on: December 06, 2017, 11:02:01 PM »

Offline SaltedWeb

  • Full Member
  • ***
  • Posts: 610
  • Calm down your being very undude
Re: SMF Quiz
« Reply #987 on: December 07, 2017, 08:24:14 PM »
So tried a bunch on different things reading up with what others have tried.
So I tried a fresh unadulterated forum and still get this error Wrong value type sent to the database. Integer expected. (id_quiz)  error in File: Sources/SMFQuizDb.php
Not sure why but in an untouched forum installs but gives errors and wont create any quizes. I am going to bail on help on this, I remember a couple years ago using this
and it was very problematic for me, thought id give it a go, my forum runs clean but this doesn't play nice for some reason with this. Would have solved some education
areas I wanted to include in my site....and then have a test for them. Thanks again...
“Yeah, well, you know, that’s just, like, your opinion, man.”