Tagged: fatal error
-
AuthorPosts
-
August 29, 2015 at 5:41 pm #495356
if you try to go at such urls :
http://www.bechandball.fr/wp-content/themes/enfold/then you get error which give thing as :
Fatal error: Call to undefined function get_header() in /home/emmafrou/www/wordpressbec/wordpress/wp-content/themes/enfold/index.php on line 9just google enfold/framework to find many website that will all give you the same error.
Also why don’t you add some index.php or something in the sub directories?
August 31, 2015 at 10:21 am #495685Hey goch,
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.
Thanks,
RikardAugust 31, 2015 at 10:52 am #495700Hi Rikard,
Actually you can take a look at it on your own demos :
http://kriesi.at/themes/enfold-one-page-portfolio/wp-content/themes/enfold/index.phplooking forward
charlesAugust 31, 2015 at 4:19 pm #495942Hey!
Your not supposed to link directly to files like that, WordPress is not going to load that way. Perhaps what your wanting to do is this, http://www.wpbeginner.com/wp-tutorials/disable-directory-browsing-wordpress/.
Regards,
ElliottAugust 31, 2015 at 5:35 pm #496001Hi Elliott,
you did not get the point I think.What I’m saying is that there is a bug that you guys should fix!
It is NOT normal that pointing on any enfold installation lead to an error being display (moreover when this error give some information that can be useful to hackers).
index.php should display a blank page. not a bug information!about disabling directory browsing : of course it’s something enfold’s users can do. but perhaps you could add some blank index.php in there, so that it won’t be displaying anything by default.
September 2, 2015 at 3:02 pm #497158Hi!
If you switch to the default theme it will do the same. Your not supposed to link to template files directly like that.
Best regards,
ElliottSeptember 2, 2015 at 3:40 pm #497191September 2, 2015 at 3:49 pm #497210Just to be sure :
you are saying that there’s no way for you to show a blank page instead of exposing the folder hierarchy if one goes to this index.php?
And I should I consider that by using enfold, everyone can know my server folders hierarchy just by entering that obvious url in any browser?September 3, 2015 at 1:14 pm #497600Hi!
Actually I think this is indeed something that needs to be done by adjusting the server settings. If I link to one of the wordpress default themes on my server it happens as well:
http://kriesi.at/themes/wp-content/themes/twentyten/index.php
Regards,
Kriesi -
AuthorPosts
- You must be logged in to reply to this topic.