Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 09:20 am EST
Geeklog Forums
FCKEditor uploads without adding a trailing slash to the folder!
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
If I upload, say, foobar.jpg, it uploads it as public_html/libraryfoobar.jpg
Get it? No slash between library and foobar.jpg !
I'm talking about v1.4.1 and I haven't modified FCKEditor (or $_CONF_FCK['imagelibrary'], for that matter).
P.S.
When I use FCKEditor to browse the library folder, it's fine. Obviously I can't see the parent folder that holds the library* files...
Get it? No slash between library and foobar.jpg !
I'm talking about v1.4.1 and I haven't modified FCKEditor (or $_CONF_FCK['imagelibrary'], for that matter).
P.S.
When I use FCKEditor to browse the library folder, it's fine. Obviously I can't see the parent folder that holds the library* files...
7
7
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
I re-tested the image upload on several of my sites and did not have an issue. I've been using this feature on multiple sites included hosted sites and was not expecting an issue but retested. I can upload images without issue and am using a default setup.
There is no longer a debug mode for the connector and file browser. That was an option when we used the mcpuk browser plugin.
If anyone else is having an issue uploading images via the Advanced Editor - please post and include more information on your server setup.
PHP version.
Server OS + WebServer
GL Version
Register Global and Magic Quotes setting
Any changes to the default GL settings for the advanced editor and library settings
Geeklog components by PortalParts -- www.portalparts.com
There is no longer a debug mode for the connector and file browser. That was an option when we used the mcpuk browser plugin.
If anyone else is having an issue uploading images via the Advanced Editor - please post and include more information on your server setup.
PHP version.
Server OS + WebServer
GL Version
Register Global and Magic Quotes setting
Any changes to the default GL settings for the advanced editor and library settings
Geeklog components by PortalParts -- www.portalparts.com
3
6
Quote
Status: offline
Ook
Forum User
Chatty
Registered: 07/26/06
Posts: 39
I had this same problem, fckeditor uploaded to /images with "library" prepended to the image filename sans slash.
So I ignored the "no trailing slash" instruction and changed
$_CONF_FCK['imagelibrary'] = '/images/library';
to
$_CONF_FCK['imagelibrary'] = '/images/library/Image/';
(I also changed permissions of /images/library/Image to 757.)
It works except that fckeditor browses images one directory lower than it loads to. It even created some directories in order to do so. (So I will be looking through fckeditor configs sometime.) This does not effect image inclusion though, as the correct path is passed to the editor on upload.
GL v1.4.1
PHP Version 4.3.10
System FreeBSD shen.pair.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr i386
Build Date Jul 31 2006 16:02:02
Apache Version Apache/1.3.37
Apache Release 10337100
Apache API Version 19990320
Local & Master settings:
magic_quotes_gpc On Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
register_globals On On
"A conclusion is the place where you got tired of thinking."--Steven Wright
So I ignored the "no trailing slash" instruction and changed
$_CONF_FCK['imagelibrary'] = '/images/library';
to
$_CONF_FCK['imagelibrary'] = '/images/library/Image/';
(I also changed permissions of /images/library/Image to 757.)
It works except that fckeditor browses images one directory lower than it loads to. It even created some directories in order to do so. (So I will be looking through fckeditor configs sometime.) This does not effect image inclusion though, as the correct path is passed to the editor on upload.
GL v1.4.1
PHP Version 4.3.10
System FreeBSD shen.pair.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr i386
Build Date Jul 31 2006 16:02:02
Apache Version Apache/1.3.37
Apache Release 10337100
Apache API Version 19990320
Local & Master settings:
magic_quotes_gpc On Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
register_globals On On
"A conclusion is the place where you got tired of thinking."--Steven Wright
6
6
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
I think it happened since I've updated PHP v5.1.2 to v5.2.1, but then again it happens to Ook in PHP v4.
PHP v5.2.1
Redhat Linux v2.4.9-e.70 + Apache v1.3.27
GL v1.4.1
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
register_ globals = off
No changes to the default GL settings for the advanced editor and library settings
PHP v5.2.1
Redhat Linux v2.4.9-e.70 + Apache v1.3.27
GL v1.4.1
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
register_ globals = off
No changes to the default GL settings for the advanced editor and library settings
6
7
Quote
All times are EST. The time is now 09:20 am.
- 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