Uploading via file manager works, but redirects to blank page
Permalink
Herro, I noticed that when I upload files via the dashboard's file manager, it redirects me to a blank page with this URL:
mysite.com/index.php/tools/required/files/importers/single
But when I hit back and refresh my file list, the file has successfully uploaded. I know I'm not supposed to be redirected to a blank page. Any ideas on how to fix this?
/files are all 777 recursively, so I don't think that's the problem. I'm also running the latest ver of C5.
mysite.com/index.php/tools/required/files/importers/single
But when I hit back and refresh my file list, the file has successfully uploaded. I know I'm not supposed to be redirected to a blank page. Any ideas on how to fix this?
/files are all 777 recursively, so I don't think that's the problem. I'm also running the latest ver of C5.
Using Opera Dragonfly, this is the error:
Just upgraded to 5.4.1.1. Unfortunately it didn't fix my problem. Uploading multiple files works perfectly though, before and after the upgrade. But the errors I get from the debug console seemed to have more stuff in it.
Quite cryptic for me. This is the error message:
http://pastebin.com/mgPjyxzJ
Quite cryptic for me. This is the error message:
http://pastebin.com/mgPjyxzJ
I'm suddenly having the same issue on the latest release of C5 - anyone know why or how to fix this?
do you get the same thing not in opera?
I've checked it in Firefox, Safari and Opera on the mac and it is happening in all 3 browsers. It loads the image in but you have to hit the back button to get back to the dashboard. Uploading an image with the image block and using the multiple upload option works as expected. It is only the single file upload option that is producing the blank page. The source code for the blank page looks like this in opera:
and in firefox:
The url of the blank page is:
/index.php/tools/required/files/importers/single
Firefox error console says this after the blank page loads:
window.parent.ccm_uploadedFiles is undefined
<html> <head> <script language="javascript"> window.parent.ccmAlert.notice("Upload Error", "Invalid file."); window.parent.ccm_alResetSingle(); </script> </head> <body> </body> </html>
and in firefox:
<html> <head> <script language="javascript"> highlight = new Array(); highlight.push(30); window.parent.ccm_uploadedFiles.push(30); window.parent.ccm_filesUploadedDialog('file1294457832'); window.parent.ccm_alResetSingle(); </script> </head> <body> </body> </html>
The url of the blank page is:
/index.php/tools/required/files/importers/single
Firefox error console says this after the blank page loads:
window.parent.ccm_uploadedFiles is undefined
I just uploaded another image and it is now working. Nothing has really changed since the last time I tried it so it must have been something going on with my server at the time (I know the problem wasn't with my computer because it showed the blank page on two different computers). Now it is working though but I'm not sure why.
Thanks for everyone's help!
Thanks for everyone's help!
I'm still having that problem with the newest C5. Someone got a solution to that?
Just encountered this same issue.
For me it works the first time - you can choose a file and upload, all works fine (the ajaxy "throbing" icon goes and then the overlay window appears asking for meta data). If you do the exact thing again, the loading icon is skipped and I'm delivered to a white page (/index.php/tools/required/files/importers/single).
Chrome reports
"Uncaught TypeError: Cannot call method 'push' of undefined"
line 8 of single
For me it works the first time - you can choose a file and upload, all works fine (the ajaxy "throbing" icon goes and then the overlay window appears asking for meta data). If you do the exact thing again, the loading icon is skipped and I'm delivered to a white page (/index.php/tools/required/files/importers/single).
Chrome reports
"Uncaught TypeError: Cannot call method 'push' of undefined"
line 8 of single
<html> <head> <script language="javascript"> highlight = new Array(); highlight.push(14); window.parent.ccm_uploadedFiles.push(14); // This is line 8 window.parent.ccm_filesUploadedDialog('file1327338263'); window.parent.ccm_alResetSingle(); </script> </head> <body> </body> </html>
Andrew fixed this for 5.5 in Github
https://github.com/concrete5/concrete5/commit/44784a9a2f49501cd32377...
https://github.com/concrete5/concrete5/commit/44784a9a2f49501cd32377...
I had the same problem and found that the conflict was with my jQuery UI file. Removing it fixed my problem. The problem was 2 fold. When I attempted to upload an image I was directed to a blank page. When I returned to the file manager the image was in fact uploaded. But when I tried to link the image to a page the site tree modal did not display the site tree. [jquery-ui.js file somehow conflicts]