× [JOOMLA 2.5 IS NO LONGER SUPPORTED]
Looking for a useful answer?

Read this first and make sure you checked all steps: www.csvimproved.com/frequently-asked-questions/635-troubleshooting-import-errors

Don't just say it doesn't work but describe in detail what is happening and add the following information:
* VirtueMart version
* CSVI version (Latest is not a version number)
* Sample of the file being imported
* Collected debug information

Without this information you won't get a useful answer. If no debug log is attached, you will get a request to post it.

Where to get the debug information?

A tutorial ( www.csvimproved.com/frequently-asked-questions/390-how-to-collect-debug-information ) has been written to help you collect your debug information.

Export virtuemart products url error

  • vlada83
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 5 months ago #46544 by vlada83
vlada83 created the topic: Export virtuemart products url error
Hi i found weird problem when exporting products from virtuemart into xml file.
Products url are exported wrong - the address is mydomain.cz/JRouterAdministrator
i use artio joomsef but the problem is with artio, but without artio too

On frontend are urls working fine just in export is problem...

use joomla 2.5.20, csvi 5.20 and VM 2.6.0

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

More
3 years 5 months ago #46555 by rolandd
rolandd replied the topic: Export virtuemart products url error
Hello,

i found weird problem

It's a general problem that Joomla can't generate front-end SEF URLs via the backend. So we try our best :)

One thing you can do is create a replacement rule where you replace /JRouterAdministrator with / that should solve your issue I think.

Kind regards,

RolandD

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory

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

  • vlada83
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 5 months ago #46568 by vlada83
vlada83 replied the topic: Export virtuemart products url error
are you sure? all my links are only mydomain.com/JRouterAdministrator nothing else, no another data after /JRouterAdministrator

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

More
3 years 5 months ago #46572 by rolandd
rolandd replied the topic: Export virtuemart products url error
Well, I understood that the start of your URL is mydomain.cz/JRouterAdministrator and then the rest, not that it is the complete URL.

Something must have changed in Artio JoomSef since CSVI asks Artio for the SEF URL. The only quick fix I can think of is to do this:
  1. Open the file administrator\components\com_csvi\helpers\csvisef.php
  2. After line 202 which says
    private function _joomSef($url) {
    add this line
    return $this->getSEF($url);
  3. Save the file
Now the frontend will be used to generate your SEF URLs.

On frontend are urls working fine just in export is problem...

That is because SEF URLs are only used on the frontend, the backend was never designed to generate frontend SEF URLs :)

Kind regards,

RolandD

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory

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

  • vlada83
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 5 months ago #46574 by vlada83
vlada83 replied the topic: Export virtuemart products url error
well, after edit the code, i get 500 internal server error
it will be great if you can test it by yourself, otherwise to put export sef urls in your component away
i can send you actual code with artio virtuemart sef plugin

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

More
3 years 5 months ago #46576 by rolandd
rolandd replied the topic: Export virtuemart products url error

well, after edit the code, i get 500 internal server error

You can remove that line again. What would be more useful to know is why the server gives you a 500 error. More on this can be found in the 500 Internal Server Error page.

it will be great if you can test it by yourself

That line of code I gave you has been tested and is actually in use on CSVI 5.21.2 for sh404SEF. Sh404SEF also has issues returning the correct SEF URL from the backend.

otherwise to put export sef urls in your component away

JoomSEF and AceSEF have both been removed from CSVI 6 already.

i can send you actual code with artio virtuemart sef plugin

Development on CSVI 5 has ceased. It would be better to find out why it gives the error.

Kind regards,

RolandD

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory

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