VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: Replika on November 19, 2007, 14:32:11 PM

Title: [UNDER REVIEW] VM 1.1 r1046 - vmRedirect() - install.virtuemart.php - line63
Post by: Replika on November 19, 2007, 14:32:11 PM
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
Title: Re: VM 1.1 r1046 - vmRedirect() - install.virtuemart.php - line63
Post by: aravot 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?
Title: Re: [UNDER REVIEW] VM 1.1 r1046 - vmRedirect() - install.virtuemart.php - line63
Post by: Replika on November 22, 2007, 04:14:36 AM
:) 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.
Title: Re: [UNDER REVIEW] VM 1.1 r1046 - vmRedirect() - install.virtuemart.php - line63
Post by: aravot on November 22, 2007, 05:47:51 AM
I can install and browse fine, try installing instead of overwriting files (new revision 1048 available)