Problem bug: A small bug was found in Dedecms 5.7, and the Attachment Upload icon button was missing in the article Editor's Tool menu bar. Click Original upload original attachment upload icon is still available (as shown below).
Workaround: Open Include/ckeditor/plugins/addon/plugin.js
Locate the following code:
The code is as follows
Copy Code
Jquery.form.js upload appears $.handleerror, and $.httpdata errorReason:First, these two methods are not supported in later versions of jquery1.4.Workaround:Add toAdd the following method (in jquery.form.js):$.httpdata=function (XHR, type, s) {var ct = xhr.getresponseheader (' Content-type '), xml = Type = = ' xml ' | | !type Ct ct.indexof (' xml ') >=0, data = XML? Xhr.responseXML:xhr.responseText; if (xml data.documentElement.tagName = = ' ParserError ')Throw ' ParserError '; if (s s.dataf
The following excerpt from Baidu know a question and answer:
Q: Zen Channel system max upload file only 2M How to modify the increase a: in the host root directory has a php5.ini file, download down to add the following two statements, upload overlay can. Upload_max_filesize=50mpost_max_size=50m the second cannot be less than the first because the post may include attachments. Of course is completely can ask: I changed, but the Zen channel show or not is not the value of the acquisition ah I
Recently, when maintaining the system, you have to add the fckediotr function to upload attachments. fckeditor has not been used for a long time. Now, you have changed your name.
Modify fckconfig. js under the statistician as follows:
1. Change FCKConfig. LinkUpload to true;
2. FCKConfig. LinkUploadURL = FCKConfig. BasePath + 'filemanager/connectors/'+ _ QuickUploadLanguage +'/upload. '+ _ QuickUploadExtension; + '? Type = FILE ';
3. Modify the extension of the uploaded
A server check program needs to automatically send the check result to the specified mailbox. Take it for granted that the mail command is used, and an error is found during the test:Mail: cannot send message: process exited with a non-zero statusIt did not mention clear issues, but it found clues from the log view.Two logs record the corresponding information, namely syslog and mail. err. The information in mail. err is clearer:Postfix/sendmail [27115]: fatal: open/etc/postfix/main. cf: No such
= "phpmailer test title "; $ mail-> Body = "phpmail demonstration: this is the test content for phpmailer by php point-through (www.phpddt.com)"; $ mail-> AltBody = "To view the message, please use an HTML compatible email viewer! "; // When the email does not support html, it can be displayed in backup mode. you can omit $ mail-> WordWrap = 80; // set the length of each line's string // $ mail-> AddAttachment ("f:/test.png"); // you can add attachments $ mail-> IsHTML (true ); $ mail-> Send ()
/* My program in foreign Srever, my own program to store where, I am very difficult to remember.
So made up a simple directory recursive function, view my program, very convenient.
*/
function tree ($directory)
{
$mydir =dir ($directory);
echo "
";
while ($file = $mydir->read ()) {
if (Is_dir ("$directory/$file") and ($file! = ".") and ($file! = "...")) {
echo "
$file";
Tree ("$directory/$file");
}else{
echo "
$file";
}
}
echo "
";
$mydir->close ();
}
Start the program
echo "
Cata
$mail->addattachment ($attach, $attach);
Copy CodeSending past attachment filenames will be garbled if not specified:
$mail->addattachment ($attach, $attach);
Copy CodeSent in the past in the file name of the Chinese directly without, became ". txt".Workaround OneOpen class.phpmailer.php, in about the 1007th row or so, the function addattachment, there is a sentence:
Problem description:
I added a webpart to the custom form CNewForm. aspx, but when creating an Item, click "Attach File". The system prompts
This form was customized not working with attachement.
I used IE Developer debugging to find clues in the UploadAttachment method in Form. js: some elements are not defined.
Later, according to Microsoft's official Article http://support.microsoft.com/kb/953271/en-us, after modification, the values of the inventory
unavailable, modify the above configuration to increase the number of configurations.
2. Another problem
When uploading a large file, you may receive the following error message:
Aspnet_wp.exe (PID: 1520) is recycled because the memory consumption exceeds 460 MB (60 percent of available RAM ).
If this error message is returned, add the value of the memoryLimit attribute in the element of the Web. config file of the application. For example:
For Windows Server2003:
Precautions for uploading lar
Recently, some computers in the Organization had a problem using Netease mail: The attachment was stuck during the upload process, and finally the prompt was given:
Please try again! (Error code: fr_invalid_request)
The computers in the Organization are all in one domain network and share the Internet through the same line. Why are some computers so awkward?
After research, we found that the faulty computer has a common feature: 360 guard is ins
In the first part, attachments are displayed as images. They can only be displayed on the site where the list is located. after a long time of experimentation, I found that when attachmentfield is cross-transferred, its internal itemcontext can only be the context of the currently accessed site, therefore, the corresponding list and field will be searched down on the current site, which leads to the inability to be found at all, so nothing will be displayed.
After confirming that it is impossi
1. Install There is not much to say about installation. Except for the general compressed package, Asp.. Net FCKeditor has another FCKeditor. net download package, which has a solution of Visual Studio, and a fredck in Bin/release. the fckeditorv2.dll file can be directly copied to your asp.. Net project.
2. Attachment upload ProcessOn the editing page, click link or image to open a modal dialog box. Select a local file and upload it.This dialog b
A submition project uses Silverlight to make a form to submit data to the list of SharePoint. In addition to entering some information, the form can also upload attachments, however, the problem is that the upload fails if the file size is large during attachment upload.
The general idea of this project is to use Silverlight to collect data and then use JavaScript to call the related WebService of Sharepoint to upload data. The related code is as foll
Unable to cope with sb adobe's frequent upgrade prompt, and The flash player 14 failed to be upgraded. As a result, the buttons for uploading images cannot be seen in all discuz forums in IE8.
No way. Solve the problem.
The non-flash solution is available for discuz editor File Uploading when the editor is not displayed on IE11.
So it seems that this problem is not difficult. Just upload the normal file to open it.
Edit the discuz file/template/default/forum/editor_menu_forum.htm and fin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.