Viewing 12 replies - 16 through 27 (of 27 total)
  • Plugin Author DCoda

    (@dcoda)

    This has me totally confused as to the cause if it happening on 3 different systems.
    Any chance of a full diag file from the other 2 hosts, then maybe i can find a common cause.

    -D

    Thread Starter JimmyAL

    (@jimmyal)

    The diag file from tikolah was sent to you by the contact form previously. Here is the one from Hostgator (a top-level paid host, probably the best of the NET):

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Plugin Author DCoda

    (@dcoda)

    please send the diags to
    https://dcoda.co.uk/contact/

    Plugin Author DCoda

    (@dcoda)

    Thanks, that might have helped. We just need to do a bit of research and and try to configure a test server.
    Since both your problem servers are different version of php that can be ruled out. But they php handler in both cases seems to be fast/cgi, our test system where either cgi or apache, so that could be a probable cause.
    We’ll post more info when we have some.

    Regards
    -D

    Plugin Author DCoda

    (@dcoda)

    We’re having trouble finding a compatible fastcgi confirmation for our test servers.

    Another debug version is available
    https://downloads.www.ads-software.com/plugin/quizme.2.4.1.debug4.zip
    This has had most of the results code removed, and we will add it back line by line till we can see the problem, if you would be so kind as to try it on your servers.

    regards
    D

    Thread Starter JimmyAL

    (@jimmyal)

    The issue seems to persist. The error is slightly different, but the variation is not that big:
    Parse error: syntax error, unexpected ‘{‘ in /home/mihaij/public_html/freeenglishexercises.com/wp-content/plugins/quizme/library/base/view.php(107) : eval()’d code on line 1
    I’ve also sent you the diag!

    Plugin Author DCoda

    (@dcoda)

    Can i take it that is still only happening on the results page and nowhere else?
    This is even simpler code for the results page as a test.
    https://downloads.www.ads-software.com/plugin/quizme.2.4.1.debug5.zip

    A diag file is not required, that only give me info about your setup, and not more info about the problem.

    Thread Starter JimmyAL

    (@jimmyal)

    Well, it seems to have a curse:
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/mihaij/public_html/freeenglishexercises.com/wp-content/plugins/quizme/library/base/view.php(107) : eval()’d code on line 1
    Try and use a home server like WAMP and see if you get the same error!

    Plugin Author DCoda

    (@dcoda)

    I was expect that to work at least. The code being evaluated was just and echo to the screen, and other code has been evaluated many times to get to the results screen.

    One of the test servers is xammp and everything works fine for that. I believe that the problem maybe be with fastcgi, which we have had problem trying to locate a virtual installation or an installation for osx. However we have been given full access to a server that should have fastcgi so we can do some full testing.

    Plugin Author DCoda

    (@dcoda)

    The plugin has been tested fully on dreamhost which is an almost identical configuration to host gator, unfortunately for the problem everything worked fine.

    Please delete all the existing forms, disable all other plugins and delete the the quiz plugin and do a fresh install.

    I don;t think there is much left that can be done.

    The function that is failing has already been run many times before it gets to the results page, the code it is running is 100% valid code. There seems no sense to the fault, and clues to the cause of the problem on your two systems that can be replicated elsewhere.

    Regards
    D

    Plugin Author DCoda

    (@dcoda)

    Well good news, sort of. I sponsor has donated some space on a hostgator server to help get this sorted. We have managed to replicate the problem. Now we can do some thorough testing to get this sorted.

    First thoughts though as that the quiz itself is not showing correctly, ie all the options on one line. It seems to imply that it is down to the way the OS deals with carriage return and line feeds.

    Plugin Author DCoda

    (@dcoda)

    Good news a solution has been found. We just need to be a little more explicit in the definition of a few things to copy with different configurations.
    The plugin is being tested just to make sure there are no knock on affects of this change on your or other systems.
    There should be a release in a few days.

    Regards
    D

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘[Plugin: QuizMe] How to publish quizes’ is closed to new replies.