1
KateKoala
Content Module - Fckeditor - Image Uploads
  • 2005/7/21 5:38

  • KateKoala

  • Just popping in

  • Posts: 27

  • Since: 2004/7/27


Hi everyone,

After a hair-raising journey around the internet searching up hill and down dale for an answer to this question, I thought I would post the answer I eventually found in the hope that it will help others.

Problem: When trying to add images when editing pages in the (otherwise FANTASTIC!) Content module, you see an empty, nameless directory which will not let you upload any images or add a new folder.

Question: Where is fckeditor looking, and where is it trying to put the images??

Answer: In your XOOPS site root, create a folder called UserFiles. Beneath that, create a folder called Image. CHMOD the Image folder to 777 and all should be well.

I found lots of answers on the internet which involved mucking about in a pile of incomprehensible code which left me far more confused than when I began so hopefully this is a plain english solution that will be of some use to other non-coders like me.

2
nixon
Re: Content Module - Fckeditor - Image Uploads
  • 2005/8/1 12:09

  • nixon

  • Just popping in

  • Posts: 35

  • Since: 2003/3/7 2


Thanks KateKoala, you just saved me pulling the remaining hairs I have left out

3
KateKoala
Re: Content Module - Fckeditor - Image Uploads
  • 2005/8/1 14:28

  • KateKoala

  • Just popping in

  • Posts: 27

  • Since: 2004/7/27



4
cgunther
Re: Content Module - Fckeditor - Image Uploads
  • 2005/9/29 23:11

  • cgunther

  • Just popping in

  • Posts: 59

  • Since: 2005/3/27


This does not work for me. I tried it on three different sites I have hosted at ipower.

I tried to ftp files to the UserFiles/Image folder and the blank window was still blank. I tried to use the upload button on the window and check the folder through ftp to find the file... nothing.

Still Searching
"Your motherboard wears Army chips"

5
KateKoala
Re: Content Module - Fckeditor - Image Uploads
  • 2005/9/30 12:46

  • KateKoala

  • Just popping in

  • Posts: 27

  • Since: 2004/7/27


Hmm.

My fix was for the Content Module version 0.45 - maybe the location that Fckeditor is trying to save the files is different in other versions?

KK.

6
vikrant
Re: Content Module - Fckeditor - Image Uploads
  • 2005/10/4 18:23

  • vikrant

  • Just popping in

  • Posts: 97

  • Since: 2004/11/9


any idea does FCK Editor works on all XOOPS modules

7
KateKoala
Re: Content Module - Fckeditor - Image Uploads
  • 2005/10/4 22:30

  • KateKoala

  • Just popping in

  • Posts: 27

  • Since: 2004/7/27


??

Not really my area I'm afraid. The "content" module comes with fckeditor built into the module and contained in the module's own folder so I am guessing it is up to the module's individual creator to set it up.

8
programit
Re: Content Module - Fckeditor - Image Uploads
  • 2006/1/2 7:56

  • programit

  • Just popping in

  • Posts: 3

  • Since: 2005/12/26


After 4 and half hours of moving a UserFiles folder around every section of the site I found it needs to go into the Root section of the public_html folder of the site!
I have xoop 2.2 running in a sub folder and Content .5 !
Why they don't simply have a simple read me showing the folders required would be too simple :(
Anyway after many headaches I thought I'd let every body know how I got it going! (Hope it works for you!)

9
den1662
Re: Content Module - Fckeditor - Image Uploads
  • 2006/1/8 19:14

  • den1662

  • Just popping in

  • Posts: 12

  • Since: 2003/8/19


I found out "UserFiles" location on windows (apache) & linux behave differently.

1) Linux: the folder will be the same level as mainfile.php
2) Windows: it is folder before mainfile.php

workaround:
edit ..\modules\content\admin\fckeditor\editor\filemanager\browser\default\connectors\php\connector.php
look for $GLOBALS["UserFilesPath"] = '/UserFiles/'
append your root folder just before UserFiles
ie: C:\www\tempe-goreng.com\mainfile.php -> $GLOBALS["UserFilesPath"] = '/tempe-goreng.com/UserFiles/'

..and you can start upload your files

10
AlienHand
Re: Content Module - Fckeditor - Image Uploads
  • 2006/1/26 4:18

  • AlienHand

  • Just popping in

  • Posts: 27

  • Since: 2005/4/12


Quote:

den1662 wrote:
I found out "UserFiles" location on windows (apache) & linux behave differently.

1) Linux: the folder will be the same level as mainfile.php
2) Windows: it is folder before mainfile.php

workaround:
edit ..\modules\content\admin\fckeditor\editor\filemanager\browser\default\connectors\php\connector.php
look for $GLOBALS["UserFilesPath"] = '/UserFiles/'
append your root folder just before UserFiles
ie: C:\www\tempe-goreng.com\mainfile.php -> $GLOBALS["UserFilesPath"] = '/tempe-goreng.com/UserFiles/'

..and you can start upload your files


True ... but creating a subfolder and uploading into that won't work ... I really tried ... :(

Regards

Login

Who's Online

170 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits