Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

CSVBulkLoader


Go to End


5 Posts   2179 Views

Avatar
MarijnKampf

Community Member, 176 Posts

19 May 2010 at 3:04am

Edited: 26/05/2010 7:25am

I've tried the Example code from http://doc.silverstripe.org/csvbulkloader?s[]=csv&s[]=import in SilverStripe 2.4 to see whether I can get the CSVBulkLoader to work. The admin section shows correctly but if I try to import an actual CSV site it redirects to a blank page that never finishes loading.

The page doesn't show anything and Firebug shows 27 errors, but none of them seem to be helpful. Has anyone have a working example of the CSVBulkLoader available?

For what it's worth, I've included the javascript errors below:

....loading....
Firebug's log limit has been reached. 0 entries not shown. Preferences
Firebug's log limit has been reached. 0 entries not shown. Preferences
[Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: file:///D:/Mozilla%20Firefox%203/components/nsLoginManager.js :: anonymous :: line 315" data: no]
[Break on this error] (aRequest ? aRequest.name : "(null)") +
nsLoginManager.js (line 315)
Firebug's log limit has been reached. 0 entries not shown. Preferences
statusMessage is not defined
[Break on this error] statusMessage(xhr.statusText, "good");
ModelA...8282248 (line 448)
tinymce is not defined
[Break on this error] tinymce.PluginManager.requireLangPack("ssbuttons");
editor...5029367 (line 2)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinyMCE is not defined
[Break on this error] tinyMCE.addI18n({en:{
en.js?...5029367 (line 1)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] }(tinymce));
editor...5029367 (line 1153)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] var Event = tinymce.dom.Event, each = tinymce.each, DOM = tinymce.DOM;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] var each = tinymce.each;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] tinymce.create('tinymce.plugins.EmotionsPlugin', {
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] var each = tinymce.each;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] var JSONRequest = tinymce.util.JSONRe...h = tinymce.each, DOM = tinymce.DOM;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] var each = tinymce.each;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
tinymce is not defined
[Break on this error] var DOM = tinymce.DOM;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
flags?flush=1 (line 1)
Firebug's log limit has been reached. 0 entries not shown. Preferences
Firebug's log limit has been reached. 0 entries not shown. Preferences
"Reload to activate window console"
statusMessage is not defined
[Break on this error] statusMessage(xhr.statusText, "good");
ModelA...8282248 (line 448)
tinymce is not defined
[Break on this error] tinymce.PluginManager.requireLangPack('advcode');
editor...5029367 (line 2)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
Behaviour is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
Behaviour is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
Behaviour is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
Behaviour is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] tinymce.PluginManager.requireLangPack("ssbuttons");
editor...5029367 (line 2)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinyMCE is not defined
[Break on this error] tinyMCE.addI18n({en:{
en.js?...5029367 (line 1)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] }(tinymce));
editor...5029367 (line 1153)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] var Event = tinymce.dom.Event, each = tinymce.each, DOM = tinymce.DOM;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] var each = tinymce.each;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] tinymce.create('tinymce.plugins.EmotionsPlugin', {
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] var each = tinymce.each;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] var JSONRequest = tinymce.util.JSONRe...h = tinymce.each, DOM = tinymce.DOM;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] var each = tinymce.each;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)
tinymce is not defined
[Break on this error] var DOM = tinymce.DOM;
editor...5029367 (line 9)
tinymce is not defined
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...w.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
players (line 1)

Avatar
cameron_prebble

Community Member, 1 Post

25 May 2010 at 4:59pm

I've been able to get the CsvBulkLoader successfully working in v2.4.0beta-2, but since upgrading to v2.4.0(stable) I've been experiencing the same issues.

Avatar
Achilles Interactive

Community Member, 2 Posts

27 May 2010 at 10:32am

Did you solve this? I am having the same problem. I recently started building my first 2.4 site after numerous successful implementations of the same functionality in 2.3. This particular functionality with the uploader does not seem to work properly in the 2.4 stable release. It just redirects to the home page and sticks. Anyone know of a different technique or setting that is required for 2.4 to make it work?

Avatar
MarijnKampf

Community Member, 176 Posts

27 May 2010 at 6:43pm

I've opened a bug ticket and hopefully a solution will be found soon.

Avatar
Ingo

Forum Moderator, 801 Posts

28 May 2010 at 11:21am

This was fixed by http://open.silverstripe.org/changeset/104533 two weeks ago, which will go into 2.4.1 - sorry about the confusion. Its a pretty straightforward fix which you could patch a 2.4.0 installation with.