These are chat archives for collectiveaccess/support

13th
May 2016
ericwm
@eriwm
May 13 2016 06:53
Thanks, Yes this has been a part time project for me so I have been experimenting for quite a long time.
ericwm
@eriwm
May 13 2016 09:56
Hi again Stefan, Ok I have fixed my profile and run the installer - got new password and logged on. Went to Import Data and dragged a mapping xlsx (worked in 1.6) which uploaded ok Clicked on the icon which takes you to the page where you select the file you want to import, when this page opens i get the following message at the top of the screen. [1605] File type is not supported (File->divineFile() [/var/www/providence-develop/app/lib/core/BaseModel.php:5675] [/var/www/providence-develop/app/lib/core/BaseModel.php:2457] [/var/www/providence-develop/app/lib/core/BaseModelWithAttributes.php:470] [/var/www/providence-develop/app/lib/ca/BundlableLabelableBaseModelWithAttributes.php:244] [/var/www/providence-develop/app/models/ca_data_importers.php:1013] [/var/www/providence-develop/app/controllers/batch/MetadataImportController.php:121] [/var/www/providence-develop/app/lib/core/Controller/RequestDispatcher.php:273] [/var/www/providence-develop/app/lib/core/Controller/AppController.php:112] [/var/www/providence-develop/index.php:114]. Clicking on Execute data import does nothing. This is the same behaviour I reported earlier. Help please.
Anita Ruijmen
@aruijmen
May 13 2016 10:32
Hello Stefan. I have a small question. Do you need to reïndex after making changes to search.conf? We are using mysql.
Anita Ruijmen
@aruijmen
May 13 2016 11:39
To clarify. the only change we are making to search.conf is enabling the "as-is regexes" (the line was commented out)
Stefan
@stefankeidel
May 13 2016 12:00
@eriwm Last time that happened it was because your workspace directory didn't exist or something, right? Can you make sure that's not the case this time?
@aruijmen Depends on what you changed. If you changed something related to indexing then yes, you will have to reindex.
If it's just the asis regexes, then it should be fine.
Anita Ruijmen
@aruijmen
May 13 2016 12:01
Thank you very much. Bye
ericwm
@eriwm
May 13 2016 12:38
Workspace directory exists and mapping.xlsx is loaded into this directory.
Stefan
@stefankeidel
May 13 2016 12:56
Hmm, can you send us the mapping and some example data?
Example mapping and data as per above
PMassoels
@PMassoels
May 13 2016 14:21
Hi there , I want to simport the profile from the command line (fresh install) but get the following error :
[WARNING] Configuration is not available. Loading any CollectiveAccess screen (except for the installer) in a web browser will cache configuration details and resolve this issue.
Any way i can work around this?
Stefan
@stefankeidel
May 13 2016 14:41
@PMassoels you could set the COLLECTIVEACCESS_HOME environment variable so it knows where to look for setup.php right away
PMassoels
@PMassoels
May 13 2016 14:49
to the root path of my installation?
Stefan
@stefankeidel
May 13 2016 14:50
well yeah, the directory where your providence setup.php lives
PMassoels
@PMassoels
May 13 2016 14:51
no result
ah, there it is
thanks!