Member
Member
jackdaw   27-02-2012, 20:48
#1

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:

Warning: include() [function.include]: Failed opening '/collecties/themes/jacktummers/zenfooter.php' for inclusion (include_path='.:/var/php5.3/lib/php') in /srv/jackdaw/www/www.jacktummers.nl/collecties/themes/jacktummers/album.php on line 68

Member
Member
Michel Gagnon   27-02-2012, 21:32
#2

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: ``
(you could actually find the first part of the code from SERVERPATH, if my memory is correct.)

Member
Member
jackdaw   27-02-2012, 22:03
#3

Thank you! I thought I had to use the zp_themeroot variable because this is also used to include the themes stylesheet.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.