Problem nach Update 1.2.9

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Problem nach Update 1.2.9

Post by salmi »

Hallo,


und zwar habe ich gerade das Update von 1.2.8 auf 1.2.9 durchgeführt daten alles auf den server überspielt und jetzt habe ich ein problem wenn ich auf die Homepage gehe bekomme ich nur einen meldung

You Cannot Access This Script Directly, Have a Nice Day

woran liegt das Problem ?

Bitte um Hilfe Stefan
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Wahrscheinlich ein fehlender Eintrag in der conf.inc.php

Code: Select all

define('PHPWCMS_INCLUDE_CHECK', true);
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Post by salmi »

und wo muss ich diesen Code hinzufügen

im anhang ist meine conf.inc.php

Code: Select all

<?php

// database values
$phpwcms["db_host"]           = "";
$phpwcms["db_user"]           = "";
$phpwcms["db_pass"]           = "";
$phpwcms["db_table"]          = "";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 0;

// site values
$phpwcms["site"]              = "http://www.feuerwehr-stadlpaura.at/";
$phpwcms["admin_email"]       = "office@feuerwehr-stadlpaura.at";

// paths
$phpwcms["DOC_ROOT"]          = "daten:usr/vhosts/5BJ27/www.feuerwehr-stadlpaura.at/htdocs";         //default: $_SERVER['DOCUMENT_ROOT']
$phpwcms["root"]         		= "";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 2;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "de";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"]  = 0;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"]            = 0;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"]       = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"]     = 1;  //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"]    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"]  = 1;  //allow including of custom external scripts at frontend rendering
$phpwcms["cache_timeout"]     = 0;  //default cache timeout setting in seconds - 0 = caching Off
$phpwcms["imgext_disabled"]   = '';  //comma seperated list of imagetypes which should not be handled "pdf,ps"
$phpwcms["multimedia_ext"]    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'office@feuerwehr-stadlpaura.at'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = 'mailhub.itex.at'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = 'daten:/usr';


?>

User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Am besten am Ende:

Code: Select all

define('PHPWCMS_INCLUDE_CHECK', true);
?>
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Post by salmi »

Danke das erste problem ist gelöst

jetzt habe ich noch eines und zwar ist in der updatedatei die version 1.2.8 auf 1.2.9 nicht angefüht welches datenbankupdate muss ich da auswählen ?

bitte um hilfe

stefan

Danke
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

1.2.7 auf 1.2.9
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Post by salmi »

Hallo,

und zwar habe ich das update durchgeführt und jetzt habe ich ein problem bei der anzeige der Homepage ist ein fehler

siehe auf http://www.feuerwehr-stadlpaura.at

kann mir wer bei diesem fehler helfen ???

Danke
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

steht doch eindeutig da, was fehlt.

Also schau Dir an, ob Du diese fehlenden Dateien mit aktualisiert hast.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Die Datei phpwcms_template/inc_default/article_summary.tmpl exisitert in deiner Installation gar nicht. :shock:

Du solltest dich ein wenig mit den Verzeichnisnamen beschäftigen die sich geändert haben. Denn diese Datei template/inc_default/article_summary.tmpl existiert.

Also hast du in die neuen Verzeichnisse installiert, aber die config nicht angepasst.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Post by salmi »

und was genau muss ich da jetzt anpassen ??

Bitte um Hilfe

DANKE
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

In der conf.inc.php

Code: Select all

$phpwcms['file_path']         = 'phpwcms_filestorage';    //default: 'filearchive'
$phpwcms['templates']         = 'phpwcms_template';    //default: 'template'
$phpwcms['ftp_path']          = 'phpwcms_ftp';     //default: 'upload'
Diese Parameter.

Die bisherigen *.css Dateien sollten natürlich in die neuen Verzeichnisse kopiert werden.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Post by salmi »

Danke
User avatar
salmi
Posts: 200
Joined: Wed 31. May 2006, 19:48
Location: Österreich, Stadl-Paura
Contact:

Post by salmi »

Hallo,

habe jetzt das update auf 1.3.0 gemacht aber die fehler bekomme ich nicht weg habe die selben fehler wie auf update 1.2.9 ! Ich bekomme die fehler nicht weg, kann mir wer helfen ??

Fehler siehe

http://www.feuerwehr-stadlpaura.at

unter mannschaft ist zeigt er mir auch fehler !!

Bitte um Hilfe Danke !!

Stefan
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Beschäftige dich mit deinen Verzeichnissen hatte ich oben schon geschrieben.
phpwcms_template/inc_default/article_summary.tmpl gibt es nicht.
Wohin hast du das Update installiert, nach /template/ oder nach /phpwcms_template/?
In deiner config hast du den PFad /phpwcms_template/ angegeben, also müssen auch in diesem Verzeichnisstrang die fehlenden Dateien stehen.

Kopiere einmal die Datei
template/inc_default/article_summary.tmpl
nach
phpwcms_template/inc_default/article_summary.tmpl

usw.

------------------------
Ist der PFad /phpwcms_filestorage/ vorhanden? Mit dem Bild image_placeholder.png?

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Nordlicht
Posts: 160
Joined: Wed 12. Apr 2006, 08:16
Location: Germany, near Hamburg
Contact:

Post by Nordlicht »

I have the same problem after update with new /template/ path
in config and in the file-structure the frontend.css is just loads
on the root homepage.
In the sorce I see:

Code: Select all

@import url("template/inc_css/baufacts.css");
On all other pages the css in not found and in the source i see:

Code: Select all

@import url("phpwcms_template/inc_css/baufacts.css");
Where can I find the entry for the css import?
Post Reply