Nach Serverumzug Artikel-Inhalte verschwunden

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
missberli
Posts: 26
Joined: Sat 13. Nov 2004, 14:55

Nach Serverumzug Artikel-Inhalte verschwunden

Post by missberli »

Hi,

ich habe vor längerer Zeit für eine Freundin eine Internetseite mit phpWCMS 1.1 RC4 erstellt. Die Seite soll nun auf einen neuen Server umziehen und dabei auf die neueste Version geupdatet werden.

Nun habe ich folgendes Problem:
Ich habe das damals angelegte Backup auf den neuen Server geladen. Die Seite und der Backendbereich sind erreichbar, allerdings werden keine Artikel-Inhalte angezeigt. Layout und Navigationsstruktur sind vorhanden, nur der Inhaltsbereich ist leer :shock:
Im Backend wird die Seitenstruktur und Artikelliste angezeigt, allerdings auch hier keine Artikelinhalte. Neue Artikel lassen sich nicht anlegen.

Was kann hier schief gelaufen sein? In der Datenbank-Tabelle "phpwcms_articlecontent" sind die Inhalte zu sehen. Aber aus irgendeinem Grund werden sie nicht in die Seite eingefügt.

Wäre nett, wenn mir hier jemand helfen könnte.

Es grüßt
missberli
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hallo,

was hält dich davon ab, das update laufen zu lassen ? Ich würde mal vermuten dass es danach funktioniert.

Jedenfalls wäre es das wert, solange du die Originalseite hast.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

hmmm.. das reicht nicht als Antwort...

Ich habe heute eine 1.2.6 auf 1.3.3 gebracht, die mal 1.1 RC4 war... dafür habe ich dem System vor dem upgrade diese conf.inc.php verpasst, die aber noch auf den Server angepasst werden muß, nix mit copy and paste

Ohne Garantie auf Erfolg, aber so sollte es funktionieren. Ganz besonders wichtig sind die Datenbank Kollationen. (phpmyadmin)

Code: Select all

<?php
/*************************************************************************************
   Copyright notice
   
   (c) 2002-2007 Oliver Georgi (oliver@phpwcms.de) // All rights reserved.
 
   This script is part of PHPWCMS. The PHPWCMS web content management system 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.
  
   The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
   A copy is found in the textfile GPL.txt and important notices to the license 
   from the author is found in LICENSE.txt distributed with these scripts.
  
   This script 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.
 
   This copyright notice MUST APPEAR in all copies of the script!
*************************************************************************************/

// phpwcms base values -> needed in any document


// database values from Setup generated
$phpwcms['db_host']          = 'localhost';
$phpwcms['db_user']          = 'XXXXXXX';
$phpwcms['db_pass']          = 'XXXXXXX';
$phpwcms['db_table']         = 'XXXXXXX';
$phpwcms['db_prepend']       = 'XXXXXXXX';
$phpwcms['db_charset']       = 'utf8'; // via sql admin;
$phpwcms['db_collation']     = 'utf8_general_ci'; //ebenso;
$phpwcms['db_pers']          = 1; //zur sicherheit auf 0;

// site values from Setup generated 
$phpwcms['site']             = 'http://XXXXXXXXX/';

$phpwcms['DOC_ROOT']         = 'XXXXXXXXXXXXXXXXX';
$phpwcms['root']             = '';

$phpwcms['admin_email']      = 'XXXXXXXXXXXXX';


// paths 
$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']     = 52428800;                  // Bytes (50 x 1024 x 1024);
$phpwcms['content_width']    = 800;                      // 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']   = 1280;                      // max width of the large preview image  <<<<<--ANPASSEN, kann nicht jeder Server;
$phpwcms['img_prev_height']  = 1024;                      // max height of the large preview image;
$phpwcms['max_time']         = 180000;                   // logout after max_time/60 seconds;

 
// other stuff;
$phpwcms['compress_page']     = 3;        //wenn 1 = Seite komprimieren, 0 = Kompresion aus
$phpwcms['imagick']           = 0;        //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
$phpwcms['imagick_path']      = '';       //Path to ImageMagick
$phpwcms['use_gd2']           = 1;        //if 0 = GD1, 1 = GD2
$phpwcms['rewrite_url']       = 0;        //whether URL should be rewritable
$phpwcms['wysiwyg_editor']    = 2;        //0 = no wysiwyg editor, 2 = FCKeditor, 4 = spaw
$phpwcms['phpmyadmin']        = 0;        //enable/disable phpmyadmin in Admin section
$phpwcms['default_lang']      = 'de';     //default language
$phpwcms['charset']           = 'UTF-8';       //default charset 'iso-8859-1'
$phpwcms['allow_remote_URL']  = 1;        //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms['gt_mod']            = 1;        //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_enabled']     = 0;        //cache On/Off - 1 = caching On / 0 = caching Off (default)
$phpwcms['cache_timeout']     = 14400;    //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
$phpwcms['recipient_count']   = 0;
$phpwcms['inline_download']   = 1; //try to open download document in browser window
$phpwcms['form_tracking']     = 1; //make a db entry for each form
$phpwcms['formmailer_set']    = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better security handling
$phpwcms['allow_cntPHP_rt']   = 1; //allow PHP replacement tags and includes in content parts
$phpwcms['GETparameterName']  = 'id'; //must have a minimum of 2 chars
$phpwcms['BOTS']			  = array('googlebot', 'msnbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler');
$phpwcms['mode_XHTML']        = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional
$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html
$phpwcms['IE_htc_hover']      = 1; // enables HTC Hover for IE < 7 - has no effect in other browsers
$phpwcms['IE_htc_png']        = 1; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers
$phpwcms['timezone_GMT']  	  = '+1';
$phpwcms['Bad_Behavior']      = 1; // enables spam blocking by Bad Behavior
$phpwcms['wysiwyg_template']  = array(	'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 
										'SPAW' => 'default,mini,full,sidetable,intlink',
										'SPAW2' => 'toolbarset_standard,toolbarset_all,toolbarset_mini'  );
$phpwcms['GET_pageinfo']      = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link
$phpwcms['version_check']     = 1; // checks for current release of phpwcms online
$phpwcms['SESSION_FEinit']    = 0; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend


// smtp and Mail values;
$phpwcms['recipient_count']  = 0;                        // Count of Newsletters send in one Step
$phpwcms['SMTP_FROM_EMAIL']  = 'info@mail.com';          // reply/from email address;
$phpwcms['SMTP_FROM_NAME']   = 'phpwcms webmaster';      // reply/from name;
$phpwcms['SMTP_HOST']        = 'localhost';              // 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;

define('PHPWCMS_INCLUDE_CHECK', true);

?>
//Edit: Dann müssen in der neuen Version einige Verzeichnisse umbenannt werden ... steht aber schon hier im Forum
missberli
Posts: 26
Joined: Sat 13. Nov 2004, 14:55

Post by missberli »

Das Update habe ich noch nicht ausgeführt, weil ich erst herausfinden möchte, was beim Serverumzug schief gelaufen ist. Die Dateien wurden 1:1 übertragen, alle Dateirechte stimmen, die config.inc.php wurde angepasst (Datenbank-Zugangsdaten). Eigentlich müsste alles laufen :?

Könnte etwas beim Wiederherstellen der Datenbank schief gelaufen sein? Ich habe die MySQL-Backups mit dem Programm "Dumptimer" durchgeführt und die gezippten SQL-Dateien dann über phpmyadmin in die neue Datenbank eingefügt. Die alte Datenbank war Version 4.0.26, die neue 4.0.25.

Grüße von
missberli
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Na wenn die Daten ohne Fehlermeldung in den sql Server liefen kann es eigentlich nur am Backup liegen (das war ja komplett) und dann eben an den sql Einstellungen der neuen Datenbank.

Evtl kann man das weiter einkreisen, wenn man die gerenderte Seite(n) sieht.
Post Reply