1. webstar
  2. RO CSVI
  3. Tuesday, 17 January 2023
  4.  Subscribe via email
Hi I'm doing a test export with a differetn databse name which I have switched within the Joomla Config. Joomla connects to the new dataabse no problem and I have custom templates setup under this new database "testing_historic"

When I try to run the script via the command line the eg /usr/bin/php7.4 /var/www/testing/administrator/components/com_csvi/helper/cron.php --key="xxxxxx" --template_id="90"

I get Template with ID 90 has not been found

If I run the template with the same ID as my origional database template (one I know exists on the original DB) it runs ok.

So when I switch DB it seems ROcsvi isnt actually switching to the DB defined in the Joomla config. Its retaining the OLD db connection. Is there a way to manually change this in the ROCSVI config?
Accepted Answer
Accepted Answer Pending Moderation
Argh -appologies - I was logged in on the wrong server.

All good and running now
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.