Ueditor upload images on Sina cloud file Save error

Source: Internet
Author: User
There was an error saving the file when using Ueditor, in the Uploader.class.php file
  if ($this->stateinfo = = $this->statemap[0]) {            if (!move_uploaded_file ($file ["Tmp_name"], $this->full Name) {                $this->stateinfo = $this->getstateinfo ("MOVE");}        }

has been prompted to save error, when I directly change $this->fillname to their own Sina cloud
When the absolute path on/public/uploads/images/123.jpg is on, the file name is saved incorrectly.
I really don't know how to solve this problem.


Reply to discussion (solution)

He has his own upload component.
Move_uploaded_file is not available.

I'm using her internal code, not my writing, it's just a mistake.

Specific can be set under the breakpoint debugging, if it is the upload of file errors,
Try to change to a http://avatar.csdn.net/E/2/9/1_zy205817.jpg path,
By the way print $file["Tmp_name"] look.

He always prompts for file Save error
This in remote how to debug Ah, it is integrated together, and can not separate, take out alone

Sina Cloud has developed the document, lover this reading. The connection is not posted, there is no need to advertise for others
Sina Cloud File Upload
where Http://www.oschina.net/question/932809_91373?sort=time reply three of the code is

Oh, well, you gave me a hint earlier. It's always been tangled up, always thought it was Ueditor's problem.

  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.