Author Topic: [UNDER REVIEW] VM 1.1 r1046 - vmRedirect() - install.virtuemart.php - line63  (Read 5278 times)

Replika

  • Beginner
  • *
  • Posts: 39
After I tried to update this version, when go to com_virtuemart, it says undefined fuction vmRedirect().
I think we need include ps_main.php in install.virtuemart or admin.virtuemart

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: VM 1.1 r1046 - vmRedirect() - install.virtuemart.php - line63
« Reply #1 on: November 21, 2007, 23:09:07 pm »
You where trying to update to r1046 or from r1046 to r1047, which version of Joomla? Did you still have this problem?

Replika

  • Beginner
  • *
  • Posts: 39
:) I updated to r1046 and I'm using J! 1.5 rc3.


I update by replacing all changed files, so it includes install.php. I checked the code, it has function for checking if virtuemart is installed, so I left this file there.
Next, In administrators, when go to com_virtuemart, it first directs to admin.virtuemart.php (?)
I still have file install.php on the server, so it runs virtuemart_is_installed() (LINE 54)
That function has vmRedirect(), but is not defined yet because admin.virtuemart.php (and install.virtuemart.php) does not include ps_main.php (where vmRedirect() is defined)

Maybe i'm wrong, please check.

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
I can install and browse fine, try installing instead of overwriting files (new revision 1048 available)