1. sandstorm871
  2. RO CSVI
  3. Friday, 11 September 2015
  4.  Subscribe via email
I have set up an export to export joomla users;
fullname,email

When running this I get this error;

Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY Com_UsersModelExportUser ORDER BY Com_UsersModelExportUser' at line 5 SQL=SELECT `u`.`name` AS `fullname`, `email` FROM `w3094_users` AS `u` LEFT JOIN `w3094_user_usergroup_map` AS `map2` ON `map2`.`user_id` = `u`.`id` WHERE `map2`.`group_id` IN () GROUP BY Com_UsersModelExportUser ORDER BY Com_UsersModelExportUser


I also downloaded the log file to attache for you here, but the downloaded file was blank/empty? I seem to remember this was a problem in the beta versions too?

Here is the debug log just copy/pasted;

Details
Date 2015-09-11 16:16:04 UTC
Software Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Date Time Line Action Comment
Processed 40 lines
2015-09-11 16:16:04 0 [DEBUG] Clean up old logs. Found 15 logs and threshold is 25 logs
2015-09-11 16:16:04 0 [QUERY] SELECT csvi_log_id FROM w3094_csvi_logs ORDER BY csvi_log_id
2015-09-11 16:16:05 0 [DEBUG] Clean up old logs. Found 15 logs and threshold is 25 logs
2015-09-11 16:16:05 0 [QUERY] SELECT csvi_log_id FROM w3094_csvi_logs ORDER BY csvi_log_id
2015-09-11 16:16:05 0 [DEBUG] CSVI Pro Version: 6.1.2
2015-09-11 16:16:05 0 [DEBUG] Joomla! version: 3.4.4
2015-09-11 16:16:05 0 [DEBUG] PHP version: 5.6.12
2015-09-11 16:16:05 0 [DEBUG] =========================
2015-09-11 16:16:05 0 [DEBUG] action: export
2015-09-11 16:16:05 0 [DEBUG] component: com_users
2015-09-11 16:16:05 0 [DEBUG] operation: user
2015-09-11 16:16:05 0 [DEBUG] localpath:
2015-09-11 16:16:05 0 [DEBUG] ftphost:
2015-09-11 16:16:05 0 [DEBUG] ftpport:
2015-09-11 16:16:05 0 [DEBUG] ftproot:
2015-09-11 16:16:05 0 [DEBUG] ftpfile:
2015-09-11 16:16:05 0 [DEBUG] export_email_subject:
2015-09-11 16:16:05 0 [DEBUG] export_email_body:
2015-09-11 16:16:05 0 [DEBUG] export_filename: joomla-users-information.csv
2015-09-11 16:16:05 0 [DEBUG] export_file: csv
2015-09-11 16:16:05 0 [DEBUG] field_delimiter: ,
2015-09-11 16:16:05 0 [DEBUG] text_enclosure: "
2015-09-11 16:16:05 0 [DEBUG] include_column_headers: Yes
2015-09-11 16:16:05 0 [DEBUG] signature: No
2015-09-11 16:16:05 0 [DEBUG] recordstart:
2015-09-11 16:16:05 0 [DEBUG] recordend:
2015-09-11 16:16:05 0 [DEBUG] header:
2015-09-11 16:16:05 0 [DEBUG] body:
2015-09-11 16:16:05 0 [DEBUG] footer:
2015-09-11 16:16:05 0 [DEBUG] user_state: *
2015-09-11 16:16:05 0 [DEBUG] user_active: *
2015-09-11 16:16:05 0 [DEBUG] user_range: *
2015-09-11 16:16:05 0 [DEBUG] groupbyfields:
2015-09-11 16:16:05 0 [DEBUG] sortfields:
2015-09-11 16:16:05 0 [DEBUG] use_system_limits: No
2015-09-11 16:16:05 0 [DEBUG] max_execution_time:
2015-09-11 16:16:05 0 [DEBUG] memory_limit:
2015-09-11 16:16:05 0 [DEBUG] =========================
2015-09-11 16:16:05 0 [DEBUG] Export field: fullname
2015-09-11 16:16:05 0 [DEBUG] Export field: email
Accepted Answer Pending Moderation
but the downloaded file was blank/empty? I seem to remember this was a problem in the beta versions too?
Correct and this should have been fixed. If the log file is over a certain size it is no longer zipped but offered as a text download.

As for the export CSVI seems to think there is a usergroup to filter on. Have you selected any usergroups? Can you check the template says there are no usergroups to filter on?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
See Screenshot, I have everything set as "Don't Use" & nothing selected in Group.

Selecting the Group dropdown, I don't actually see any of my usergroups anyway, I only see an asterix with a note saying "dont use". I selected this, save and tried the export again & got the following error

Unknown column 'Com_UsersModelExportUser' in 'order clause' SQL=SELECT `u`.`name` AS `fullname`, `email` FROM `w3094_users` AS `u` GROUP BY Com_UsersModelExportUser ORDER BY Com_UsersModelExportUser


ScreenShot2015-09-14at12.56.59.png

ScreenShot2015-09-14at13.01.56.png

ScreenShot2015-09-14at12.57.19.png
Attachments (3)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Andy,

Do you see the help texts as soon as you open the template? If so, there is a JavaScript error and that should be resolved first.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
I see all the help text message as soon as the templates are opened, but this only happens for the templates that come with the default CSVi install.
Virtuemart templates don't show these help messages.


I installed CSVi in another/separate J3.4.3 site, that has never had CSVi installed in the past & set up the same export template.
This also only has the default CVSI install - no addition addon's.
See setup screenshot below

I selected;
Action > Export
Component Joomla Users
Operation > User

Initially there was no help messages showing in the template, but upon saving, all the help messages showed up

I also set up an export for Just joomla categories (In this new/test site) & get this error when trying to just export categories field?

Error
Unknown column 'Com_CategoriesModelExportCategory' in 'order clause' SQL=SELECT `c`.`path` FROM `hbxys_categories` AS `c` WHERE asset_id > 0 GROUP BY Com_CategoriesModelExportCategory ORDER BY Com_CategoriesModelExportCategory


Only similarity here is that both sites are on the same siteground VPS

ScreenShot2015-09-15at14.58.17.png
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hey Andy,

As discussed, these issues are fixed with the patches I sent you and will be available in the upcoming 6.2.0 release of CSVI.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!