Had a client move his store to MivaSaaS. There are some pages that are external and currently use php includes to load common html sections.
These sections aren't loading right now. I haven't been able to figure out the problem. I have used absolute path. But, the file attempting to load is in the same folder as the calling html file. (This was a requirement on the other hosts server which is a pain because there are multiple folders the same file needs to reside -- defeats the purposes). There will be a mivascript/MM module solution in the future, but these pages should be working now regardless.
Here's the line not executing:
<?php include('global-header.html'); ?>
I'm not getting error messages.
When I try an ssi method there is not joy either. The file called has .shtml extension for this scenario. Any ideas what I need to do?
In the control panel ssi and php includes are enabled.
What am I missing?
Thanks,
Scott
These sections aren't loading right now. I haven't been able to figure out the problem. I have used absolute path. But, the file attempting to load is in the same folder as the calling html file. (This was a requirement on the other hosts server which is a pain because there are multiple folders the same file needs to reside -- defeats the purposes). There will be a mivascript/MM module solution in the future, but these pages should be working now regardless.
Here's the line not executing:
<?php include('global-header.html'); ?>
I'm not getting error messages.
When I try an ssi method there is not joy either. The file called has .shtml extension for this scenario. Any ideas what I need to do?
In the control panel ssi and php includes are enabled.
What am I missing?
Thanks,
Scott
Comment