MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Jul 03, 2009, 10:54 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read
Frequently Asked Questions (FAQ)
MODx Community Forums
»
Add-ons, Extensions & Elements
»
Rich Text Editors & File Browser
»
MCPuck File Browser
(Moderator:
Bravado
)
»
Error Uploading Files in FCKEditor
Pages: [
1
]
2
3
4
Go Down
« Previous topic
Next topic »
Print
Author
Topic: Error Uploading Files in FCKEditor (Read 19129 times)
0 Members and 2 Guests are viewing this topic.
davidsim
Jr. Member
Posts: 7
Error Uploading Files in FCKEditor
«
on:
May 15, 2006, 12:25 PM »
I've a problem uploading files using FCKEditor.
I'm creating a link from some text.
1. I highlight the text
2. I click the create link button
3. I click browse server. The window opens with the frames, but no directories are listed and no files shown. I get a Javascript line 159 Object Required error in IE for frmfolders.html
4. When I try to upload a file, I get an Invalid XML Response from Connector error in a popup window.
Help!
Running on Windows 2000 Server, Apache 2, PHP 5.1.2.
Many thanks.
D.
«
Last Edit: Sep 19, 2006, 06:59 AM by davidsim
»
Logged
zi
MODx Special Forces /
Administrator
Posts: 3,329
May Peace Be On You
Re: Error Uploading Files in FCKEditor
«
Reply #1 on:
May 15, 2006, 12:46 PM »
Please check you Resource Path and Resource Url under
Administration > System Configuration > Interface & Editor Settings
You will find the 2 fields there, and more information about IIS is displayed right next to them.
Hope it helps.
regards.
Logged
Subscribe to
MODx Commercial Support Plans
Share and Explore websites made in MODx
--------------------------------------------------
Follow me on Twitter
My Blog
,
Resource Center
ziworks | Custom/Free MODx Templates
davidsim
Jr. Member
Posts: 7
Re: Error Uploading Files in FCKEditor
«
Reply #2 on:
May 16, 2006, 09:22 AM »
Bizzarely, the contents of the
\manager\media\browser\mcpuk\connectors
folder seem to be being deleted. Replace them and all works well.
A security issue? I've tightened the permissions on the folder in any case.
(Just to add, this is happening on a private site, so I don't think 3rd party hacking is likely)
«
Last Edit: May 16, 2006, 09:29 AM by davidsim
»
Logged
davidsim
Jr. Member
Posts: 7
Re: Error Uploading Files in FCKEditor
«
Reply #3 on:
May 16, 2006, 10:27 AM »
OK - more information. I've been able to reproduce the problem myself.
I open the FCKEditor Resource Browser and create a new directory.
I go to the new directory and upload a file - cardiff.pdf.
The pdf directory in the connectors directory disappears all together.
The new directory created to contain the file actually contains a new folder called cardiff.pdf with a number of new folders inside including:
Auth
Commands
Commands/Helpers
Docs
dtd
images
(Sorry to keep adding to this - just realised it's moving the contents of the connectors/php folder to the new folder named the same as the file it has uploaded)
I wonder if it's not able to change to a temporary file directory and hence the error - where are temporary files uploaded to? The upload_tmp_dir in php.ini is set correctly.
«
Last Edit: May 16, 2006, 10:43 AM by davidsim
»
Logged
davidsim
Jr. Member
Posts: 7
Re: Error Uploading Files in FCKEditor : SOLVED
«
Reply #4 on:
May 16, 2006, 10:53 AM »
I've solved the problem.
The maximum upload file size in PHP was set to 2Mb. The file being uploaded was 2.2Mb!
Obviously the file wasn't successfully uploaded by php, and therefore the script acted strangely.
I've increased the maximum upload filesize for now which gets over the immediate problem.
Logged
moire
Jr. Member
Posts: 49
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #5 on:
May 31, 2006, 03:26 PM »
i sort of have the same problem.
Website was moved to a new server. Image browser led to an empty folder and i could not upload img / create folder.
I cheked the Resource path-- it was the old one.
Using phpinfp.php i found this:
_SERVER["DOCUMENT_ROOT"] /home/faktv/myDomainName
* Changed the Resource path to
1) /home/faktv/myDomainName/assets/
2) home/faktv/myDomainName/assests/
.. and it did still did not work.
* Uploaded install/ upgrade from 0.9.1 to 0.9.2.1 ran the install to update my modx.
Still did not help.
UPD:
Seems it was File Manager Path in the Miscellaneous Settings. Once i changed that, everything worked again. =]
«
Last Edit: May 31, 2006, 03:41 PM by moire
»
Logged
myan24
Full Member
Posts: 117
I love MODx!
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #6 on:
Jun 02, 2006, 05:53 AM »
I'm having the problem too . . . I've tried resolving using the solutions here but still the same problem...
Uploading a file (even small ones of about 500-700k) I nearly always get the same error "Invalid XML Response".
Anyone have any ideas?
Thanks!
Logged
myan24
Full Member
Posts: 117
I love MODx!
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #7 on:
Jun 02, 2006, 06:13 AM »
OK. Found a solution in the FCK Editor forums at sourceforge. See this thread for details:
http://sourceforge.net/forum/message.php?msg_id=3433951
By adding in the following to GetUploadProgress.php right after "//Progresshandler not specified, return generic response" solves the problem . . . at least for me it did!
Code:
header ("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
Logged
garethf
Jr. Member
Posts: 22
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #8 on:
Jul 20, 2006, 04:40 AM »
I am now experiencing the same problem having moved from a development server (uniform server on WinXP) to a live server (Linux shared hosting with FastHosts).
The problem also occurs with the file manager - but returns "64 - host not found". The error only occurs when uploading image files - other files (e.g. css) upload without problems.
I assume the problem is caused by the PHP configuration, but do not know where to begin to resolve the issue. Any help would be appreciated - the site is due to go live at the end of month.
Logged
garethf
Jr. Member
Posts: 22
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #9 on:
Jul 20, 2006, 05:13 AM »
Problem solved!
Should have guessed it - the problem is being caused by proxy/firewall restrictions on our internal network.
Logged
Vadko
Jr. Member
Posts: 25
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #10 on:
Aug 22, 2006, 10:18 AM »
Seems like I´m having the same problem but I cant seem to solve it!
I have modx on a subdirectory - mydomain/main
lets see:
In misc. config I have:
/home/mydomain/public_html/main/manager/media/browser - also tried
/home/mydomain/public_html/main/manager/media/browser/mcpuk - tryed both with / slash and \ and no slash, also tryed with and without trailing slash at the end, also tryed:
/home/mydomain/public_html/main/assets
on interface and editors I have for assets:
/home/mydomain/public_html/main/assets - also tryed both with / slash and \ and no slash and trailing slash at the end
and assets url:
http://mydomain/main/assets
The result is when i try to upload images or any other kind of allowed content it freezes with the following message:
"Upload a new file in this folder (Upload in progress, please wait... 0%)"
and if i use IE also get a popup with 'Invalid XML Response from Connector'
I tryed to copy a new mcpuk dir, reinstall all modx and i cant solve this!!
What should I do next, any hint? Maybe it has something to do with modx being installed in a subdir, its the last thing reamainig to do.
«
Last Edit: Aug 23, 2006, 09:11 AM by Vadko
»
Logged
PaulGregory
MODx's midnight runner
Committed to MODx
Posts: 1,097
MODx's midnight runner
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #11 on:
Aug 23, 2006, 09:32 AM »
To rule out the firewall thing - Are you able to upload files on other similar sites? If you're not sure, try adding an attachment to a reply here. (Click Additional Options... to see the Attach bit).
Logged
No, I don't know what OpenGeek's saying half the time either.
MODx Documentation:
The Wiki
|
My Wiki contributions
|
Main MODx Documentation
Forum:
Where to post threads about add-ons
|
Forum Rules
Like MODx?
donate
(and/or
share your resources
)
Like me?
See my Amazon wishlist
MODx "Most Promising CMS" - so appropriate!
Vadko
Jr. Member
Posts: 25
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #12 on:
Aug 23, 2006, 09:49 AM »
Quote from: PaulGregory on Aug 23, 2006, 09:32 AM
To rule out the firewall thing - Are you able to upload files on other similar sites? If you're not sure, try adding an attachment to a reply here. (Click Additional Options... to see the Attach bit).
I can.
I tryed from diferent locations and even diferent ISP´s.
test.jpg
(2.07 KB, 167x104 - viewed 453 times.)
Logged
Bravado
Moderator
Posts: 1,104
"I can learn to resist anything but temptation..."
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #13 on:
Aug 23, 2006, 11:34 AM »
Any way you could PM me with the address of your manager as well as a username/pass? I can look at the variables and see if they are set properly.
Logged
Jeff Whitfield
"When someone asks you, A penny for your thoughts, and you put your two cents in, what happens to the other penny?"
-George Carlin
Vadko
Jr. Member
Posts: 25
Re: [Resolved] Error Uploading Files in FCKEditor
«
Reply #14 on:
Aug 23, 2006, 03:41 PM »
Quote from: Bravado on Aug 23, 2006, 11:34 AM
Any way you could PM me with the address of your manager as well as a username/pass? I can look at the variables and see if they are set properly.
Are the variables on these screenshots?
on scrn-1.jpg I tryed with http:// in the resorces path
On scrn-2.jpg I also tryed:
/home/mydomain/public_html/main/manager/media/browser and with and without trailing slash
/home/mydomain/public_html/main/manager/media/browser/mcpuk
Regarding the username and password I would have to request permission to the site owners to create e new user, wich by now would be a little complicated (vacations) .
scrn-1.jpg
(71.87 KB, 800x579 - viewed 770 times.)
scrn-2.jpg
(64.27 KB, 800x579 - viewed 574 times.)
Logged
Pages: [
1
]
2
3
4
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> Front-end Document Management
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.3
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Webworker Lounge
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
International Support & Translations
-----------------------------
=> Internationalization
=> Bulgarian
===> Поддръжка
=====> Често задавани въпроси
=====> Инсталация
=====> Модули, Плъгини, Снипети и код
=====> Дизайн и Шаблони
===> Документация, Ръководства и Превод
=====> Документация
=====> Ръководства
=====> Превод
===> Общество
=====> Съобщения
=====> Представете се
=====> Представете сайта си
=====> Дискусии извън MODx
=> Chinese
=> Czech
===> Oznámení
=====> Důleitá oznámení/novinky
=====> Bezpečnost
===> Komunita
=====> Oznámení
=====> Představte se, prosím
=====> Ukázky práce
=====> Různé aneb cokoli co se jinam nehodí
===> Podpora
=====> FAQ (často kladené otázky)
=====> Instalace
=====> Moduly, pluginy, "snippets & code" (ablony zdrojových kódů)
=====> Design & ablony
===> Dokumentace, tutoriály (návody) a překlady
=====> Dokumentace
=====> Tutoriály (návody)
=====> Překlady (lokalizace)
=> Dutch
===> Ondersteuning
=====> Veel gestelde vragen
=====> Modules, Plugins, Snippets & Code
=====> Design & Templates
===> Documentatie, Tutorials en Vertalingen
=====> Documentatie
=====> Tutorials
=====> Vertalingen
===> Community
=====> Aankondigingen
=====> Stel jezelf voor
=====> Site Showcase
=====> De stamkroeg
=> Filipino
===> Suporta
=====> Kadalasang tanong
=====> Instalasyon
=====> Moduler, Maidadagdag, Karagdagang mga Code
=====> Desenyo at Templates
===> Dokumentasyon, Mga Turo, Mga Salin
=====> Dokumentasyon
=====> Mga Turo
=====> Mga Salin
===> Kumunidad
=====> Anunsyo
=====> Ipakilala ang sarili
=====> Ang Galing ng pinoy
=====> Tsismisan atbp
=> Finnish
===> Tuki
=====> UKK
=====> Asennus
=====> Moduulit, liitännäiset, koodinpätkät
=====> Ulkoasu/Sivustopohjat
===> Dokumentaatio, oppaat ja käännökset
=====> Dokumentaatio
=====> Käännökset
=====> Oppaat
===> Yhteisö
=====> Tiedotteet
=====> Esittele itsesi
=====> MODx sivustosi
=====> Kahvihuone
=> French
===> Support
=====> FAQ
=====> Installation
=====> Module, plugin, snippets
=====> Design/Templates
===> Documentation, Tutoriels et Traductions
=====> Documentation
=====> Traduction
=====> Tutoriels
===> Communauté
=====> Annonces
=====> Présentez vous
=====> Vos sites
=====> Le Bistrot Français
=> German
===> Support (de)
=====> FAQ (de)
=====> Installation (de)
=====> Module, Plugins, Snippets & Code (de)
=====> Design & Templates (de)
===> Dokumentation, Tutorials und Übersetzung
=====> Dokumentation
=====> Tutorials (de)
=====> Übersetzung
===> Community (de)
=====> Ankündigungen
=====> Stellt Euch vor
=====> Beispielseiten
=====> Off Topic / Verschiedenes
=> Hebrew
===> הכרזה
=====> חדשות חשובות
=====> אבטחה
===> תמיכה
=====> התקנה
=====> תיעוד, מדריכים ותרגומים
=====> עיצוב ותבניות
=====> שאלות נפוצות
===> תיעוד, מדריכים ותרגומים
=====> תיעוד
=====> מדריכים
=====> תרגומים
===> קהילה
=====> הודעות
=====> הצג את עצמך
=====> אתרים לדוגמא
=====> כללי
=> Irish
=> Italian
===> Supporto
=====> FAQ
=====> Installazione
=====> Moduli, Plugin, Snippet e altro codice
=====> Web Design e Template
===> Documentazione, Tutorial e Traduzione
=====> Documentazione
=====> Tutorial
=====> Traduzione
===> Comunitŕ
=====> Annunci
=====> Presentazioni
=====> Siti in vetrina
=====> Chiacchiere in libertŕ
=> Japanese
===> サポート
=====> 良くある質問
=====> インストール
=====> モジュール・プラグイン・スニペット・本体
=====> デザインやテンプレート
===> マニュアル・テュートリアル・翻訳
=====> マニュアル
=====> 事例集、テュートリアル
=====> 日本語化
===> コミュニティ
=====> お知らせ
=====> MODxサイト展示場
=====> 自己紹介
=====> 雑談
=====> 国産リソース
=> Persian - فارسي
===> پشتيباني
=====> راهنما
=====> نصب
=====> ماژول , پلاگین ها , کد ها و جزییات
=====> طراحی و قالب ها
===> مستند سازی , آموزش ها و ترجمه ها
=====> مستند سازی
=====> آموزش ها
=====> ترجمه ها
===> انجمن ها
=====> اخبار
=====> معرفی کردن خود
=====> نمایش دادن سایت ها
=====> بحث های عمومی و سایر موضوعات
=> Polish
===> Wsparcie
=====> FAQ
=====> Instalacja
=====> Moduły, pluginy, snipety i kod
=====> Wygląd i szablony
===> Dokumentacja, tutoriale i tłumaczenie
=====> Dokumentacja
=====> Tutoriale
=====> Tłumaczenie
===> Społeczność
=====> Ogłoszenia
=====> Przedstaw się
=====> Twój serwis WWW
=====> Hyde Park
=> Portuguese
===> Suporte
=====> FAQ - Dúvidas Frequentes
=====> Instalaçăo
=====> Módulos, Plugins, Snippets e Código
=====> Design e Templates
===> Documentaçăo, Guias e Traduçőes
=====> Documentaçăo
=====> Guias
=====> Traduçőes
===> Comunidade
=====> Anúncios
=====> Apresente-se!
=====> Bar da esquina (fora de tópico)
=====> Portfólio de Sites
=> Russian
===> Поддержка
=====> ЧАВО (FAQ)
=====> Установка
=====> Модули, плагины, сниппеты и код
=====> Дизайны и шаблоны
===> Документация, Уроки, Перевод
=====> Документация
=====> Уроки
=====> Перевод
===> Сообщество
=====> Объявления
=====> Представьтесь публике
=====> Галерея сайтов
=====> Диван
=> Scandanavian
===> Support
=====> Frĺgor och svar
=====> Installation
=====> Moduler, plugins, snippets och kod
=====> Design & sidmallar
===> Dokumentation, guider och översättningar
=====> Dokumentation
=====> Guider
=====> Översättningar
===> Webbgemenskap
=====> Meddelanden
=====> Presentera dig själv
=====> Visa upp dina webbsidor
=====> Ordet fritt
=> Slovak
=> Spanish
===> Soporte
=====> FAQ
=====> Instalación
=====> Modulos, Plugins, Snippets & Código
=====> Diseńo y plantillas
===> Documentación, Tutoriales y Traducciones
=====> Documentatción
=====> Tutoriales
=====> Traducciones
===> Comunidad
=====> Anuncios
=====> Presentaciones personales
=====> Muestra de sitios
=====> El Café
=> Swedish
=> TÜRKÇE (Turkish)
===> Destek
=====> SSS
=====> Kurulum
=====> Modüller, Pluginler, Snippetlar & Kodlar
=====> Dizayn & Temalar
===> Belgeleme, Eğitmenler ve Çeviri
=====> Belgeleme
=====> Eğitmenler
=====> Çeviri
===> Topluluk
=====> Duyurular
=====> Kendinizi Tanıtın
=====> Site Vitrini
=====> Konu Dışı