Hi! I have an error while installing any version (2.0.0 / 2.0.2),
this is the error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /member/MYDOMAIN/administrator/components/com_virtuemart/install/script.virtuemart.php on line 36
I have tryed on more domain, the same error with another line is in the ext_io.
Have you any solution please?
Thank You
Which PHP version?
PHP Version 5.3.10
Joomla 1.5.25
Something strange happening. Note you are the only person to report seeing this. There is no text string in that part of script.virtuemart.php
Code should be like this
public function loadVm() {
// $this->path = JInstaller::getInstance()->getPath('extension_administrator');
if(empty($this->path)){
$this->path = JPATH_VM_ADMINISTRATOR;
}
require_once($this->path.DS.'helpers'.DS.'config.php');
JTable::addIncludePath($this->path.DS.'tables');
JModel::addIncludePath($this->path.DS.'models');
}
Some file corruption somewhere of I wonder if there is a bug in PHP 5.3.10 (I use 5.3.8)
In fact I read it, I downloaded the package again both 2.0.0 and 2.0.2 and I get the same error on 2 different domains!
Somebody else has?
I checked the php version of the other domain. is: PHP 4.4.9
Is there a minimum requirement for installing it?
I want to clarify that a third domain, the 2.0 version of virtuemart I work almost seamlessly.
Minimum PHP version is 5.2.4 - preferable 5.3+
PHP4.4.9 is way too old and can give the T-STRING error.
nothing, on the server with php 5.3 any solution .. see if someone can use this version of php <5.3>and has no problems? thanks