Urgent: config values problems

Please post all install related problems here. Visit this forum first for troubleshooting.
haedjin
Posts: 18
Joined: Mon 6. Feb 2006, 11:47

Urgent: config values problems

Post by haedjin »

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!
silver
Posts: 16
Joined: Sun 13. Aug 2006, 04:52
Location: Cologne, Germany

Post by silver »

$phpwcms["site"] = "http://www.mysite.com/phpwcms/";
Thist must be only

Code: Select all

$phpwcms["site"] = "http://www.mysite.com/"; 
Check if it's running with that change applied.

BR

silver
phpwcms 1.2.8 (20060825) · rewrite on · no mods

PHP Version 4.4.2 (CGI)
haedjin
Posts: 18
Joined: Mon 6. Feb 2006, 11:47

Post by haedjin »

Thanks, that worked!

Only, now I can't see any WYSIWYG editors, when I try to edit a WYSIWYG content part... Just a plain textarea with in it my HTML...
silver
Posts: 16
Joined: Sun 13. Aug 2006, 04:52
Location: Cologne, Germany

Post by silver »

Please check your configuration in

Code: Select all

config/phpwcms/config.inc.php
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
phpwcms 1.2.8 (20060825) · rewrite on · no mods

PHP Version 4.4.2 (CGI)
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

if your Version is 1.2.7 or 1.2.8 goto Backend -> Profile and set a WYSIWYG Editor for the User - it's default by 'None'
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
haedjin
Posts: 18
Joined: Mon 6. Feb 2006, 11:47

Post by haedjin »

Alas, my version is 1.2.6, and I tried every possible value in the config file. Still does not work.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

What browser?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

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

Code: Select all

error_reporting(E_ALL | E_NOTICE);
in index.php just after the <?php
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
haedjin
Posts: 18
Joined: Mon 6. Feb 2006, 11:47

Post by haedjin »

I'm using Firefox 1.0.6 on a Mac, but have had the same problem with IE 5? and Firefox 1? on a PC. Javascript is on, and I set error_reporting to max.
No js errors, no php errors, but still the WYSIWYG html edit field shows no WYSIWYG editor...
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Seems like you should see "broken" images, -at least-. Usually it is a path problem... but, maybe Antivirus or Firewall is conflicting (turn them off to test). Why not post your "conf.inc.php" (minus passwords) ?
haedjin
Posts: 18
Joined: Mon 6. Feb 2006, 11:47

Post by haedjin »

// 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';
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

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! :roll:
haedjin
Posts: 18
Joined: Mon 6. Feb 2006, 11:47

Post by haedjin »

As you might have noticed in my first post, I use a linux server.
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Sorry, I saw you setting your own $_SERVER['DOCUMENT_ROOT'] (missed the LAMPP subdirectory name) and "assumed" . Not a problem, but I'd get rid of that. What does the source of the page look like?
Post Reply