![]() |
|
Failed to include a custom php page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Failed to include a custom php page (/thread-9707.html) |
Failed to include a custom php page - jackdaw - 2012-02-27 I made a simple zenfooter.php page and called it using this code: `` but I get this error message, although the file exists and in the right location:
Failed to include a custom php page - Michel Gagnon - 2012-02-27 You are calling the footer from another page of your template? If that's the case, you need to declare the relative address. I.e. ``. If you insist on declaring an absolute path, the exact way to do it depends on your server's configuration. In my case, it would be something like: `` Failed to include a custom php page - jackdaw - 2012-02-27 Thank you! I thought I had to use the zp_themeroot variable because this is also used to include the themes stylesheet. |