Urgent: config values problems
Urgent: config values problems
Hello,
I'm slowly going insane here.
After installing a PHPWCMS distro in /opt/lampp/htdocs/phpwcms/ using the setup method provided, I can't get the path values right.
Currently I have:
$phpwcms["site"] = "http://www.mysite.com/phpwcms/";
$phpwcms['DOC_ROOT'] = '/opt/lampp/htdocs';
$phpwcms["root"] = "phpwcms";
$_SERVER['DOCUMENT_ROOT'] = '/opt/lampp/htdocs';
with mysite.com obviously being my real site address.
When I browse to mysite.com/phpwcms/login.php, fill in the appropriate credentials and submit, it redirects to mysite.com/phpwcms/phpwcms/phpwcms.php, which is obviously not right.
Pleas help me out, I need help asap, as this site has to be online as fast as possible.
Thanks!
I'm slowly going insane here.
After installing a PHPWCMS distro in /opt/lampp/htdocs/phpwcms/ using the setup method provided, I can't get the path values right.
Currently I have:
$phpwcms["site"] = "http://www.mysite.com/phpwcms/";
$phpwcms['DOC_ROOT'] = '/opt/lampp/htdocs';
$phpwcms["root"] = "phpwcms";
$_SERVER['DOCUMENT_ROOT'] = '/opt/lampp/htdocs';
with mysite.com obviously being my real site address.
When I browse to mysite.com/phpwcms/login.php, fill in the appropriate credentials and submit, it redirects to mysite.com/phpwcms/phpwcms/phpwcms.php, which is obviously not right.
Pleas help me out, I need help asap, as this site has to be online as fast as possible.
Thanks!
Thist must be only$phpwcms["site"] = "http://www.mysite.com/phpwcms/";
Code: Select all
$phpwcms["site"] = "http://www.mysite.com/";
BR
silver
phpwcms 1.2.8 (20060825) · rewrite on · no mods
PHP Version 4.4.2 (CGI)
PHP Version 4.4.2 (CGI)
Please check your configuration in
There you will find most of the important configuration parameters.
As well as the setting for the WYSIWYG editor. (line 63)
For further probs with the WYSIWYG editor please search this forum, they have been discussed many times here ...
good luck
silver
Code: Select all
config/phpwcms/config.inc.php
As well as the setting for the WYSIWYG editor. (line 63)
For further probs with the WYSIWYG editor please search this forum, they have been discussed many times here ...
good luck
silver
phpwcms 1.2.8 (20060825) · rewrite on · no mods
PHP Version 4.4.2 (CGI)
PHP Version 4.4.2 (CGI)
check in your Browser for JavaScript ( must be on!!! ) Errors
turn all Errors and Warnings in php.ini on to see maybe more Information's
also possible with
in index.php just after the <?php
turn all Errors and Warnings in php.ini on to see maybe more Information's
also possible with
Code: Select all
error_reporting(E_ALL | E_NOTICE);
// site values
$phpwcms["site"] = "http://208.109.28.147/";
$phpwcms["admin_email"] = "";
// paths
$phpwcms['DOC_ROOT'] = '/opt/lampp/htdocs';
$phpwcms["root"] = "phpwcms";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
// content values
$phpwcms["file_maxsize"] = 52428800; //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"] = 538; //max height of the large preview image
$phpwcms["max_time"] = 1800; //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten
// 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, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
$phpwcms["phpmyadmin"] = 0; //enable/disable phpmyadmin in Admin section
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "UTF-8"; //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_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["tidy"] = 1; //use tidy to cleanup rendered document
//$phpwcms["tidy_command"] = 'C:/Programme/AppServ/tidy/Tidy.exe -cqm -utf8 -asxhtml'; //use tidy to cleanup rendered document
$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"] = 0; //allow PHP replacement tags and includes in content parts
// 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'] = 'info@localhost';
$phpwcms['SMTP_FROM_NAME'] = 'My Name';
$phpwcms['SMTP_HOST'] = 'localhost';
$phpwcms['SMTP_PORT'] = 25;
$phpwcms['SMTP_MAILER'] = 'mail';
$phpwcms['SMTP_AUTH'] = 0;
$phpwcms['SMTP_USER'] = 'user';
$phpwcms['SMTP_PASS'] = 'pass';
// 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'] = '/opt/lampp/htdocs';
$phpwcms["site"] = "http://208.109.28.147/";
$phpwcms["admin_email"] = "";
// paths
$phpwcms['DOC_ROOT'] = '/opt/lampp/htdocs';
$phpwcms["root"] = "phpwcms";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
// content values
$phpwcms["file_maxsize"] = 52428800; //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"] = 538; //max height of the large preview image
$phpwcms["max_time"] = 1800; //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten
// 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, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
$phpwcms["phpmyadmin"] = 0; //enable/disable phpmyadmin in Admin section
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "UTF-8"; //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_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["tidy"] = 1; //use tidy to cleanup rendered document
//$phpwcms["tidy_command"] = 'C:/Programme/AppServ/tidy/Tidy.exe -cqm -utf8 -asxhtml'; //use tidy to cleanup rendered document
$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"] = 0; //allow PHP replacement tags and includes in content parts
// 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'] = 'info@localhost';
$phpwcms['SMTP_FROM_NAME'] = 'My Name';
$phpwcms['SMTP_HOST'] = 'localhost';
$phpwcms['SMTP_PORT'] = 25;
$phpwcms['SMTP_MAILER'] = 'mail';
$phpwcms['SMTP_AUTH'] = 0;
$phpwcms['SMTP_USER'] = 'user';
$phpwcms['SMTP_PASS'] = 'pass';
// 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'] = '/opt/lampp/htdocs';
Looks fine, of course. I don't use FCKeditor so I'm not sure about what cause these problems. I see you are using IIS and there has been many users with various problems (too many to mention - just search 'IIS'). I know that that editor does a check for isCompatible that uses $_SERVER['HTTP_USER_AGENT'] and the config of that WYSIWYG uses $_SERVER["PHP_SELF"]. You might want to examine your phpinfo() command to see if they are defined and valid. Anyone else have ideas? I'm a spaw guy for the little things (don't even use -it- much). EditPlus is my friend! 

- Oliver Georgi
- Site Admin
- Posts: 9918
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Would you try FF 1.5 too on your Mac. And if possible install phpwcms 1.2.8 available here:
http://www.phpwcms.de/forum/viewtopic.php?t=11933
Oliver
http://www.phpwcms.de/forum/viewtopic.php?t=11933
Oliver