1. EsSa55
  2. RO CSVI
  3. Tuesday, 07 February 2017
  4.  Subscribe via email
Hi

I am actually still using v5.21.2 on Joomla 3.6.5 + Virtuemart 3.0.18 ( I have upgraded to v7 but not yet installed).

We use CSVI to produce a google sitemap of all in stock products.

We are about to venture into the multi-lingual world, using sub-domains rather than sub-directories

e.g. nl.4footyfans.com not http://4footyfans.com/nl

We wish to produce multi-lingual versions of the sitemap do not know how to handle the product_url & product_image variables.

The attached file shows the current format and also a possible new format to handle the additional currencies but I need to be able to resolve the use of the 2 variables which point to the main site (http://www.4footyfans.com) product & image urls

Or, do we need to use a different structure?

TIA

Eddie Current Sitemap structure_.txt
Accepted Answer Pending Moderation
Ah! I see you have amended the cron.php file.

I set the job to run at 20:05 (GMT).

The cronjob email status has now changed to:

"Process started"

At the time of writing this message, the job has been running for 19 minutes.

It should take less than 1 minutes.

I wonder if the job cannot handle the switch currency rule?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 21
Accepted Answer Pending Moderation
Hello Eddie,

Is it!? Where?
In the cron.php file.

Are you saying not to use the --key parameter first?
I am not saying that.

If I use another parameter first, will that work or also be ignored?[/quoite]It doesn't matter which parameter you use first, that is the issue that I resolved.

You can run the CLI command as before, no changes needed.
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. # 22
Accepted Answer Pending Moderation
Hello Roland

The issue being that the first parameters was dropped, so the secret key was being ignored.


I understand that.

Would you by chance had the template ID as first argument, this thread would have been about the template not being used :)


?

So the fix is in your CSVI 7 setup,


Is it!? Where?

Are you saying not to use the --key parameter first?

If I use another parameter first, will that work or also be ignored?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 23
Accepted Answer Pending Moderation
Hello Eddie,

Thanks for the access, I have been able to trace the issue. The issue being that the first parameters was dropped, so the secret key was being ignored. Would you by chance had the template ID as first argument, this thread would have been about the template not being used :)

So the fix is in your CSVI 7 setup, I am of course going to include it in the next release.
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. # 24
Accepted Answer Pending Moderation
Hey Eddie,

Thanks, I will check it and let you know my findings.
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. # 25
Accepted Answer Pending Moderation
Hi

Email sent.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 26
Accepted Answer Pending Moderation
Hello Eddie,

Please send it to contact@csvimproved.com Thanks.
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. # 27
Accepted Answer Pending Moderation
Hello Roland

Ok, my host has confirmed no 'key' blockage.

I can send you ssh access.

Please advise where to send.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 28
Accepted Answer Pending Moderation
Hello Roland

I'll do that after my host has responded.

They are pretty good and will test all available options.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 29
Accepted Answer Pending Moderation
Hello Eddie,

Can I use the v5 cron.php in the v7 setup?
That is not possible unfortunately. What is even more interesting, since you mentioned version 5, I compared this with version 7 and the way CSVI collects the arguments is the same.

Would it be possible to send me SSH access so I can see what is going 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. # 30
Accepted Answer Pending Moderation
Hi

I have asked the question of the host but, after checking other jobs, I see that v5 outputs our sitemap correctly on our live site.

That's WITH a key and also user & password.

I tried the new one with the addition of --user --passwd but it still threw out the key.

Can I use the v5 cron.php in the v7 setup?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 31
Accepted Answer Pending Moderation
The PHP info shows there are a number of security layers added, the Zend Guard and Suhosin patches. Now I wonder if any kind of argument makes it into the script or if these patches prevent any argument from going in. If you run the cron job like this, does that give any output?
php administrator/components/com_csvi/helper/cron.php --help


Yes, help options are returned.

Something else coming to mind, perhaps those patches don't like the name key and just filter that out. Only your hosting provider could tell us that.

I will check with the host.

In the Setting up a cron job document I gave you earlier there you see red boxes in the first screenshot. The explanation below the image tells you what happens.

Yes, that's not a problem.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 32
Accepted Answer Pending Moderation
Hey Eddie,

The PHP info shows there are a number of security layers added, the Zend Guard and Suhosin patches. Now I wonder if any kind of argument makes it into the script or if these patches prevent any argument from going in. If you run the cron job like this, does that give any output?
php administrator/components/com_csvi/helper/cron.php --help


Something else coming to mind, perhaps those patches don't like the name key and just filter that out. Only your hosting provider could tell us that.

In the Setting up a cron job document I gave you earlier there you see red boxes in the first screenshot. The explanation below the image tells you what happens.
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. # 33
Accepted Answer Pending Moderation
Hello Roland

See attached screenshot for php info

<You don't see the fieldnames show up that can be used in the cron command?>

Sorry, see them where?

Best

Eddie
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 34
Accepted Answer Pending Moderation
Hello Eddie,

Can you tell me what you see when you run the command
php -v
from the command line? The issue with the key is that CSVI is not passed any key value. So we need to figure out why that is.

Unlike in v5 which displays the cron command line, the CRON button has no effecct when pressed in v7
You don't see the fieldnames show up that can be used in the cron command?
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. # 35
Accepted Answer Pending Moderation
Hi

Yes, 5.5.33 is the cli version.

The only language tables that are populated are the en-GB, which is the original base currency.

The others exist but are all empty.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 36
Accepted Answer Pending Moderation
Hello,
php v5.5.33

Again to confirm, is this the php version of your CLI?

Thanks for info re currecy switch. The currency tables exist but are not yet populated.

Do you have manufacturers in the language table? Can you send me your VirtueMart mysql dump to check? You can send it as a private message or email it to tharuna@csvimproved.com.
Kind regards,

Tharuna

=========================
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. # 37
Accepted Answer Pending Moderation
Hello Tharuna

php v5.5.33

Thanks for info re currecy switch. The currency tables exist but are not yet populated.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 38
Accepted Answer Pending Moderation
Hello,
Are you saying php 7 is a requirement?

The other thread implies the user switched to v7 but there is no reference to it being the ONLY version which works properly.

PHP7 is not a must, i wanted to say if you are running old version of PHP then upgrading may fix the issue. The minimum required version for CSVI is PHP 5.4. Can you tell me which version you are running? You should check the PHP version your CLI is running on, that could be running on a older version and so your are having problem with your cron.

Running export with your template gets the SEF urls correct. Can you check if Joomla system SEF is enabled in plugins manager?

I also notice that when trying to switch language (from base) in Options, the option to select a Manufacturer disappears and All Manufacturers is forced.

Thats correct. The manufacturers are listed from the selected language table. If the language is reset, the list of manufacturers are also reset as it will be read from the new selected VirtueMart manufacturer language table.
Kind regards,

Tharuna

=========================
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. # 39
Accepted Answer Pending Moderation
Hello Tharuna

This could be a because of PHP version you are running. Please check the thread here with the same issue and was fixed with PHP version.


Are you saying php 7 is a requirement?

The other thread implies the user switched to v7 but there is no reference to it being the ONLY version which works properly.

If downloading a test set of products, the output is still NON-sef.

Can you post the template XML file? To get template XML file go to CSVI maintenance page, Select CSVI Pro on first option and Backup template on second option. Select your template and click continue. Download the XML file and post it here.

Ok, here it is.

I also notice that when trying to switch language (from base) in Options, the option to select a Manufacturer disappears and All Manufacturers is forced.

Best

Eddie
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 40
  • Page :
  • 1
  • 2
  • 3


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