Page 1 of 2
Error loading FckEditor in 1.2.8 patch G
Posted: Wed 13. Sep 2006, 18:15
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.
Posted: Thu 14. Sep 2006, 07:45
by tinoo
Check if all the files are on server. To make sure upload all the stuff again...
Posted: Thu 14. Sep 2006, 08:18
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
Posted: Thu 14. Sep 2006, 08:56
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
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
Posted: Thu 14. Sep 2006, 09:34
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
Posted: Thu 14. Sep 2006, 09:48
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

Posted: Thu 14. Sep 2006, 10:10
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
Posted: Thu 14. Sep 2006, 10:57
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
Posted: Mon 25. Sep 2006, 13:11
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
Posted: Mon 25. Sep 2006, 13:43
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
Posted: Mon 25. Sep 2006, 14:18
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
Posted: Mon 25. Sep 2006, 20:49
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!!
Posted: Mon 25. Sep 2006, 21:19
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
Posted: Mon 25. Sep 2006, 21:46
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

Posted: Mon 25. Sep 2006, 22:05
by Oliver Georgi
Ganz klar, da die alte Version diese Erweiterung nicht hat.
Oliver