FCKeditor : error 403 when open picture folder
-
- Posts: 12
- Joined: Tue Aug 05, 2008 8:12 am
- Location: Copenhagen, Denmark
FCKeditor : error 403 when open picture folder
It worked perfectly on test server and then moved the site and now it doesn't work.
The site is placed in a sub-folder on the domain. Just upgraded the editor to the newest version but that didn't make any difference.
Tried changing the rights for the files and folder from the FCKeditor and all the way into the Connector.php file and this didn't help either.
Is there any special things needed on the server to use this option? (I did change server as I moved the site).
Any help or idea would be very much appreciated.
Cheers
Jens Peter
The site is placed in a sub-folder on the domain. Just upgraded the editor to the newest version but that didn't make any difference.
Tried changing the rights for the files and folder from the FCKeditor and all the way into the Connector.php file and this didn't help either.
Is there any special things needed on the server to use this option? (I did change server as I moved the site).
Any help or idea would be very much appreciated.
Cheers
Jens Peter
Re: FCKeditor : error 403 when open picture folder
Hi Jens Peter!
Try this:
Rename your /image folder by ftp
Create a new empty folder /images and change permissions to 0777
Login to CMSimple and try to upload images to this new folder.
If it's ok, copy your images to this new folder.
Holger
Which Version? From http://www.webdeerns.de?jens peter wrote:Just upgraded the editor to the newest version
That's a bad idea!Tried changing the rights for the files and folder from the FCKeditor and all the way into the Connector.php
Try this:
Rename your /image folder by ftp
Create a new empty folder /images and change permissions to 0777
Login to CMSimple and try to upload images to this new folder.
If it's ok, copy your images to this new folder.
Holger
-
- Posts: 12
- Joined: Tue Aug 05, 2008 8:12 am
- Location: Copenhagen, Denmark
Re: FCKeditor : error 403 when open picture folder
Hi Holger
Thanks for your reply.
Tried to rename the Images-folder and made a new directly on the FTP-server but with the same result.
Tried then to opload a picture useing the Image-menu to both the new 'Images' folder and the old one (after I changed the folder name on the FTP again). I could save to this folder.
But still not working when going to a page and using the add picture to a page..
Any other ideas? This is a bit strange as it always have worked on all the installations I have done, so really not sure what I did wrong here. The server is located in Brazil, could they do things differently? Normally I install CMsimple on servers located in Denmark.
Cheers
Jens Peter
Thanks for your reply.
Tried to rename the Images-folder and made a new directly on the FTP-server but with the same result.
Tried then to opload a picture useing the Image-menu to both the new 'Images' folder and the old one (after I changed the folder name on the FTP again). I could save to this folder.
But still not working when going to a page and using the add picture to a page..
Any other ideas? This is a bit strange as it always have worked on all the installations I have done, so really not sure what I did wrong here. The server is located in Brazil, could they do things differently? Normally I install CMsimple on servers located in Denmark.
Cheers
Jens Peter
Cheers
Jens Peter
Jens Peter
Re: FCKeditor : error 403 when open picture folder
Hmm,
have you tried to upload an image in the CMSimple-Administration?
Holger
have you tried to upload an image in the CMSimple-Administration?
Holger
-
- Posts: 12
- Joined: Tue Aug 05, 2008 8:12 am
- Location: Copenhagen, Denmark
Re: FCKeditor : error 403 when open picture folder
Hi Holger
CMSimple administration.. not sure what you mean by that. But when you are logged in, you have this line of tools for 'normal', 'images', 'downloads' and so on.
If I enter 'Images' here I can upload pictures to the 'Images' folder.
When editing a page using FCKeditor I can do all the things this editor offers even placing a picture if I know the path to it. It is when I dont know this and want to see the list of images to chose from, I get the error 403.
Cheers
Jens Peter
CMSimple administration.. not sure what you mean by that. But when you are logged in, you have this line of tools for 'normal', 'images', 'downloads' and so on.
If I enter 'Images' here I can upload pictures to the 'Images' folder.
When editing a page using FCKeditor I can do all the things this editor offers even placing a picture if I know the path to it. It is when I dont know this and want to see the list of images to chose from, I get the error 403.
Cheers
Jens Peter
Cheers
Jens Peter
Jens Peter
Re: FCKeditor : error 403 when open picture folder
Yes, that's what I meant.jens peter wrote:But when you are logged in, you have this line of tools for 'normal', 'images', 'downloads' and so on.
If I enter 'Images' here I can upload pictures to the 'Images' folder.
Hmm, that's strange.jens peter wrote:When editing a page using FCKeditor I can do all the things this editor offers even placing a picture if I know the path to it. It is when I dont know this and want to see the list of images to chose from, I get the error 403.
And you're really using our version of FCKeditor4CMSimple: http://www.webdeerns.de/downloads/FCKed ... le_220.zip ?
Can't believe .
But if so, it seems that the path to the upload-folder (/images) is not correct detected.
Please try to set the path to the /images folder in the config.php of the connector by your self:
Comment out this line:
Code: Select all
$Config['UserFilesPath'] = $upload_path;
Code: Select all
// if you installed CMsimple in the root of your server:
// $Config['UserFilesPath'] = '/images/' ;
//
// if you installed CMsimple in a subdirectory of your server:
// $Config['UserFilesPath'] = '/name of subdirectory/images/' ;
// example:
// $Config['UserFilesPath'] = '/cmsimple/images/' ; or
// $Config['UserFilesPath'] = '/cms/images/' ;
// $Config['UserFilesPath'] = '/images/' ;
But when something with the filebrowser configuration goes wrong, you get an error like "the server does not send a propper...."
in the Filebrowser window.
Please post the whole error 403 message and the url of the page where this error comes up (the forbidden page / resource).
Holger
-
- Posts: 12
- Joined: Tue Aug 05, 2008 8:12 am
- Location: Copenhagen, Denmark
Re: FCKeditor : error 403 when open picture folder
Hi Holger
Yes, I did had the same problem with an older version, so the first thing I did was to upgrade to the latest version.
Changed as you suggested (this seems to be the same setting as in the old version) but the result is the same.
When I click to select a picture it return the error 403.
In IE7 I can copy the address line and it show:
http://www.domaine.com.br/sub-folder/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=../../connectors/php/connector.php
The complete error message is:
Erro 403
Acesso negado
On a full screen popup window that looks like the image style as I know from solutions that works - just without any pictures.
I have tested on Firefox too with the same result.
Cheers
Jens Peter
Yes, I did had the same problem with an older version, so the first thing I did was to upgrade to the latest version.
Changed as you suggested (this seems to be the same setting as in the old version) but the result is the same.
When I click to select a picture it return the error 403.
In IE7 I can copy the address line and it show:
http://www.domaine.com.br/sub-folder/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=../../connectors/php/connector.php
The complete error message is:
Erro 403
Acesso negado
On a full screen popup window that looks like the image style as I know from solutions that works - just without any pictures.
I have tested on Firefox too with the same result.
Cheers
Jens Peter
Cheers
Jens Peter
Jens Peter
Re: FCKeditor : error 403 when open picture folder
Ok, now I got it.
We're not speaking from an error 403 at the picture folder.
So it looks like script files in the folder
http://www.domaine.com.br/sub-folder/FC ... r/default/
are not accessible.
You should get that error 403 too, when you try to call a html file direct:
http://www.domaine.com.br/sub-folder/FC ... owser.html
So I think it's a problem with your server.
Maybe you have to turn some screws in the server-config, maybe you can do sth. with .htaccess (if it is an apache)
maybe...
Sorry, at the moment I have no clue. And it's hard to help without knowledge of your hoster and without access to the server.
Maybe you can ask the support of the hoster?
Holger
We're not speaking from an error 403 at the picture folder.
So it looks like script files in the folder
http://www.domaine.com.br/sub-folder/FC ... r/default/
are not accessible.
You should get that error 403 too, when you try to call a html file direct:
http://www.domaine.com.br/sub-folder/FC ... owser.html
So I think it's a problem with your server.
Maybe you have to turn some screws in the server-config, maybe you can do sth. with .htaccess (if it is an apache)
maybe...
Sorry, at the moment I have no clue. And it's hard to help without knowledge of your hoster and without access to the server.
Maybe you can ask the support of the hoster?
Holger
-
- Posts: 12
- Joined: Tue Aug 05, 2008 8:12 am
- Location: Copenhagen, Denmark
Re: FCKeditor : error 403 when open picture folder
Hi Holger
Thank you so much for trying to help.
I think you are right, that it is a server thing. If I should play with the .htaccess what would I write there or do you know where I can read more about how to make that kind of file?
Cheers
Jens Peter
Thank you so much for trying to help.
I think you are right, that it is a server thing. If I should play with the .htaccess what would I write there or do you know where I can read more about how to make that kind of file?
Cheers
Jens Peter
Cheers
Jens Peter
Jens Peter
Re: FCKeditor : error 403 when open picture folder
Maybe a look into your server-logfiles can give you usefull hints.
Before messing around with .htaccess files you should ask the support of the hoster.
It has to work with files chmod 0644 and folders 0755.
Holger
Before messing around with .htaccess files you should ask the support of the hoster.
It has to work with files chmod 0644 and folders 0755.
Holger