4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: kmk on August 20, 2007, 09:51:24 PM
-
Hello ..
The problem in the course of my image
Watch this :
Http://www.boammar.com/album/
Warning: Unknown(4menu2.php): failed to open stream: No such file or directory in /home/boammar/public_html/album/includes/template.php(101) : eval()'d code on line 69
Warning: Unknown(4menu2.php): failed to open stream: No such file or directory in /home/boammar/public_html/album/includes/template.php(101) : eval()'d code on line 69
Warning: (null)() [function.include]: Failed opening '4menu2.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/boammar/public_html/album/includes/template.php(101) : eval()'d code on line 69
File template.php
Annexes
Possible quick solution? ?
-
In one of HTML template file, one of tag no {if ..., {endif ..., {endif ... or {endifnot ... for condition. Must do.
Use custom template from templates free of forum ?
-
Hello;
the file "4menu2.php" is in the template 4waters directory. It should be at the root of your gallery, here: http://www.boammar.com/album/, where index.php is.
This file menu is called by:
<?php include("4menu2.php"); ?>
So move this file to your gallery root or change every template page that calls it.
You will have to change every:
<?php include("4menu2.php"); ?>
to:
<?php include("{template_url}/4menu2.php"); ?>
or:
<?php include("templates/4waters/4menu2.php"); ?>
The easiest way is to move that file. No file to modify.
-
Nota: PHP_CODE must be 1 for use: <?php include("the_file.php"); ?> in HTML (+ when use {template_url} with include). Register vars should here. ;)
-
kmk uses 4images 1.7.4 and PHP code execution is declared in constants.php by default :roll:.
// Allow execution of PHP code in templates
define('EXEC_PHP_CODE', 1);
-
Default or no, option can edit from user.
-
Hello;
the file "4menu2.php" is in the template 4waters directory. It should be at the root of your gallery, here: http://www.boammar.com/album/, where index.php is.
This file menu is called by:
Code:
<?php include("4menu2.php"); ?>
So move this file to your gallery root or change every template page that calls it.
You will have to change every:
Code:
<?php include("4menu2.php"); ?>to:
Code:
<?php include("{template_url}/4menu2.php"); ?>or:
Code:
<?php include("templates/4waters/4menu2.php"); ?>
The easiest way is to move that file. No file to modify.
Tell me the name of brotherly possible mold or file the required amendment?
-
kmk uses 4images 1.7.4 and PHP code execution is declared in constants.php by default .
Code:
// Allow execution of PHP code in templates
define('EXEC_PHP_CODE', 1);
Tell me the name of brotherly possible mold or file the required amendment? :?
-
The file "4menu2.php" is in the template 4waters directory. It should be at the root of your gallery, here: http://www.boammar.com/album/, where index.php is.
Tell me the name of brotherly possible mold or file the required amendment?
includes/constants.php file ... use 1 for PHP inside HTML. 0 for no use inside.
-
Thankfully What Gosartoa problem has been solved :mrgreen:
:mrgreen:
:mrgreen: