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

I ask a refund but I don't have any answer from you... I bought your editor but...
1 day ago 0
I have modified and created a template to my liking and tested it - everything l...
1 week ago 0
Hi! I bought your VM3 admin template. I installed the package but the plugin ...
2 weeks ago 0
Zdravím, chtěl bych se zeptat, zda-li placená verze ProductXport umožňuje aut...
3 weeks ago 2

Who's Online

We have 197 guests and one member 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.