Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.

Upload plug-in error

Hi I get the following warning on the product page when using the Simple File Upload plug-in:

Warning: Missing argument 1 for JSession::getInstance(), called in /home/catalog/plugins/vmcustom/fileinput/fileinput/tmpl/default.php on line 25 and defined in /home/catalog/libraries/joomla/session/session.php on line 178

Warning: Missing argument 2 for JSession::getInstance(), called in /home/catalog/plugins/vmcustom/fileinput/fileinput/tmpl/default.php on line 25 and defined in /home/catalog/libraries/joomla/session/session.php on line 178

Also there´s only a "Chose File" button, no "Upload" button. When I choose a file and "Add to Cart" no file is uploaded,

It´s a Joomla 3.6.2 install with Virtuemart 3.0.16
Responses (1)
  • Accepted Answer

    Friday, September 23 2016, 09:34 AM - #permalink
    Hello open the file /home/catalog/plugins/vmcustom/fileinput/fileinput/tmpl/default.php
    and replace the code
    $session = JSession::getInstance();

    at line 25 by this code:

    $conf = JFactory::getConfig();
    $handler = $conf->get('session_handler', 'none');
    $options['expire'] = ($conf->get('lifetime')) ? $conf->get('lifetime') * 60 : 900;

    $session = JSession::getInstance($handler, $options);
    $session_id = $session->getId();

    This bug will be fixed at next release of plugin.

    Linelabox support
    The reply is currently minimized Show
Your Reply

VirtueMart Admin Theme


Responsive VirtueMart 3 Administrator Template


New Joomla! 3 Template


Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo

Recent Discussions

Dobrý den, právě jsem přešel s Joomlou 3.7.2 a VirtueMartem 3.2.2 na novou verzi...
10 hours ago 0
Show the car only to register Hello, I searched everywhere before asking. I w...
2 days ago 0
Trying to place order for 10 credits (UK based) but it is insisting on a VAT num...
2 days ago 0
How can I remove all the white space between the end of 1 article and the beginn...
3 days ago 0

Who's Online

We have 288 guests and no members online is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.