import csv gives blank screen

More
12 years 1 week ago #44380 by hede
Both of the buttons "Prepare import task" and "Test file format" give a blank screen in FF26 and Chrome32.

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 1 week ago #44385 by ggppdk
Hello

blank page almost always means a PHP fatal error

please (temporarily) enable "error reporting" in
(set it to maximum but not to "development")
Global Configuration / Server TAB / Server Settings / Error reporting


-- 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 review. Thanks!

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

More
12 years 1 week ago - 12 years 1 week ago #44392 by hede
Replied by hede on topic import csv gives blank screen
Thanks for the suggestion, "error reporting" is already at max. No PHP error displayed. Here is the HTML source of the blank page. It says "<script>alert ('File has unused 46 col....":
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\'

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4
Last edit: 12 years 1 week ago by hede.

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

More
12 years 1 week ago #44394 by ggppdk
Hello

Do you get any JS errors ?


-- 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 review. Thanks!

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

More
12 years 1 week ago #44399 by hede
Replied by hede on topic import csv gives blank screen
indeed, silly that I did not look immediately ...
Code:
SyntaxError: unterminated string literal alert ('File has unused 46 columns \'metadesc\' , \'metakey\' , \'l index.php (line 1, col 7)

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 1 week ago #44417 by ggppdk
Hello

i see,

the field names are not quoted properly in this case

-- have you created any field that has single quote in its name ?

e.g. field name:
l'test


-- 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 review. Thanks!

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

More
12 years 1 week 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
12 years 1 week 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 review. Thanks!

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

More
12 years 1 week 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
12 years 1 week 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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