import csv gives blank screen

More
11 years 4 months ago #44421 by hede
Replied by hede on topic import csv gives blank screen
The JS error happens when any error message is produced. In my case the error was that all columns were "unused" due to the wrong row- or item-separator.

Now that I fixed the item separator the page is not blank any more.

BUT an other very serious flaw showed up: after "testing" the csv and returning to the import screen ALL the setup is gone! Meaning I have to redo the entire setup, every single field lost its setup and is back to default. So not only do I need to redo the setup, I also need to remember every single value I chose, so I can use a different value for the next test ... this is highly impractical, IMHO.

cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #44425 by ggppdk
Hello

actually it is not as you describe,
a lot of work and time was put to help user with the import procedure, providing feedback and making sure that user is notified of his / her mistakes

1. You can have a default configuration for most parameters of Import,
thus you can avoid re-entering them
(e.g. next time you login and import a different CSV file)


2. The import is built to help user correct mistakes, so it has many checks to make sure that data are valid, and a JS popup opens to show the error

as soon as you click OK a "browser back" is executed THUS you do not have to re-enter anything in the form


in your case there is a parsing error, probably a quote inside a field name



3. There is an extra preview step (that appears after the form is "prepared" successfully) thus you know what you are importing


4. The final import STEP is AJAX based thus it avoids timeout (e.g. you import 3 items per step), and if you stop import but do not log out or close browser, you can still continue at the point that import stopped

5. There is logging in the final screen that logs ALL errors (also these are logged in a file)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #44429 by hede
Replied by hede on topic import csv gives blank screen

a lot of work and time was put

I know! And I appreciate it very much! Don't get me wrong, it was just to report what happens in my installation so the process can be improved even more.

Now to your tips:

1. I cant see any possibel way to store a default configuration. Where can I do that?

2. the JS popup does not appear, no matter what the error is, it gives a blank screen and I have to look at the HTML source to see the error message. And when I hit the back button of the browser all setup is lost. Even when the test finds no error there is no JS popup, just a plain page with the test result. and when I hit the link in "please click here to return previous page" all setup is lost as well

3. works fine

4. works fine

5. where do I find that file?

cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #44432 by ggppdk

hede wrote: 1. I cant see any possibel way to store a default configuration. Where can I do that?

FLEXIcontent COMPONENT configuration /Backend managers TAB / Import Manager Configuration

hede wrote: 2. the JS popup does not appear, no matter what the error is, it gives a blank screen and I have to look at the HTML source to see the error message. And when I hit the back button of the browser all setup is lost. Even when the test finds no error there is no JS popup, just a plain page with the test result. and when I hit the link in "please click here to return previous page" all setup is lost as well


Please copy paste the full HTML source that has the JS error (do view page source in browser)so that i can find the bad quoted JS strings

hede wrote: 5. where do I find that LOG file?

Inside /logs/ folder but you can also copy paste the scrolled textarea that appears during final AJAX import, it is the same text


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #44433 by hede
Replied by hede on topic import csv gives blank screen
I posted the code in question already above. Firebug complains about the ' in ('File at
Code:
<html><head><link href="...administrator/components/com_flexicontent/assets/css/flexicontentbackend.css" rel="stylesheet"><link href="...administrator/components/com_flexicontent/assets/css/j3x.css" rel="stylesheet"><script>alert ('File has unused 46 columns \'metadesc\' , \'metakey\' , \'language\'
I do not have any quotes or single quotes in my csv test file.

Thank you for the other answers, sorted.

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #44436 by ggppdk
Hello

no i need the full HTML source ,
to see the full JS code,

can you do view page source on the blank page and copy paste it here ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.541 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save