We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2734
    • 165 Posts
    Hm. It looks exactly like the error message someone with PHP4 was getting. Maybe you should place a php file with a call to phpinfo() in your MODx installation directory. Then open the URL in the Browser and look what PHP Version is being displayed... just to make sure, it’s really PHP 5.
    // contents of php info file
    <?php
    phpinfo();
    ?>
    


    Or maybe you left the <?php ?> tags in the module code? You’ll have to remove these too, otherwise it won’t work.


      • 14951
      • 151 Posts
      Quote from: banal at Nov 22, 2008, 08:44 AM

      Hm. It looks exactly like the error message someone with PHP4 was getting. Maybe you should place a php file with a call to phpinfo() in your MODx installation directory. Then open the URL in the Browser and look what PHP Version is being displayed... just to make sure, it’s really PHP 5.
      // contents of php info file
      <?php
      phpinfo();
      ?>
      


      Or maybe you left the <?php ?> tags in the module code? You’ll have to remove these too, otherwise it won’t work.




      Haha, sure enough...When I uploaded the PHP file it says I have 4.4.8! I suppose this is something I’m going to have to talk with my host about. Thanks for the tip!

      -Jared
        • 22840
        • 1,572 Posts
        Hello.

        I have installe this and am getting the following error:
        « MODx Parse Error »
        MODx encountered the following error while attempting to parse the requested resource:
        « EasyPoll Snippet Error: Unable to locate language File for language: en »
         
        Parser timing
          MySQL: 	0.0097 s	(16 Requests)
          PHP: 	0.1767 s	 
          Total: 	0.1864 s	 


        What am I doing wrong??

        I have uploaed all files and installe the modual ??

        Ta

        R ight forget that I was being blond.....

        I now have it installed but it wont display the poll

        Any hel would be great.

        Ta
          • 22840
          • 1,572 Posts
          Right, Ignore the above I’ve got it working.

          What I would really like though is for it to tie in with the AnythingRating system so I could do a poll of the top 10 voted business on my site,

          IE: Create a poll that would pull the top 10 business from the AnythingRating system and display them so that people could vote for a overall winner of the month.

          Is this possible huh???
            • 2734
            • 165 Posts
            There are several ways to do so, but none that works "out of the box". Personally i’d probably write a php script that transfers the top 10 entries of the AnythingRating module into the poll tables. You could then run that script as a cron-job or similar to automatically create and display weekly (or monthly) polls
              • 22840
              • 1,572 Posts
              Thanks banal,

              I was hoping that there may be something out of the box as my PHP is not good to say the lease. Not to worry though as it’s not a big issue, just a feature that I would have done if it was a simple thing.

              Thanks for replying.
                • 27572
                • 28 Posts
                Hi!
                EasyPoll ver 0.3.3 said: "No polls available at this time."
                But I,m already create two polls in module page and mark checkbox "visible"..
                Why ? =)
                  • 2734
                  • 165 Posts
                  Quote from: skynetmn at Dec 24, 2008, 01:20 PM

                  Hi!
                  EasyPoll ver 0.3.3 said: "No polls available at this time."
                  But I,m already create two polls in module page and mark checkbox "visible"..
                  Why ? =)

                  Hi. Please check if the following requirements are met:

                  • Start-date must be smaller than or equal to the current Time
                  • Visible checkbox must be checked
                  • Questions must be translated in all Languages
                  • The poll must have at least one Choice, the Choices have to be translated in all Languages as well.
                    • 27572
                    • 28 Posts
                    Quote from: banal at Dec 25, 2008, 08:39 AM

                    Quote from: skynetmn at Dec 24, 2008, 01:20 PM

                    Hi!
                    EasyPoll ver 0.3.3 said: "No polls available at this time."
                    But I,m already create two polls in module page and mark checkbox "visible"..
                    Why ? =)

                    Hi. Please check if the following requirements are met:

                    • Start-date must be smaller than or equal to the current Time
                    • Visible checkbox must be checked
                    • Questions must be translated in all Languages
                    • The poll must have at least one Choice, the Choices have to be translated in all Languages as well.
                    Start date = today (25 12 2008)
                    Visible checkbox - Setting UP

                    I have two lang: Eng & Russian (eq En & Ru) and all (two choises are translated).  May i,m use only one language?
                    Thanks for answers )

                    P.S.: May i,m use Windows-1251 code page or I,m must use onlu UTF-8 ?
                      • 2734
                      • 165 Posts
                      Hm. Strange. Try to set the StartDate to a date in the past (eg. 24-12-2008). Does that change anything?