Once again the WYSIWYG Editor

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Once again the WYSIWYG Editor

Post by derelch »

Hi guys,

I have a little problem with the WYSIWYG Editor.
I have firefox an IE running, but the WYSIWYG Editor does not show up in both browsers.

In the file config.inc.php I have

$phpwcms["wysiwyg_editor"] = 1; (but also tried 2-4) and nothing worked.

my current login.php looks like that

Code: Select all

//WYSIWYG EDITOR:
//0 = no wysiwyg editor (default)
//1 = HTMLAREA (compatible with IE5.5+ and Mozilla 1.3+ based webbrowsers)
$_SESSION["wysiwyg_editor"] = 0;
$_SESSION["dhtml_hiding"]   = 1;
$phpwcms["wysiwyg_editor"] = intval($phpwcms["wysiwyg_editor"]);
if($phpwcms["wysiwyg_editor"]) {
   //include_once ("./include/inc_ext/phpsniff/phpSniff.core.php");
   include_once ("./include/inc_ext/phpsniff/phpSniff.class.php");
   $c =& new phpSniff();

   if($c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) {
      $_SESSION["dhtml_hiding"] = 0;
   }


   switch($phpwcms["wysiwyg_editor"]) {
      case 1:   if($c->browser_is("ie5.5+") || $c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) $_SESSION["wysiwyg_editor"] = 1;
            break;
      case 2:   if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 2;
            break;
      case 3: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
            if(!$_SESSION["wysiwyg_editor"]) {
               if($c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) $_SESSION["wysiwyg_editor"] = 1;
            }
            break;
      case 4:   if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
            break;      
   }
} 
I tried and 3 computers but on none it worked. Does anybody has a hint for me, what I can do?

btw. phpwcms in not in the mainroot of my webspace. I created a folder "phpwcms" and put in all the files there. So I edited the path in the config
$phpwcms["root"] = "phpwcms";

Does this influence the function of the program?

tia

/derelch
Pappnase

Post by Pappnase »

hello

did you have an software firewall runnig!? if yes close them
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Post by derelch »

Naja, du hattest recht, ich hatte eine software firewall am laufen. leider liegt es nicht daran, denn das problem tritt auch an einem PC auf, wo keine softwarefirewall läuft bzw. wenn ich meine ausschalte. am router kann es auch nicht liegen, da ich den Editor bekommen, wenn ich mich auf der homepage meines bruders anmelde.

ach noch eine info. ich teste gerade das programm bei lycos (tripod). kann das vielleicht daran liegen.

/derelch
Pappnase

Post by Pappnase »

hallo

wie was meinst du du meinst du hast space bei lycos!? das ist unwahrscheinlich wenn es bei deinem bruder geht!
was für ein browser verwendest du!?
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Post by derelch »

genau,

ich teste mit dem kostenlosen webspace bei lycos.

Also ich habe Firefox 0.9.3 und den IE 6.
Mein Bruder verwendet auch den FX 0.9.3. Wenn er sich bei sich einloggt funktioniert alles prima. Sobald er sich aber auch bei mir einloggt bekommt er auch den Editor nicht mehr geöffnet. Es kann also nur an der config und dem webspace selbst liegen und nicht am Computer.



PS: Ich habe die letzte Version von PHPWCMS und die 3 Patches installiert.
Pappnase

Post by Pappnase »

hallo

ich würde eher sagen es liegt an der einstelung deines computers! denn wenn es bei deinem bruder geht und bei dir nicht! dann liegt es weder an lycos noch an phpwcms.
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Post by derelch »

Da hast du wohl was falsch verstanden.

MEINE WEBSEITE:
Bei meinem PC öffnet sich der Editor nicht
Bei dem PC meines Bruder öffnet sich der Editor nicht

SEINE WEBSEITE:
der Editor öffnet sich bei dem PC meines Bruders.

Ich interpretiere da hinein, da es nicht am PC liegt, da sich ja der Editor bei einer anderen Webseite öffnet.
Pappnase

Post by Pappnase »

hallo

sorry, dann lies mal was du davor geschrieben hast das ist ja wohl nicht eindeutig ersichtlich das es sich da um 2 verschiedene systeme handelt!

hast du es schonmal mit einem anderen editor probiert!?
(include/inc_conf/) conf.inc.php line 63

Code: Select all

$phpwcms["wysiwyg_editor"]    = 1;        //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Post by derelch »

stimmt,

das post davor war wohl mehr als zweideutig.

habe gerade noch mal alle 4 optionen ausprobiert. hilft alles nichts.
Pappnase

Post by Pappnase »

hallo

teste es aus ob es an dem space liegt!
und installiere es dochmal in einem unterverzeichnis deines bruders mit deinen datenbank daten!
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Post by derelch »

werde ich mal morgen machen und berichten.

danke für deine hilfe.

/derlech
derelch
Posts: 47
Joined: Wed 22. Sep 2004, 19:11

Post by derelch »

So,

bin jetzt auf einen anderen Webspace gewechselt und nun funktinoniert es.
Aber ich glaube nicht, dass es direkt am Webspace lag, sondern ich glaube, dass beim upload der dateien auf den server nicht alles 100%ig gegangen ist.
Jedefalls funktioniert es jetzt und ich bin zufrieden.
Post Reply