: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.
-
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
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
-
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
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?