We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22574
    • 181 Posts
    Upgraded a few sites from 1.0.14 to 1.0.15 and now the clients cant upload any file types.

    Tested some older sites running 1.0.14 and older and they still work.

    Same as normal but when the upload gets to 100% a error box appears with nothing in it, just a ! icon and a close button.

    Any ideas?

    Check file permissions and .htaccess seams to be the new tinymce as maxigallery still lets me upload pics.

    Thanks

      • 9995
      • 1,613 Posts
      Hmm, I don't have that problem after updating a 1.0.14 site.

      Both 1.0.14 and 1.0.15 have TinyMCE 3.5.11, KCfinder isn't updated aswell.
      - Can an Admin upload files?
      - Any errors in logfile?
      - Any server settings changes?

        Evolution user, I like the back-end speed and simplicity smiley
        • 22574
        • 181 Posts
        Right it must be a change in modx thats not liking something on my server.

        - admin/me cant either.
        - in the modx log nothing no errors.
        - no as the old sites are still working.

        On a fresh install I see this, which is new but it might be because its on a temp url not running on a domain yet.

        500 Internal Server Error
        
        The request was not completed. The server met an unexpected condition.
        
        
            IPHERE/~USERNAME/manager/media/browser/mcpuk/browse.php?type=files&lng=en&act=upload (port 80)
        
        
        
        Please forward this error screen to IPHERE's
        
        WebMaster.
        


          • 9995
          • 1,613 Posts
          I don't see any weird changes: https://raw.githubusercontent.com/modxcms/evolution/v1.0.15/install/changelog.txt
          Maybe the upgrade didn't go flawless and maybe try to redo? or only TinyMCE folder?

          Or some weird safety setting on your server I don't know.
          Maybe repair tables in phpmyadmin.

          I'm just freestyling here. Never had this problem.
            Evolution user, I like the back-end speed and simplicity smiley
            • 22574
            • 181 Posts
            Thanks for your help Four,

            Still no good. Tried re-installing from scratch on 2 old sites - now they have the same problem.

            Tried on a clean temp url same problem as well.

            Re-downloaded 1.0.15 from modx just in case and tried that as well.

            Tried table repairs and nothing.

            Must be a update with KCFinder?
            No idea what what host settings to check.

              • 22574
              • 181 Posts
              I popped open the browser console and this is the error - no idea what it means.

              Request URL: 	IPHERE/~USERNAME/manager/media/browser/mcpuk/browse.php?type=files&lng=en&act=upload
              Request Method: 	POST
              Status Code: 	HTTP/1.1 500 Internal Server Error
              Request Headers 08:23:49.000
              User-Agent:	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              Referer:	IPHERE/~USERNAME/manager/media/browser/mcpuk/browse.php?opener=tinymce&type=files
              Pragma:	no-cache
              Host:	103.12.10.177
              Content-Type:	multipart/form-data; boundary=------multipartdropuploadboundary1415741011012
              Content-Length:	242193
              Connection:	keep-alive
              Cache-Control:	no-cache
              Accept-Language:	en-US,en;q=0.5
              Accept-Encoding:	gzip, deflate
              Accept:	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
              Sent Cookie
              SN546276c836201:	fea28aa6e2fb2b90286094056599aabf
              SN546276c836201:	fea28aa6e2fb2b90286094056599aabf
              SN546275e560c19:	4e367653b91c0f8a6c985df7069cf730
              SN546275e560c19:	4e367653b91c0f8a6c985df7069cf730
              PHPSESSID:	f6f5c7d3965f8376602abd4b31c76718
              KCFINDER_view:	thumbs
              KCFINDER_showtime:	off
              KCFINDER_showsize:	off
              KCFINDER_showname:	on
              KCFINDER_orderDesc:	off
              KCFINDER_order:	name
              KCFINDER_displaySettings:	off
              _ga:	GA1.1.479704024.1413419607
              Response Headers Δ833ms
              Transfer-Encoding:	chunked
              Server:	Apache
              Date:	Tue, 11 Nov 2014 21:23:49 GMT
              Content-Type:	text/html
              Connection:	close
              Accept-Ranges:	bytes
                • 9995
                • 1,613 Posts
                Maybe its because you are on a "temperarely domain".
                Could be the reason.

                Option to test:
                I don't know if you are on Windows?
                you can set the site in a hostfile and reach the site with www.domain.com
                (I always do this but the client can't see the site then.)

                C:\Windows\System32\drivers\etc\hosts

                add:
                99.12.345.678 domain.com
                99.12.345.678 www.domain.com

                make sure you FTP the site in in the correct folder like:
                domains/domain.com/public_html/



                Are all CHMOD correct?
                On fresh install do you see errors?
                this way you can see if the server settings are correct.


                  Evolution user, I like the back-end speed and simplicity smiley
                  • 22574
                  • 181 Posts
                  Moved the temp to a domain - still same problem.

                  The error goes back to empty box like the others.

                  Tried copying over the old tinymce and ckfinder folders and still no luck.

                  For now I changed the 3 sites back to 1.0.14 so they work again.



                    • 9995
                    • 1,613 Posts
                    I do have some sites where I can't use KCFinder because the servers safemode setting is ON but if 1.0.14 works that is weird.

                    All I can come up with is htaccess, safemode or the images folder CHMOD 777 or 755 is somehow not correct.

                    Can't find any simular issues:
                    https://github.com/sunhater/kcfinder/issues

                    Maybe someone else can help you out.
                    Or add the issue on github:
                    https://github.com/modxcms/evolution/issues

                      Evolution user, I like the back-end speed and simplicity smiley
                      • 22574
                      • 181 Posts
                      Thanks for all your help! I'll keep trying.