A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Users unable to uplaod images - File manager permissions?
Aug 30, 2010
4:16 am
Chrois Knight
Guest

I have just installed SP 4.3.3

I am having the same problem  as described in the original post inasmuch SP cannot create sub folders for members to the forum-image-uploads folder. I have checked all folder permissions are correct and also re-uploaded the SP forum files in case one of these was corrupt. I get the same warning messages as in the first post.

Strangely, SP will create sub folders to the forum-media-uploads folder although it fails to upload files!

I have edited standard access permissions to allow file uploading of images and media.

Creating the necessary folder with ftp, SP recognises them and allows uploading of regular image files by both members and myself as admin however, SP will not upload media files successfully even though it appears to do so (the progress indicator advances and I can see the outbound traffic to my server). This might be a php.ini probem – I am on a shared host system and don't think I can access the ini file myself.

Chris

Aug 30, 2010
12:45 pm

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

First up I would check with your host that both the permissions and ownership of these folders is correct. You can change permissions but maybe not the ownership.

So when you say it fails to upload media – what exactly do you mean?

Could it be that the size of the media file you were attempting to upload violates the size limit imposed by your php ini file (and thus host)?

(The flash code that performs the uploading is pretty short on returning decent error messages)

Yellow Swordfish
Aug 31, 2010
4:39 am
Member
Forum Posts: 502
Member Since:
Aug 15, 2010
Offline

Here is the source code generated. I do allow them to add signatures.

 

Regards

 

Conrad

 

});
</script>
<script type="text/javascript" src="http://barbelsociety.com/wp-co…..iny_mce.js"></script>
<script type="text/javascript" src="http://barbelsociety.com/wp-co…..mce.js.php"></script>
<script type="text/javascript">
tinyMCE.init({
canimage: 0,
canmedia: 0,
canfile: 0,
cansignature: 1,
issignature: 1,
mode : "exact",
elements : "postitem, signature",
theme : "advanced",
theme_advanced_layout_manager : "SimpleLayout",
skin : "o2k7",
content_css : "http://barbelsociety.com/wp-content/plugins/simple-forum/styles/editors/tinymce/content.css",
Aug 31, 2010
5:44 am
Member
Forum Posts: 502
Member Since:
Aug 15, 2010
Offline

Another observation if I click the add media icon the pop up window does not show the browse Icon for this user.

 

Regards

 

Conrad

Aug 31, 2010
6:04 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

The code you published is from the signature/profile screen. No uploads of media allowed in there anyway.

Yellow Swordfish
Aug 31, 2010
6:19 am
Member
Forum Posts: 502
Member Since:
Aug 15, 2010
Offline

I thought that page was a list of posts, where should I load the code from? I'm a new user of the SP so please bear with me.  This is from a page where I have clicked on the add new post botton. This is the js in the footer of the source code: Is that what you mean? If not could you tell me how to navigate to where you need me to navigate. Sorry for not understanding.

Regards

Conrad

 

});
</script>
<script type="text/javascript" src="http://barbelsociety.com/wp-co…..iny_mce.js"></script>
<script type="text/javascript" src="http://barbelsociety.com/wp-co…..mce.js.php"></script>
<script type="text/javascript">
tinyMCE.init({
canimage: 0,
canmedia: 0,
canfile: 0,
cansignature: 1,
issignature: 1,
mode : "exact",
elements : "postitem, signature",
theme : "advanced",
theme_advanced_layout_manager : "SimpleLayout",
skin : "o2k7",
content_css : "http://barbelsociety.com/wp-content/plugins/simple-forum/styles/editors/tinymce/content.css",
popup_css : "http://barbelsociety.com/wp-content/plugins/simple-forum/styles/editors/tinymce/dialog.css",
editor_css : "http://barbelsociety.com/wp-content/plugins/simple-forum/styles/editors/tinymce/ui.css",
language : "en",
directionality : "ltr",
auto_reset_designmode : true,
width : "100%",
height: "360",
file_browser_callback : "sf_filemanager",
relative_urls : false,
extended_valid_elements: "code",
apply_source_formatting : true,
paste_convert_middot_lists : true,
paste_remove_spans : true,
paste_remove_styles : true,
paste_convert_headers_to_strong : true,
paste_strip_class_attributes : "mso",
remove_redundant_brs : true,
forced_root_block : '',
force_p_newlines : true,
force_br_newlines : false,
remove_linebreaks: false,
convert_newlines_to_brs : false,
remove_redundant_brs : true,
entities:"38,amp,60,lt,62,gt",
plugins : "inlinepopups,safari,media,preview,emotions,spoiler,ddcode,spellchecker,paste",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location: "bottom",
theme_advanced_resizing : true,
theme_advanced_resizing_use_cookie : false,
theme_advanced_buttons1 : "bold,italic,underline,|,bullist,numlist,|,blockquote,outdent,indent,|,link,unlink,|,undo,redo,forecolor,charmap,|,image",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_buttons1_add : "media,|,spoiler,|,emotions,|,pastetext,pasteword,|,selectall,preview,code,|,spellchecker",
plugin_preview_width : "750",
plugin_preview_height : "400",
brushes: ""
});
</script>
Aug 31, 2010
9:59 am
Member
Forum Posts: 502
Member Since:
Aug 15, 2010
Offline

I have removed permissions for users to have a signature and lo and behold the browse button has now disappeared. This surely must be a bug of some sort? The only difference that I can see in the generated source code is :

cansignature: 0 as opposed to cansignature: 1

Strange behaviour.

Aug 31, 2010
11:45 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

I don't follow you. if you remove the permission then of course the browse button would disappear. Or am I missing something?

Yellow Swordfish
Aug 31, 2010
12:02 pm
Member
Forum Posts: 502
Member Since:
Aug 15, 2010
Offline

Let me explain. I have problems using the insert image button  because of file permissions, or rather the inability of the code to generate folders for each user, we have determined that this is probably something imposed by my service provider. So I decided to only allow url's of external images and media files to be inserted and so changed permissions to prohibit the upload of files, media and images. At this juncture I could still see the browse icon when the insert image or media button was clicked.

It did not disappear until I also prohibited the use of signatures.I expected it not to be available as soon as I prohobited the upload of files, media and images – this was not the case.

Have I explained that adequately?

Not being shirty or snotty BTW.

 

Regards

 

Conrad

Aug 31, 2010
3:27 pm

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

Gotcha. So this was being seen on actual posts/topics NOT just the profile/signature.
Still a puzzle as I still can't replicate that either but i will take a closer look.
Thanks for the clarification.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: SPQC
54 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10898

Posts: 79583

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22240), Mr Papa (23688)