Uploading images issue

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
nickbrewer
Forum Members
Forum Members
Posts: 12
Joined: Tue Oct 31, 2006 11:28 pm

Uploading images issue

Post by nickbrewer »

Upgraded to the newest version of FCKeditorX.

Now when i upload images to the server it says that it uploads them fine, but they are not there.  If i navigate to the physical folder on the server... it's not there either.

It just puts a box with an x in it in the image place.

Any help would be great.

Thanks.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Uploading images issue

Post by RonnyK »

Is your umask in global settings set to 002? Before uploading this should be 002 to have the proper permissions.

Ronny
nickbrewer
Forum Members
Forum Members
Posts: 12
Joined: Tue Oct 31, 2006 11:28 pm

Re: Uploading images issue

Post by nickbrewer »

umask was set to 022.  changed it to 002 and it is still not working.

any other ideas?

thanks so much.
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am

Re: Uploading images issue

Post by chrisl »

It will depend on how new the version but if it is 2.4.3 have you tried adding

Code: Select all

require_once(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))))))) . '/include.php');
check_login();
(you will have to check directory depths)

to the top of

\FCKeditorX\FCKeditor\editor\filemanager\browser\default\connectors\php\connector.php

and changing the config.php file in the same directory to

Code: Select all

$Config['UserFilesPath'] = '/uploads/'; 
$Config['UserFilesAbsolutePath'] = $config['uploads_path'].'/' ;
FCK developers are very active currently and there are changes to the browser directory structures, I think after 2.4.3, so if you have downloaded a later version you will have to make some more adjustments to the CMSMS module.  In all events there is a very useful test.html for file paths in the FCK browser/connector directory.
banana

Re: Uploading images issue

Post by banana »

I'm having the same problem  :(

Using the FCKEditor i cannot upload images or browse files. It says uploaded but the i just get a image holder.

Using the Image Manager, i can upload images so it's not a permisisons thing but i can't link to the images using fckeditor.

The default url is also set to /image.jpg hence the Red cross, it should be uploads/images/image.jpg


my config.php already has this in it:

$Config['UserFilesPath'] = $config['uploads_url'] ;

$Config['UserFilesAbsolutePath'] = $config['uploads_path'].'/' ;


It's a Windows server btw. any ideas?
streever

Re: Uploading images issue

Post by streever »

windows uses different permissions structure than linux/unix, so it is hard to say...
banana

Re: Uploading images issue

Post by banana »

I figured  out it has to do with the paths. I got the Image uplaoder working but not the directory browser yet. It gives a javascript error object required or something.

It seems the main config.php is not included so the variable don't get inherited.

I'll figure it out!
Post Reply

Return to “CMSMS Core”