Error loading FckEditor in 1.2.8 patch G

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Hunter58
Posts: 34
Joined: Fri 27. Aug 2004, 16:07
Location: the Netherlands

Error loading FckEditor in 1.2.8 patch G

Post by Hunter58 »

Hi,
I installed 1.2.8 with patch G. This is a complete fresh install on a purged server. When I want to create an article I got an error loading the interface:

Code: Select all

error loading ..../config/phpwcms/fckeditor_config.js.php
So the toolbar is not loaded. If I change wysiwyg.editor.inc.php to load phpwcms_default the result is the same.
btw. the config.js.php file is there and is readable. I I select SPAW everything is functioning.
----------------------------------------------------
Hunter58 :lol:
----------------------------------------------------
if something is working you are skilled,
if it is not, it is a fault in the system.
tinoo
Posts: 311
Joined: Thu 16. Jun 2005, 11:16
Location: Zürich, Switzerland
Contact:

Post by tinoo »

Check if all the files are on server. To make sure upload all the stuff again...
Greetz, tinoo
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Try to open "/config/phpwcms/fckeditor_config.js.php" directly within your browser - if it is working - OK. If not there seems to be a problem with that.

Maybe your provider is using a server alias for /config/

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Hunter58
Posts: 34
Joined: Fri 27. Aug 2004, 16:07
Location: the Netherlands

Post by Hunter58 »

I checked if the file is there and compared it with the distribution. They are exactly the same. To be sure I copied the file to the root and changed the include file to point to that one. No change :cry:

There is no alias assigned to config. There is no 404 in the browser and I checked with my hoster. Furthet more all other configs in there are functioning normal.

As a workaround I commented out line 45 in wysiwyg conf file and changed the toolbar to be ['Default']. At least FCK is now functional with the default toolbar :!:

Ruud
----------------------------------------------------
Hunter58 :lol:
----------------------------------------------------
if something is working you are skilled,
if it is not, it is a fault in the system.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Then you have a general path problem - do you can load fckeditor_config.js.php directly inside a browser? You haven't answered on that question.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Hunter58
Posts: 34
Joined: Fri 27. Aug 2004, 16:07
Location: the Netherlands

Post by Hunter58 »

Oliver, It looks like that there is a pathproblem indeed. If I try to open the file in my browser I am redirected to my inlogscreen for the controlpanel.

Gonna check my hoster again :shock:
----------------------------------------------------
Hunter58 :lol:
----------------------------------------------------
if something is working you are skilled,
if it is not, it is a fault in the system.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

It's impossible that you are redirected when you try to open fckeditor_config.js.php inside a browser:


The result have to look like this:
http://www.phpwcms.org/fckeditor_config.js.php

when you ut the file inside your web doc root.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Hunter58
Posts: 34
Joined: Fri 27. Aug 2004, 16:07
Location: the Netherlands

Post by Hunter58 »

Got an answer from my provider. The do have defined an alias on config. They are looking in to it right now to see what the consequences are if it is removed for my domain.

hang in..
Ruud

edit: at 11.00 am my provider responded that they had removed all symbolic links from config. It is working now!!!

YEEEEHAAAA!!!

Ruud
----------------------------------------------------
Hunter58 :lol:
----------------------------------------------------
if something is working you are skilled,
if it is not, it is a fault in the system.
harald
Posts: 246
Joined: Wed 2. Mar 2005, 16:01

Post by harald »

Hallo zusammen,
habe soeben mit Provider 1und1 telefoniert. Dort wird behauptet kein Alias gesetzt zu haben. das heist ich habe nach wie vor das Problem, dass "fckeditor_config.js.php" nicht geladen wird. Auch nicht mit 777 Flag. Gibt es sonst noch neue Erkenntisse?
Ich hatte übrigens Update von 1.2.6 auf 1.2.8. Bei einer Neuinstallation besteht das Problem offenbar nicht.
Danke für alle Hinweise
Gruß Harald
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Probiere es - 1&1 hat bei vielen Konfigurationnen definitiv einen Alias auf Config. Versuch mal zum Spaß:
http :// www .meineseite.de/config/phpwcms/fckeditor_config.js.php

Wenn Du dann einen fehler bekommst das hier:
http :// www .meineseite.de/config/

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
harald
Posts: 246
Joined: Wed 2. Mar 2005, 16:01

Post by harald »

Hast recht. Beim ersten Link bekomme ich einen 404. Beim zweiten lande ich bei einem komischen ftp-login meines providers. Na dann werde ich dort mal weiter telefonieren.
Vielen Dank Oliver...
Gruß Harald
CyboMoik
Posts: 22
Joined: Mon 25. Sep 2006, 20:32
Location: Wittenberg

Post by CyboMoik »

hallo!
ich habe das gleiche problem.
habe 1.2.8 bei 1und1 installiert, nachdem ich zuvor mit 1.2.6. bei evanzo experimentiert hatte.
leider lädt jetzt der editor nicht!!
das selbe problem wie o. beschrieben!?
das config-verzeichnis kann nicht angesteuert werden, da sich hier der ftp-zugangslogin befindet.
was kann man denn nun tun?

fuktioniert denn version 1.2.6 auf 1und1 ??

danke erstmal!!

mfg
CM

ps: ansonsten ist alles spitzen mäßig!!
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

OK, here is a temporary solution. For coming releases the original config folder will be moved to another position.

Step 1:
Open "include/inc_lib/wysiwyg.editor.inc.php". Search for

Code: Select all

$oFCKeditor->Config['CustomConfigurationsPath']
Replace the value to recommend:

Code: Select all

PHPWCMS_BASEPATH.'include/inc_ext/FCKeditor2/fckeditor_config.js.php'
So the full line of code is:

Code: Select all

$oFCKeditor->Config['CustomConfigurationsPath']	= PHPWCMS_BASEPATH.'include/inc_ext/FCKeditor2/fckeditor_config.js.php';
Step 2:
Move file "fckeditor_config.js.php" from folder "config/phpwcms/" to "include/inc_ext/FCKeditor2/"

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
CyboMoik
Posts: 22
Joined: Mon 25. Sep 2006, 20:32
Location: Wittenberg

Post by CyboMoik »

Hallo Oliver!!

Vielen Dank für die schnelle Antwort!
Es ist etwas merkwürdiges passiert;
Die Änderung habe ich wie von Dir beschrieben vorgenommen!
Erst habe ich im EDITOR-Fenster immer meine 404-Fehlermeldung erhalten und dann hat garnichts mehr funktioniert.

Jetzt wollte ich meine ursprüngliche wysiwyg.editor.inc.php auf den Server laden...
Die Version 1.2.8 habe ich aber nicht dem Rechner an dem ich grade sitze, sondern nur im Büro.
Hier hatte ich nur die 1.2.6 Version.

Also habe ich diese genommen... und es funktioniert!!

Eigenartig aber GUUUT!!

Vielen lieben Dank!!
Und weiter so!

Beste Grüße
CyboMoik

:D
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Ganz klar, da die alte Version diese Erweiterung nicht hat.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply