1
Mods & Plugins (Releases & Support) / Re: [MOD] guestbook
« on: September 08, 2008, 06:27:21 PM »axlrose:
try this: http://www.4homepages.de/forum/index.php?topic=7409.msg92357#msg92357
Thanks NICKY!
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
axlrose:
try this: http://www.4homepages.de/forum/index.php?topic=7409.msg92357#msg92357
Did you add any codes besides the code from the very first post?
hmmm... what's wrong in there?
I have no clue. But I'd guess its your editor? What did you use to edit files?
Oh wow, this is a first.
Have you installed any mods before? I'm not sure what to blame, your editor, FTP client or...
All I can suggest is restore your backups and try again.
Actually, i do that already. But, still not working?
Do i have to re install it? What do you think?
In the attached files you don't have it...
hi,
for test, try only with this code in faq.phpCode: [Select]<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: faq.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/
$main_template = "faq";
define('GET_CACHES', 1);
define('ROOT_PATH', './');
define('GET_USER_ONLINE', 1);
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
include(ROOT_PATH.'includes/page_header.php');
//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$txt_clickstream."</span>";
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
"content" => $content,
"msg" => $msg,
"clickstream" => $clickstream,
"lang_control_panel" => $lang['control_panel']
));
$site_template->print_template($site_template->parse_template($main_template));
include(ROOT_PATH.'includes/page_footer.php');
?>
[EDIT]
and btw. like V@no wrote in his previous post this will solve your issue.
Hello and welcome to 4images forum.
faq.php and contact.php are not part of 4images package, you must have made them yourself, and since only they are affected I can assume the problem is in their code.
Either way, this is a weird error. Can you attach faq.php file? (zip it first)