Drupal: The selected file intersection.png could not be uploaded
-
23-09-2019 - |
문제
I don't understand why I get this error when I upload images...
The selected file intersection.png could not be uploaded. The file is not a known image format.
It is just a png file, and the problem came when I moved the website on the server. On localhost everything was perfect.
1) I've deleted the "files" folder and created it again with a php script (to make the server the owner) 2) drupal automatically creates 2 folders into it (imagecache and temp) so I assume it has the privilegies to write into it. 3) I've changed the temporary folder in Settings > Filesystem from "/tmp" to "temp", since I got an error before (probably the /tmp folder on the server is not writable by drupal
thanks
해결책 3
I solved it. The rewrite module is not enabled on my IIS server, so I had to change a line of code inside the imagecache.module to add "index.php?q=
return url($GLOBALS['base_url'] . '/index.php?q=' . file_directory_path() .'/imagecache/'. $presetname .'/'. $path, $args);
다른 팁
방금 워크 플로 관리자 백엔드 서비스가 계속 충돌을 유지했는데, 이는 워크 플로 페이지에 액세스 할 수없는 이유입니다.WFRESourCemanagementDB의 WorkFlowServiceConfig 테이블에서 네 가지 구성 설정이 누락 된 것으로 보입니다.
- workflowServicesCopesNapshotProcessBatchSize
- WorkFlowServicesCopesNapshotProcessLoopInterval
- WORKFLOWSERVICESUSPEnDINSTANCERETENTIONDUREDURE
- workflowserviceMaxinStanceCompressEDSizeKB
이 게시물을 기준으로 : install / config / vs 디버그?오류
데이터베이스에이를 추가하고 값 (테이블의 유사한 항목을 기준으로) 값을 지정하면 문제가 해결되었습니다.문제는 설치 / 구성이 이들을 채우지 않았으며 실제 값이 무엇인지는 무엇입니까?나는 제거 / 재설치 된 것을 여러 번 사용하지 않으려면,
There's a known problem with Drupal 6.15 and IIS (see http://drupal.org/node/419734). If you're on 6.15, try backing down to 6.14 until a fix is completed.