Welcome to Geeklog, Anonymous Tuesday, February 27 2024 @ 07:32 pm EST

Geeklog Forums

FCK editor bug


Status: offline

webbadass

Forum User
Chatty
Registered: 05/20/03
Posts: 49
I dont think I did this as there was nothing to config that would have allowed me to make an error like this so this has got to be an FCK bug. As such, frankly, I cannot believe no one else has experienced it. previous installs of the editor have not had this problem for me. So here it is. When I use the file manager to upload an image, the physical URL that the editor FTP's the image to, is... "http://geeklogsite.com/images/library/image/acrobat_32.gif" (NOTE: the 'images' folder name is lower case) BUT - what FCK actually writes for html is... "http://geeklogsite.com/images/library/Image/acrobat_32.gif" (NOTE: the 'images' folder name is upper case) These folders are already created in the geeklog images/library folder with the first letter of their names in UPPER CASE so when the FTP occurs, it has to create another folder in lower case. As a result my users can't use the editor without knowing enough html to go and fix the URL location... It also does this with the Media, Flash, and File directories within the library folder. Has anyone else encountered this problem? If you need screen grabs I can take some and post them...
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Which Geeklog version is that?

I know there was some back and forth regarding the proper spelling of those directories, but that should be resolved by now. In 1.6.1, they're all in uppercase, i.e. "Image", etc.

bye, Dirk
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello,

I got the same issue. Deleting my public_html/fckeditor folder and uploading a fresh one solve it and this way I delete a lot of strange files like test.html, upload.html witch are not in the official fckeditor distrib.

I really invite everyone to clean his fckeditor folder.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

webbadass

Forum User
Chatty
Registered: 05/20/03
Posts: 49
Quote by: cordiste

Hello,

I got the same issue. Deleting my public_html/fckeditor folder and uploading a fresh one solve it and this way I delete a lot of strange files like test.html, upload.html witch are not in the official fckeditor distrib.

I really invite everyone to clean his fckeditor folder.

::Ben



I have two Geeklog 1.6.1 installs I did yesterday with a copy of Geeklog I downloaded yesterday and they are both doing it. Where do I get a fresh one?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
So it was a fresh install not an update?

Sorry but my response was for update cases.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

webbadass

Forum User
Chatty
Registered: 05/20/03
Posts: 49
Quote by: cordiste

So it was a fresh install not an update?

Sorry but my response was for update cases.

::Ben



No prob. One was an update from 1.6.0sr2 to 1.6.1 and the other was an update from 1.45.0 to 1.6.1. BUT in both cases I used the complete tarball i had just downloaded and replaced the PHP files and FCK editor and all other files on the site. By the time i went though the steps at /admin/install/index.php the DataBase was only thing remaining from those previos installs. I then migrated the images and such to the correct folders, not using FCK as it would have taken twice as long.

One of the reasons for the update was that the 1.6.0sr2 install had this same problem with the caps and lower case. How do I tell what version of FCK I have AND where can I get a copy of it not bundled with geeklog?

Update cases? Do you mean updates of FCK or of GL?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Yes I'm talking of Geeklog updates so it seems to be the same issues as me.
Did you try to delete the fckeditor folder as I suggested then re-upload a fresh one from the Geeklog 1.6.1 archive?

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Since these are updates, you may also want to check the spelling of the directories in public_html/images/library.

From what I can see, the 1.6.1 tarball is spelling everything with an uppercase first letter everywhere.

bye, Dirk
 Quote

Status: offline

webbadass

Forum User
Chatty
Registered: 05/20/03
Posts: 49
Quote by: Dirk

Since these are updates, you may also want to check the spelling of the directories in public_html/images/library. From what I can see, the 1.6.1 tarball is spelling everything with an uppercase first letter everywhere. bye, Dirk

Dirk, I appreciate the help so I thought I would do a clean install to ensure that the problem is in the tarball... BUT before that I uploaded the FCKeditor from 1.6.1 to both of my upgrades and still had the problem.... Co, go to http://geeklog.webbadass.com - there is a virgin install there with the base admin password - I turned on the advanced editor and uploaded a file and got the same error... Here are some screen grabs (1) is the url written by FCK with upper case and a broken image (2) is lower case and the image working (3) is the library/ folder showing that it created a lower case image folder to ftp to... http://geeklog.webbadass.com/images/screenshot1.jpg http://geeklog.webbadass.com/images/screenshot2.jpg http://geeklog.webbadass.com/images/screenshot3.jpg Try it for yourself and see - its in the tarball...
 Quote

Status: offline

webbadass

Forum User
Chatty
Registered: 05/20/03
Posts: 49

$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == ''Wink ? '' : $Config['UserFilesAbsolutePath'].'file/' ;

$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == ''Wink ? '' : $Config['UserFilesAbsolutePath'].'image/' ;

$Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == ''Wink ? '' : $Config['UserFilesAbsolutePath'].'flash/' ;

$Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == ''Wink ? '' : $Config['UserFilesAbsolutePath'].'media/' ;


I figured it out...

The problem is in the tarball in the /fckeditor/editor/filemanager/connectors/php/config.php on line numbers 142, 149, 156, and 163(quoted above). Notice the very last item in each line is in lower case. Not upper case as the folders on the server are... When i change that last bit to upper case - everything works fine... It uploads to the upper case directory and writes a URL with the upper case directory name... Behold...

http://geeklog.webbadass.com/images/screenshot4.jpg

Dirk, you should check the tarball - I downloaded the tarball not 5 minutes ago to ensure I had the freshest one... Perhaps it is a Windows server VS. Linux server issue? Linux will not forgive the difference between UC and LC.

http://geeklog.webbadass.com/images/screenshot3.jpg
 Quote

All times are EST. The time is now 07:32 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content