problem z modulem FEU

Pomoc po polsku dla CMS Made Simple
Post Reply
jacaman
New Member
New Member
Posts: 5
Joined: Wed Jan 02, 2008 10:21 pm

problem z modulem FEU

Post by jacaman »

jak w temacie po zainstalowaniu wszystkiego zgodnie z instrukcja w turialu wlanczam modul FEU i dzieja sie dziwne rzeczy nie mogę dalej nic ustawiać ponieważ nie działa moduł brak pul do zaznaczania opcji zdjęcie zamieszczam problemu w załączniku
Attachments
Bez
jacaman
New Member
New Member
Posts: 5
Joined: Wed Jan 02, 2008 10:21 pm

Re: problem z modulem FEU

Post by jacaman »

rozumiem ze mam wstawic
cosik takiego w pliku include.php


ini_set('memory_limit','32M');
wstawiam cześć mojego pliku i proszę o podanie dokładnego miejsca umieszczenia tego kodu jak powyżej dziękuje za pomoc a jeszcze mam pytanko jak zrobić to przeglądnięcie żeby znaleźć kod błędu jak było piane wyżej


<?php

#CMS - CMS Made Simple
#(c)2004 by Ted Kulp (wishy@users.sf.net)
#This project's homepage is: http://cmsmadesimple.sf.net
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#$Id$

$dirname = dirname(__FILE__);
require_once($dirname.DIRECTORY_SEPARATOR.'fileloc.php');

$session_key = substr(md5($dirname), 0, 8);

#Setup session with different id and start it

@session_name('CMSSESSID' . $session_key);

@ini_set('url_rewriter.tags', '');
@ini_set('session.use_trans_sid', 0);
if(!@session_id())
{
    #Trans SID sucks also...
    @ini_set('url_rewriter.tags', '');
    @ini_set('session.use_trans_sid', 0);
    @session_start();
}

/**
* This file is included in every page.  It does all seutp functions including
* importing additional functions/classes, setting up sessions and nls, and
* construction of various important variables like $gCms.
*
* @package CMS
*/
#magic_quotes_runtime is a nuisance...  turn it off before it messes something up
set_magic_quotes_runtime(false);

require_once($dirname.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'misc.functions.php');
require_once($dirname.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'module.functions.php');
debug_buffer('', 'Start of include');

# sanitize $_GET
array_walk_recursive($_GET, 'sanitize_get_var');
jacaman
New Member
New Member
Posts: 5
Joined: Wed Jan 02, 2008 10:21 pm

Re: problem z modulem FEU

Post by jacaman »

ok znalazlem juz blad

Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 381388 bytes) in /home/jacaman/ftp/lib/classes/module_support/modlang.inc.php on line 74

teraz pozostaje mi jedynie pytanie w które miejsce wstawić ten kod ini_set('memory_limit','32M');
dziekuje za  pomoc i pozdrawiam
Badyl

Re: problem z modulem FEU

Post by Badyl »

jacaman wrote:
teraz pozostaje mi jedynie pytanie w które miejsce wstawić ten kod ini_set('memory_limit','32M');
dziekuje za  pomoc i pozdrawiam
Jeżeli możesz to w php.ini lub poprosić swego administratora aby zmienił tą opcję
jacaman
New Member
New Member
Posts: 5
Joined: Wed Jan 02, 2008 10:21 pm

Re: problem z modulem FEU

Post by jacaman »

witam ponownie przeszedłem jeden problem z FEU i pojawil sie kolejny tym razem podczas logowania do strony podurzytkownika kod bledu
string(131) "Smarty error: [in content:content_en line 1]: syntax error: unidentified token ';loogedin()' (Smarty_Compiler.class.php, line 1407)"
Parse error: syntax error, unexpected '&' in /home/jacaman/ftp/tmp/templates_c/55^%%70^707^707A8977%%content%3Acontent_en.php on line 3\


dziekuje za pomoc
numer9

Re: problem z modulem FEU

Post by numer9 »

w swoim kodzie odpowiedzialnym za logowanie się napisałeś

loogedin zamist loggedin - literówka przy wywołaniu zmiennej, która jest tutaj kluczowa. Popraw i powinno ruszyć.
jacaman
New Member
New Member
Posts: 5
Joined: Wed Jan 02, 2008 10:21 pm

Re: problem z modulem FEU

Post by jacaman »

a mam pytanko jak powinien wyglądać caly kod którego mam używać i gdzie go wstawić
na mam w menu logowanie no i podstronę tajne do którego dostęp ma uzytkowanik xxx
gdzie i jaki kod umieścić by działało pozdrawiam
Post Reply

Return to “Polish - Polski”