Forum
Errors on index.php
I am getting these errors onmy index.php. How to I fix this?
Warning: include(/home4/digitale/public_html/index.php): failed to open stream: No such file or directory in /home4/digitale/public_html/perch/core/runway/start.php on line 27
Warning: include(): Failed opening '/home4/digitale/public_html/index.php' for inclusion (include_path='.:/usr/local/php53/lib:/usr/lib/php:/usr/local/lib/php') in /home4/digitale/public_html/perch/core/runway/start.php on line 27
"No such file or directory". The file is not there.
It is there, though, default home page? /public_html/perch. There is a index.php page public_html/perch/index.php
When I go to view home page in Perch that's what I get on the page.
! (https://www.dropbox.com/s/02e6co4icmbsv4e/screenshot.png?dl=0)
If you're seeing that then it looks like your web server isn't parsing PHP.
Did you get a pass from the compatibility test?
I have used Perch on the same server and have had no problems.
So is PHP parsing now?
No I get the same errors as before on index.php. Would it be any good in deleting the version I have and starting with a fresh version ?
The first thing to do would be to make sure you get a pass from the compatibility test.
It passed the compatibility test, although I started from scratch again.
Why am I getting this error:
Parse error: syntax error, unexpected ']' in /home4/digitale/public_html/perch/templates/pages/home.php on line 9
Are you running PHP 5.3? Runway requires 5.4 or greater.
PHP 5.4.41 version is okay, but a little out of date. Consider updating soon.
Ah, I see it. This:
should be:
Thanks Drew that bit worked.
OK, the footer is not showing up on the 'web page' but is showing in the source code (as above).? Nothing else on the page at present.
<!-- Undefined content: Intro -->I have this line at the start of the footer code in the source code, what does it mean?
That just means you have a region called Intro that doesn't have any content yet.
Thanks
Were can I find / see how to set up php for master pages.
e.g. the difference between ~~ ), ]);
, ]);
~~~ thanks
It's not different for master pages, you just had a basic PHP syntax error.