error : Syntaxerror: Unexpected end of input

WPPizza – A Restaurant Plugin for WordPress Support General Support error : Syntaxerror: Unexpected end of input

Viewing 20 posts - 1 through 20 (of 27 total)
  • Author
    Posts
  • #7822
    Robert
    Participant

      Hi Olly,

      We are getting this error when trying to remove ingredients from our touch optimized site.

      http://i.imgur.com/A9WzpsH.png

      Any suggestions?

      Regards,

      #7830
      Olly
      Admin & Mod

        as the coding of the plugin doesn’t change regardless of whether on mobile or desktop and you only experience that error on a mobile device, my guess would be that one of your plugins (probably the one that deals with mobile things) throws an error (and it’s probably a missing or too many brackets somewhere)

        turn on debug and have a look at your debug.log

        #7843
        Robert
        Participant

          Hi Olly,

          Cheers for the reply but I’m still struggling with this.

          I’ve contacted WPTouch and they blaming your plugin.

          I’m stuck in the middle here. I’ve tried enabling debug logs I’ve checked the code for errors and I still have no idea what is causing this and where to look.

          If you have any ideas of things we can try I would appreciate it.

          Cheers,

          #7844
          Olly
          Admin & Mod

            if you give me admin access i’ll have a look,

            #7845
            Olly
            Admin & Mod

              mind you…wptouch doesn’t even seem to be active on your site….

              #7846
              Robert
              Participant
                This reply has been marked as private.
                #7847
                Olly
                Admin & Mod

                  >It’s on the test site
                  even better
                  i’ll have a look. lets see what i can find

                  #7848
                  Olly
                  Admin & Mod

                    can i get ftp access to the test site ?

                    #7849
                    Olly
                    Admin & Mod

                      btw dont panic when you see an error on that test site at the moment, just going throughg some process of eliminnation…

                      #7850
                      Robert
                      Participant
                        This reply has been marked as private.
                        #7851
                        Olly
                        Admin & Mod

                          thanks (will make life easier)

                          #7852
                          Robert
                          Participant

                            No problem, if you need anything just ask.
                            Also the test site is for test we have backups so feel free to try anything.

                            Also we tried to add different ingredients to different meal sizes it came out perfect but we couldnt add to cart. I’ll make a new post about this we more details later on.

                            #7853
                            Olly
                            Admin & Mod

                              all very odd,
                              when i download all your plugins and themes etc and use it here , it just works….

                              “the unexpected end of input ” error does not get put into the debug log
                              do you have access to your general server error logs ?

                              >but we couldnt add to cart

                              which menu item ? (i somewhat think this is all related)

                              #7854
                              Robert
                              Participant

                                Only have the error log on cpanel and nothing is logged there.

                                The not adding to cart is when I was testing new functions in the ingredients extension. Any item I added that used the only for certain meal size exclude option wouldn’t add to the cart.

                                #7855
                                Olly
                                Admin & Mod

                                  i think i’m getting there….
                                  need to dig a bit deeper, but i’m reasonably certain that something in wptouch – with some settings – downgrades jquery to version 1.2 (or something)

                                  in which case none of this is a surprise…i’ll write a bit more when i know exactly whats going on

                                  #7856
                                  Robert
                                  Participant

                                    I’m guessing it relate to this bit

                                    Tools & Debug
                                    Use jQuery 2.x in themes (faster for mobile devices) instead of WordPress’ version

                                    I’m extremely grateful for your work on this.

                                    #7857
                                    Olly
                                    Admin & Mod

                                      >I’m guessing it relate to this bit

                                      somewhat (but turning it off throws other errors as there is still the migrating active – just trying to get my local install to add this too so i can find out where to turn it off again)

                                      somehow i think its down to the video handling when needed how it is implemented in wptouch…

                                      i’ll let you know when i know (as i said , locally here it works fine)

                                      #7858
                                      Robert
                                      Participant

                                        Look forwards to your reply.

                                        We don’t need video on mobile 😉

                                        It doesn’t work locally for me, I get the same error.

                                        #7859
                                        Olly
                                        Admin & Mod

                                          so, 7 hours later it transpires that it has nothing (or only marginal) to do with jquery or the version used or any kind of migration , but solely with the fact , that wptouch decides to randomly add classes all over the place…..

                                          i am somewhat torn between having a go at them and thinking I could take account of other plugins doing this sort of thing

                                          in any case, now i know what the story is, and having messed around with the AI plugin on your site, let me do a tidy version as a proper update which will take care of this…

                                          will probably take half an hour or so

                                          #7860
                                          Olly
                                          Admin & Mod

                                            as it happens, while doing all this, i also discovered a couple of other – albeit inconsequential and minor – things i might as well do/improve while updating the plugin…

                                          Viewing 20 posts - 1 through 20 (of 27 total)
                                          • The topic ‘error : Syntaxerror: Unexpected end of input’ is closed to new replies.