VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Studio 42 on February 05, 2017, 21:16:51 PM

Title: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Studio 42 on February 05, 2017, 21:16:51 PM
I tried to install VirtueMart 3.0.19.4 Blue Corvus 9440 on Joomla 3.6.5 and have a 500 internal error.
Sorry i have no more info for now, the php error.log was disabled.
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: lindapowers on February 05, 2017, 21:55:33 PM
Hi Patrick

This little plugin is really useful https://www.rupostel.com/utilities-for-joomla/extensions/fatal-catcher-plugin I reported issues on previous installs thanks to it since it sends the error by email.

I had this error in 3.0.19.3:

1 Class 'vmLanguage' not found in file: websitepath/administrator/components/com_virtuemart/views/updatesmigration/tmpl/insfinished.php line: 25

And in a previous beta also:

"Error message data:
1 Class 'vmLanguage' not found in file: /home/webstite/tmp/install_5879928ba16eb/install/script.virtuemart.php line: 43 "

But installing from 3.0.19.3 to 4 didnt give me the error.
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Studio 42 on February 05, 2017, 23:35:40 PM
I think all was installed correctly, because table update, give me no changes and the shop is running.
But i think that this problem can be afraid many user, if at end all is working or not.
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Milbo on February 06, 2017, 00:19:23 AM
Okey, before we just had in the installer this

if(empty($this->path)){
$this->path = VMPATH_ADMIN;
}


Now we have this

$this->source_path = JInstaller::getInstance()->getPath('source');
if(!empty($this->source_path)){
defined('VMPATH_ROOT') or define('VMPATH_ROOT', $this->source_path);
} else {
defined('VMPATH_ROOT') or define('VMPATH_ROOT', JPATH_ROOT);
$this->source_path = VMPATH_ROOT .'/administrator/components/com_virtuemart';
}
defined('VMPATH_ADMIN') or define('VMPATH_ADMIN', VMPATH_ROOT .'/administrator/components/com_virtuemart');
$this->path = VMPATH_ADMIN;


I think I found the bug.
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Milbo on February 06, 2017, 17:02:35 PM
Please test this one /1053/com_virtuemart.3.0.19.5_extract_first.zip

Problem is to test it correctly, it needs an update of a version, which is older than vm3.0.18.2
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: tanolalano on February 08, 2017, 09:26:09 AM
I get same error updating from vm 3.0.18.7 to 3.0.19.4.
Solved with 3.0.19.5
Thanks Milbo
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Milbo on February 08, 2017, 12:32:25 PM
yeh, the problem is, you get the error only when you udpate something below vm3.0.18.7, or so.
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Studio 42 on February 09, 2017, 17:13:28 PM
Always a problem :
Class 'vmLanguage' not found in file: websitepath/administrator/components/com_virtuemart/views/updatesmigration/tmpl/insfinished.php in VirtueMart 3.0.19.5 Blue Corvus 9444 from 3.0.18
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Milbo on February 14, 2017, 09:07:39 AM
Patrick, I was not able to reproduce. Please do a test with this one http://dev.virtuemart.net/attachments/download/1054/com_virtuemart.3.0.19.6_extract_first.zip
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Studio 42 on February 14, 2017, 15:02:28 PM
The problem is only when you update from 3.0.18
Title: Re: VirtueMart 3.0.19.4 Blue Corvus 9440 install = error 500
Post by: Milbo on February 14, 2017, 22:03:39 PM
I know, but vm3.0.19.6 has not this error in my tests. I tried also vm3.0.16