javascript xml error in html editor image upload

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/16/2005 3:04:21 AM
Gravatar
Total Posts 58

javascript xml error in html editor image upload

I'm using mono, fedora 3, mysql 4.1, apache 2 mod_mono

I get a error message when I try to upload images in the html editor

"XML Request Error: Internal Server Error (500)"

The Apache Error log gives me
** (/usr/lib/mono/1.0/mod-mono-server.exe:10671): WARNING **: : mprotect failed: Permission denied

Any suggestions?
3/16/2005 5:13:01 AM
Gravatar
Total Posts 18439

Re: javascript xml error in html editor image upload

Yes, make the Data folder under the web as well as all its child folders writable by the apache process.

Its a file system permission error.

3/16/2005 7:18:09 AM
Gravatar
Total Posts 58

Re: javascript xml error in html editor image upload

/FCKeditor/editor/filemanager/browser/default/connectors/test.html works but the popup from the fckeditor include does not.

I've seen a thread at the FCKeditor forums about changing my server path but that is for asp not aspx.

Do I need to add some settings to my fckconfig.js?
3/16/2005 7:38:38 AM
Gravatar
Total Posts 18439

Re: javascript xml error in html editor image upload

I'm not sure what you are asking now. Are you getting the same error or a different one?

mojoPortal is configured so the editor uploads images to /Data/GalleryImages/ and folders below that so make sure that folder is writable.

You shouldn't have to configure anything in FCKeditor.

When I click the insert image icon, I get a popup with the browse server button, I click that and get an option to upload and it works as long as the folder is writable.

Please post the error message so I can better understand what is happening.

Thanks,

Joe

3/16/2005 8:14:36 AM
Gravatar
Total Posts 58

Re: javascript xml error in html editor image upload

My download didn't have the GalleryImages folder.. as soon as I added that .. it started to work.  You might note that in you next release.  This is super sweet, thanks.

I still get an "unknown error creating folder".  In the test.html page it spits out an error number 110.  I think that is DLL general error.  I see you get that same error in the forum, no big problem then.  Maybe next week when I download the sources I can put that on my agenda.

I'm hoping to change the http://www.wfyi.org site to your software this weekend.  I've shown everyone here how to edit pages and they all love the ease of use. 

Thanks again for helping me fix this image upload problem.
3/16/2005 8:28:39 AM
Gravatar
Total Posts 18439

Re: javascript xml error in html editor image upload

Cool glad its working for you!

Thats strange that the folder wasn't in the download, which download did you use?

I'm very excited that you are planning to use mojoportal for www.wfyi.org but surprised that you plan to do it so fast. I would figure you would spend some time creating a skin for it and kick the tires internally a little more before going live, but hey, no guts no glory! I'll help any way I can if you run into problems.

The folder structure will be different in the release I'm planning for this weekend in order to provide files syem security between sites running on a single installation.

Instead of Data/GalleryImages etc it will be

Data/Sites/1/GalleryImages etc where 1 is the site id

The image Gallery also expects sub folders under GalleryImages like

GalleryImages/FullSizeImages

GalleryImages/Thumbnails

GalleryImages/WebImages

GalleryImages/EditorUploads

so if those aren't there you will need them

Tweaking the FCKeditor code for the new folder structure is all I have left to do for the release. I was planning to do a bunch of testing this weekend before making the release but I'll email you a link either friday evening or saturday morning so I don't hold you up.

3/16/2005 9:18:48 AM
Gravatar
Total Posts 58

Re: javascript xml error in html editor image upload

I'm going to start on the skin tomorrow morning.  If you have any pointers please feel free to email me.  I'm using a horizontal menu with the current graphic set.  I'll need to plugin in some css into the FCKeditor but everything should come out nicely.

Then I have to write the pledge form with the gift picture organizer on friday.  It probably won't get released to the public now because our IS Director has to approve the credit card security and SSL switch.

Then I have to write an Event Calendar, if you know of a good one already written email me.  Then I have to write some schedule stuff.  We upload most of the TV schedules in HTML straight from our ProTrack scheduling software the directory is just linked from a calendar gui.  It shouldn't be hard.. I think there is even a namespace built into C# that I might use.

I've passed the site around to all that matter here, and they all love it.  The coolest thing about my job is that I have complete authority to do what I think is best when it comes to programming.  When I started here in January the site was worse off than any default CMS installation.  One week with your software will make a great improvement.  I'll send you my source sometime next week for you to critique.. maybe you can use some of it.

Thanks for the directory structure.  I downloaded the mysql version from your download page.
3/16/2005 9:33:01 AM
Gravatar
Total Posts 18439

Re: javascript xml error in html editor image upload

I'm not very good with making things pretty but if you look in the exisiting skins it should be pretty straight forward. you can position things any way you want and then its just style sheet stuff.

I am planning on some calendar schedule trackinging features in the future and have looked at this on CodeProject.com http://www.codeproject.com/aspnet/schedule.asp but their site seems to be down at the moment.

I'm actually working on a project at work that requires scheduling and I think we are going to use a 3rd party component to speed development http://www.componentscience.net/Elements/WebPlanner/

Its not free open source so I can't use it with mojoPortal, not sure if its an option for you but thought I'd mention it. Its free to try and doesn't time out, theres just a link that always shows if you don't have a license.

It will be very cool to list your site on the showcase page, maybe other PBS NPR sites will get interested too.

I'll check on the download tonight and see whats up with the missing folders, thanks for letting me know about that.

3/16/2005 10:02:36 AM
Gravatar
Total Posts 58

Re: javascript xml error in html editor image upload

Other PBS NPR stations.. that was my thought exactly.  We are the head station for all of Indiana http://www.ipbs.org.  I have to redo that site after this one.  I'm hoping to contact all the webmasters and have a luncheon sometime in June.  I will then share the code. 

If we schedule speakers I will contact you and others.  I used to work with Richard York who wrote a book about CSS for Wrox and I'm going to ask him about contributing.  I know it would be a trip for you to come up here but  WFYI could spring for some of the cost of my luncheon.

I started ripping up a skin and stylesheet.. this is a very cool way to do it.. Thanks.
3/16/2005 11:54:25 AM
Gravatar
Total Posts 18439

Re: javascript xml error in html editor image upload

Yeah Indiana is a bit of a trek, but ya never know, keep me posted when the time comes.

I just checked my download zips and you were right, I don't know how those folders got left out but I put them back in.   I've had a lot of downloads so I'm surprised no-one mentioned it sooner. Hopefully nothing else is missing.

Update:   I figured out there is a configuration in Unleash It, the deployment tool I'm using, whether to include empty folders. I didn't have it checked so I think that is why it left out the folders. There should also be a folder  Data/SharedFiles/History
You must sign in to post in the forums. This thread is closed to new posts.