News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] Problem installing Nightly build of V1.1 Virtuemart

Started by madscotsman, October 26, 2007, 20:41:59 PM

Previous topic - Next topic

madscotsman

I have a test server set up with Joomla V1.5RC3. I have tried installing the latest version of the nightly build of V1.1 Virtuemart, but every time I get the message saying "There was an error uploading this file to the server". I have successfully installed another component on this server so I don't think the server setup is wrong! I have extracted the file I downloaded to a folder and I am trying to install the com_virtuemart_V1.1.0.zip file.

I have also tried installing some of the other files, like the modules and I got the message "Your Extension appears to be written for an older version of Joomla!. You must enable the System - Legacy Plugin in the Plugin Manager if you wish to complete this task."

Has anyone else seen these messages?? If so how did you get round them??

Nirm

yes - there are a few people who have experienced this inc me.There is a post in this sub forum that deals with this. SOme solutions have been provided and also a manual install method.
A lot of questions are answered in the VM 1.1 User Manual please read it before asking questions.
-------------------------------------
http://www.nirmoysomaia.com

gregdev

Quote
I have a test server set up with Joomla V1.5RC3. I have tried installing the latest version of the nightly build of V1.1 Virtuemart, but every time I get the message saying "There was an error uploading this file to the server". I have successfully installed another component on this server so I don't think the server setup is wrong! I have extracted the file I downloaded to a folder and I am trying to install the com_virtuemart_V1.1.0.zip file.

Try increasing your upload file size in php.ini. But first, try the suggestion below.

Quote
I have also tried installing some of the other files, like the modules and I got the message "Your Extension appears to be written for an older version of Joomla!. You must enable the System - Legacy Plugin in the Plugin Manager if you wish to complete this task."

Like the message says: publish the Joomla! Legacy plugin.

Greg

[tr][td]
[/td][td]
www.plainlycode.com[/td][/tr]
[/table]

madscotsman

Many thanks for your replies.

I enable the legacy plugin but that didn't make any difference. I have also increased the upload file size to 4M and also increased the max memory used to 16M, but that didn't make any difference either!

I put these changes into administrator/index.php as it said in another post. The file I currently have looks like

<?php

/**

* @version      $Id: index.php 8703 2007-09-02 15:14:45Z jinx $

* @package      Joomla

* @copyright   Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.

* @license      GNU/GPL, see LICENSE.php

* Joomla! is free software. This version may have been modified pursuant

* to the GNU General Public License, and as distributed it includes or

* is derivative of works licensed under the GNU General Public License or

* other free or open source software licenses.

* See COPYRIGHT.php for copyright notices and details.

*/

//Set max file size

ini_set('upload_max_filesize', '4M');

//Increase memory size

ini_set('max_memory_size','16M');

// Set flag that this is a parent file

define( '_JEXEC', 1 );



define('JPATH_BASE', dirname(__FILE__) );



define('DS', DIRECTORY_SEPARATOR);



require_once( JPATH_BASE .DS.'includes'.DS.'defines.php' );

require_once( JPATH_BASE .DS.'includes'.DS.'framework.php' );

require_once( JPATH_BASE .DS.'includes'.DS.'helper.php' );

require_once( JPATH_BASE .DS.'includes'.DS.'toolbar.php' );



JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;



/**

* CREATE THE APPLICATION

*

* NOTE :

*/

$mainframe =& JFactory::getApplication('administrator');



/**

* INITIALISE THE APPLICATION

*

* NOTE :

*/

$mainframe->initialise(array(

   'language' => $mainframe->getUserState( "application.lang", 'lang' )

));



JPluginHelper::importPlugin('system');



// trigger the onAfterInitialise events

JDEBUG ? $_PROFILER->mark('afterInitialise') : null;

$mainframe->triggerEvent('onAfterInitialise');



/**

* ROUTE THE APPLICATION

*

* NOTE :

*/

$mainframe->route();



// trigger the onAfterDisplay events

JDEBUG ? $_PROFILER->mark('afterRoute') : null;

$mainframe->triggerEvent('onAfterRoute');



/**

* DISPATCH THE APPLICATION

*

* NOTE :

*/

$option = JAdministratorHelper::findOption();

$mainframe->dispatch($option);



// trigger the onAfterDisplay events

JDEBUG ? $_PROFILER->mark('afterDispatch') : null;

$mainframe->triggerEvent('onAfterDispatch');



/**

* RENDER THE APPLICATION

*

* NOTE :

*/

$mainframe->render();



// trigger the onAfterDisplay events

JDEBUG ? $_PROFILER->mark( 'afterRender' ) : null;

$mainframe->triggerEvent( 'onAfterRender' );



/**

* RETURN THE RESPONSE

*/

echo JResponse::toString($mainframe->getCfg('gzip'));

?>

Any other suggestions??


madscotsman

Thanks for the reply. I have changed my index.php file so the max memory is 32M and the max upload file size is 4M as you said but it didn't make any difference. Where did you put these declarations??


madscotsman

Thanks for that! I just edited php.ini file and restarted my server.  It is now working! I was just going to post that I got it working, but many thanks for your help.

hoangthanh_mobi

plz upload by FTP and instal with URl

my site use JL1.5RC3

MacAddict

excellent, this got me going with the nightly Jommla and VM 1.1 builds

pixiepie

Quote from: aravot on October 27, 2007, 21:01:35 PM
Using WAMPserver I got the same error, changed the following and it worked.

memory_limit = 32M
upload_max_filesize = 4M
Let me add this.. IF your php.ini file does not contain these lines simply add them to the file.. My php.ini file did not contain these lines. Therefore it wasn't just a matter of change/modify these lines but ADDING them.. HTH somebody..

BevvyB

OK had all these same problems simply installing VM onto the old Joomla 1.x etc

Was driving me NUTS

I got my host to add this to globals on my VPS:

upload_max_filesize = 32MB
post_max_size = 24MB
memory_limit = 32MB

TADA! Everything worked, instant install

So easy answer for people on hosted servers, just ask them to up your limits

Hope that helps

Julian