Author Topic: Cannot Add New product SAVE button does not work [solved]  (Read 2916 times)

EinsteinOz

  • Beginner
  • *
  • Posts: 5
  • A beginner
Cannot Add New product SAVE button does not work [solved]
« on: March 30, 2015, 04:44:57 am »
Hi I have Joomla  3.4.1 and VirtueMart 3.0.6.2. PHP 5,4 I am using quickinstall from Gavick Storefront template.

I cannot create or edit any new products. The Save and Save and Close and Cancel buttons are not working. This has worked previously with this install but suddenly stopped working..have no idea why..I did the debug and can't see any errors.

My Server manager checked on the server side and errors could not be seen either..Suggestion is that it may be a PHP issue? I cleared Cache everywhere - Joomla, Browser, restarted the computer. I also tried a fresh install but the problem was not fixed. No idea what to do now, please help!   :-\

robecapde

  • Beginner
  • *
  • Posts: 2
Re: Cannot Add New product SAVE button does not work
« Reply #1 on: March 30, 2015, 06:01:27 am »
i have the same problem from march 26

Apache    2.2.29
PHP    5.4.32
MySQL    5.5.37-cll
Joomla! 3.4.1
VirtueMart 3.0.6.2

can you help us pls...

Miku

  • Jr. Member
  • **
  • Posts: 79
  • A beginner
  • VirtueMart Version: 3.0.18, J!3.6.4

robecapde

  • Beginner
  • *
  • Posts: 2
Re: Cannot Add New product SAVE button does not work
« Reply #3 on: March 30, 2015, 07:51:53 am »
Hi miku, thanks for the help, but i down the files and isnt working, i have the next message

Hola Miku, gracias por la ayuda, descargue los archivos pero no funciona, tengo el sigueinte mensaje.

Error

Se ha producido un error subiendo este archivo al servidor.

No se puede encontrar el paquete de instalaciĆ³n


EinsteinOz

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Cannot Add New product SAVE button does not work
« Reply #4 on: March 30, 2015, 14:41:19 pm »
Hi Miku, thank you for the link, I am a bit worried updating the source files. Once I update the software for future versions, won't it get overwritten and the problem will return? Thank You.

EinsteinOz

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Cannot Add New product SAVE button does not work
« Reply #5 on: March 30, 2015, 14:48:31 pm »
ok did this and it worked, thank you:

A fix for this problem

Open the file --> /administrator/components/com_virtuemart/views/product/tmpl/product_edit_price.php

Change these lines:

        <td  nowrap>
         <?php echo  vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_up'], 'mprices[product_price_publish_up][]'); ?>
        </td>
        <td  nowrap>
         <?php echo  vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_down'], 'mprices[product_price_publish_down][]'); ?>
        </td>

To:

It's on line 144 and 147, make sure that you add the 0 between the brackets... this fixes the problem.

        <td  nowrap>
         <?php echo  vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_up'], 'mprices[product_price_publish_up][0]'); ?>
        </td>
        <td  nowrap>
         <?php echo  vmJsApi::jDate ($this->product->allPrices[$this->product->selectedPrice]['product_price_publish_down'], 'mprices[product_price_publish_down][0]'); ?>
        </td>


EinsteinOz

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Cannot Add New product SAVE button does not work
« Reply #6 on: March 30, 2015, 15:10:25 pm »
Hi Admin, sorry I am new here and am not sure how to set this post to SOLVED. :)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9192
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Cannot Add New product SAVE button does not work [solved]
« Reply #7 on: March 30, 2015, 15:59:30 pm »
set to solved - plus will mention vn3.0.6.4 is the official fix - just install
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9972
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Cannot Add New product SAVE button does not work [solved]
« Reply #8 on: March 31, 2015, 01:51:14 am »
Actually, there is a new problem with it, so we work hard on vm3.0.7, as test release and then vm3.0.8 at end of the week as "final".
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9972
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/