We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32017
    • 151 Posts
    see this page and please help sad

    were using the latest version

    http://www.mediapixel.co.uk/contact
      London web design - MODx specialists
      • 10487 MODX Staff
      • 1,535 Posts
      Erm, okay ... so you have a 404. It would help if we had more information like:

      1. are you seeing an error message when logged into the manager (if so, what is it - minus any sensitive information like database name etc.) - remember, non-logged in users won’t see the parser errors.
      2. was it working and now not working?
      3. have you changed/added anything on your site since it last worked?

      That’s for starters wink
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 32017
        • 151 Posts
        :S look again mate dont think your seeing the same as me.. we do have a 404

        try typing mediapixel.co.uk/fhjbsjfhbs to see it

        goto the contact page link from the main page and you will see the error were getting


        thanks.
          London web design - MODx specialists
          • 10487 MODX Staff
          • 1,535 Posts
          Yes, that’s what I did ... I used the link off the main page. But, parser errors are now hidden from front-end visitors - if the page has a parser error, then the page is redirected to the error page. Unless you are logged into the manager, then you will see the parser errors.

          So, as I’m not logged in your site, I only get to see the error page when trying to view the ’Contact’ page.
            Garry Nutting
            Senior Developer
            MODX, LLC

            Email: [email protected]
            Twitter: @garryn
            Web: modx.com
            • 32017
            • 151 Posts
            ohh i didnt realise..

            here is the error mesage im getting

            « MODx Parse Error »

            MODx encountered the following error while attempting to parse the requested resource:
            « PHP Parse Error »

            PHP error debug
            Error: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration
            Error type/ Nr.: Warning - 2
            File: /home/mediapix/public_html/manager/includes/document.parser.class.inc.php(748) : eval()’d code
            Line: 150

            Parser timing
            MySQL: 0.0017 s (4 Requests)
            PHP: 0.0342 s
            Total: 0.0359 s
              London web design - MODx specialists
              • 10487 MODX Staff
              • 1,535 Posts
              Okay, that narrows it down quite a lot. It’s a problem with one of the snippets on that page - what snippets are you using on the ’Contact’ page?

              The error is specifically about using URLs in the file_get_contents() function, as opposed to the full file path - it looks like your server configuration doesn’t allow URLs to be used with this function. So, hopefully, if we can identify the snippet that’s causing the problem, then we can fix that problematic file_get_contents() call.
                Garry Nutting
                Senior Developer
                MODX, LLC

                Email: [email protected]
                Twitter: @garryn
                Web: modx.com
                • 32017
                • 151 Posts
                using the ajax contact form snippet... im sure its worked all week as we have had many potential clients use it to get in touch with us ...

                must be something to do with the host?

                  London web design - MODx specialists
                  • 25663 MODX Staff
                  • 12,272 Posts
                  Also, a bit more info on your configuration would be helpful: Need more information as outlined in the sticky topic in the General Support category:

                  Before posting requests for help
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 26435
                    • 1,193 Posts
                    maybe this thread would offer some insight.
                    http://modxcms.com/forums/index.php/topic,8182.msg73489.html#msg73489

                    It sounds like a problem with php.ini to me.
                    The link above is regarding the MODx Resource Wizard Module, but it tries to include a remote file. there is also another directive in the php.ini called allow_url_fopen that may be the culprit.

                    -sD-
                    Dr. Scotty Delicious, Scientist.
                      Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                      All of the above... in no specific order.


                      I send pointless little messages