Page 1 of 1

Two visualiation errors

Posted: Thu 1. May 2008, 11:58
by boudewijn1
Dear forum members,

After installing Phpwcms, I created an article. Subsequently I viewed the article and the following error message appears:

Image

Moreover, when I want to add content to an article these errors appear:

Image

How to solve this problems? Did something went wrong during installation?

Thanks in advance!
Boudewijn

Re: Two visualiation errors

Posted: Thu 1. May 2008, 17:36
by update
Is this a new install (>V 135)with a new fckeditor version?
Did you try to re-upload all files again yet?

Re: Two visualiation errors

Posted: Fri 2. May 2008, 06:14
by boudewijn1
Dear Claus,

This is the version without the new FCKEditor.
The license states: 21/02/2007, version 1.3.3.

I uploaded the 'include' folder for the second time, but again the same problems occur.

Any idea what I should do?

Best regards,
Boudewijn

Re: Two visualiation errors

Posted: Fri 2. May 2008, 16:00
by boudewijn1
Dear Claus,

Maybe the conf.inc.php file is useful:

Kind regards, Boudewijn

<?php

// database values
$phpwcms['db_host'] = 'localhost';
$phpwcms['db_user'] = '-';
$phpwcms['db_pass'] = '-';
$phpwcms['db_table'] = '-';
$phpwcms['db_prepend'] = '';
$phpwcms['db_pers'] = 1;
$phpwcms['db_charset'] = 'latin1';
$phpwcms['db_collation'] = 'latin1_bin';
$phpwcms['db_version'] = 40118;

// site values
$phpwcms['site'] = '-';
$phpwcms['admin_name'] = '-'; //default: Webmaster
$phpwcms['admin_user'] = '-'; //default: admin
$phpwcms['admin_pass'] = '-'; //MD5(phpwcms)
$phpwcms['admin_email'] = 'noreply@noordelijke-unie.nl'; //default: noreplay@host

// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: '/usr/local/psa/home/vhosts/noordelijke-unie.nl/httpdocs//inc'
$phpwcms['root'] = 'cms'; //default: ''
$phpwcms['file_path'] = 'filearchive'; //default: 'filearchive'
$phpwcms['templates'] = 'template'; //default: 'template'
$phpwcms['content_path'] = 'content'; //default: 'content'
$phpwcms['cimage_path'] = 'images'; //default: 'images'
$phpwcms['ftp_path'] = 'upload'; //default: 'upload'

// 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, 2 = FCKeditor, 4 = spaw
$phpwcms['phpmyadmin'] = 0; //enable/disable phpMyAdmin in Backend
$phpwcms['default_lang'] = 'nl'; //default language
$phpwcms['charset'] = 'iso-8859-1'; //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'] = 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
$phpwcms['inline_download'] = 1; //1 = try to display download documents in new window; 0 = show safe under dialog
$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'] = 0; //allow PHP replacement tags and includes in content parts
$phpwcms['GETparameterName'] = 'id'; //must have a minimum of 2 chars
$phpwcms['no_session_start'] = array('googlebot', 'msnbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); //don't start session
$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'] = 0; // enables HTC Hover for IE < 7 - has no effect in other browsers
$phpwcms['IE_htc_png'] = 0; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers
$phpwcms['Bad_Behavior'] = 0; // 1 enables spam blocking by Bad Behavior, 0 off
$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

// 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'] = 'noreply@noordelijke-unie.nl'; // 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);


?>

Re: Two visualiation errors

Posted: Fri 2. May 2008, 16:14
by update
...and you did (re-)upload the complete include folder? Strange, because the error claims to not beeing able to find something, it seems.... or am I completely wrong? :oops:

Re: Two visualiation errors

Posted: Fri 2. May 2008, 16:15
by pepe
Please try the following:

Disable the GTmod to enabled

$phpwcms['gt_mod'] = 1; //0 = Graphical Text MOD disabled, 1 = enabled
to
$phpwcms['gt_mod'] = 0; //0 = Graphical Text MOD disabled, 1 = enabled

Re: Two visualiation errors

Posted: Sat 3. May 2008, 17:28
by boudewijn1
Dear Claus and Pepe,

Thank you both for your involvement.

The first error is solved, so now I can view an article. However the second one is not solved. Within the HTML field, the same 3 errors occur.

What to do?

Again thanks!

Kind regards, Boudewijn

Re: Two visualiation errors

Posted: Tue 6. May 2008, 19:21
by boudewijn1
I solved the problem.

In cnt14.inc.php I had to change line 48 into:
include(PHPWCMS_ROOT.'/include/inc_lib/wysiwyg.editor.inc.php');

Thanks guys for the assistance!