Author Topic: Error when using the Viruemart sef_ext  (Read 2865 times)

basicus

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Internet Marketing
Error when using the Viruemart sef_ext
« on: 18 May 2007, 13:51 »
I have problems with the Virtuemart sef_ext on http://www.finn-de-lange.no/virtuemart/fluebinderutstyr_33/

The error message says:
Warning: eregi_replace() [function.eregi-replace]: REG_EMPTY in /www/components/com_virtuemart/sef_ext.php on line 66

Any suggestin what might be causing this problem?

Also I wondered if it's possible to replace the virtuemart part of the url with something else like webshop?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: Error when using the Viruemart sef_ext
« Reply #1 on: 18 May 2007, 14:21 »
It's not me that made Virtuemart extension so it's there without support.
If I get some time I may have a look on that.

Virtuemart part can be replaced as with any other component with extension, please read the docs.

basicus

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Internet Marketing
Re: Error when using the Viruemart sef_ext
« Reply #2 on: 18 May 2007, 15:03 »
OK. I figured it out. I got it to work when I commented out the line in the error message. This line has a connection with removing .html if used.

Now ther eis another problem that might be something you could have a look at: The normal Joomla-links does not work, but sends the user back to the frontpage.

Here is an example:
http://www.finn-de-lange.no/reise-informasjon/

The links is supposed to send the user to a List - Content Section page. It sends me back to the frontpage instead. Any thoughts?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: Error when using the Viruemart sef_ext
« Reply #3 on: 18 May 2007, 15:04 »
If you have any replacements remove them:
http://www.sakic.net/support/faq/sef_advance/#18

basicus

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Internet Marketing
Re: Error when using the Viruemart sef_ext
« Reply #4 on: 18 May 2007, 15:34 »
That did the trick. Thanks Saka for quick reply :)

basicus

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Internet Marketing
Re: Error when using the Viruemart sef_ext
« Reply #5 on: 24 May 2007, 03:01 »
A little follow-up (I don't expect an answer since you have not made the extension).

Anyway, I have seen that the url's generated in the menu are not the same as the ones shown in the addressfield on the landing page. I guess there is a 302 redirect going on here, and wonder if it's possible to avoid this behaviour without too much changing in the sef_ext file.

Example:

The url in the menu looks like

http://www.finn-de-lange.no/nettbutikk/bekledning_18

but the actual landing page is:

http://www.finn-de-lange.no/nettbutikk/bekledning_18/

Any suggestions where the problem might be burried?