VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: abhkum on September 17, 2013, 00:08:54 AM

Title: Backend Products Save and Edit not working
Post by: abhkum on September 17, 2013, 00:08:54 AM
Hi,
I really need help on this, please somebody guide me. :-[
I tried everything in this forum, but no solution worked for me :(, so posing this question.
Using VM 2.0.22C and Joomla 2.5.14

When i try to edit existing product, i get a blank page
when i try to add new product, i am able to add every fields, but when i click on save, I get blank page.

the blank page url is: administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=19&product_parent_id=0

Thanks
Title: Re: Backend Products Save and Edit not working
Post by: PRO on September 17, 2013, 02:58:52 AM
do you have tabs on the backend?

is the js being loaded?
Title: Re: Backend Products Save and Edit not working
Post by: abhkum on September 17, 2013, 06:55:29 AM
Hi,

Yes i do have tabs on backend.
When I checked with console, it showed nothing, Could it be the JS?
How to resolve it?

Thanks
Update: I M even not able to edit the products from front end  :-[
Title: Re: Backend Products Save and Edit not working
Post by: abhkum on September 17, 2013, 08:28:42 AM
I enabled the error reporting, and got this error when clicked on product from backend:

Strict Standards: Declaration of VirtueMartModelMedia::store() should be compatible with that of VmModel::store() in /home/factokr6/public_html/administrator/components/com_virtuemart/models/media.php on line 29

Strict Standards: Only variables should be assigned by reference in /home/factokr6/public_html/administrator/components/com_virtuemart/models/media.php on line 80

Fatal error: Call to undefined method shopFunctionsF::getMenuItemId() in /home/factokr6/public_html/administrator/components/com_virtuemart/views/product/view.html.php on line 221
Title: Re: Backend Products Save and Edit not working
Post by: Maxim Pishnyak on September 17, 2013, 09:06:36 AM
Do you have
function getMenuItemId( $lang = '*' ) {
in your components\com_virtuemart\helpers\shopfunctionsf.php ?
Title: Re: Backend Products Save and Edit not working
Post by: abhkum on September 17, 2013, 13:21:39 PM
Hey Maxim, Thanks a lot buddy!

That solves the prob!

Thanks
Title: Re: Backend Products Save and Edit not working
Post by: Maxim Pishnyak on September 17, 2013, 17:12:26 PM
You're welcome!
Title: Re: Backend Products Save and Edit not working
Post by: Brakie on October 10, 2013, 10:00:33 AM
Hi,

I have the same problem now.  I have looked through the .php file and can not find the place where I need to put in: function getMenuItemId( $lang = '*' ) {

Please help.

VM 2.0.24
Joomla 2.5.14
Title: Re: Backend Products Save and Edit not working
Post by: Maxim Pishnyak on October 10, 2013, 10:15:53 AM
Could you post your error?
Title: Re: Backend Products Save and Edit not working
Post by: Brakie on October 10, 2013, 10:22:09 AM
Sorry should have inserted it.

Fatal error: Call to undefined method shopFunctionsF::getMenuItemId() in /home/snugbugc/public_html/administrator/components/com_virtuemart/views/product/view.html.php on line 225
Title: Re: Backend Products Save and Edit not working
Post by: Maxim Pishnyak on October 10, 2013, 16:50:10 PM
Your Joomla version?
Title: Re: Backend Products Save and Edit not working
Post by: Brakie on October 11, 2013, 08:51:00 AM
Mentioned it in my first post  :P

Joomla 2.5.14
Title: Re: Backend Products Save and Edit not working
Post by: Maxim Pishnyak on October 11, 2013, 11:23:50 AM
Oh, true. Sorry.
Title: Re: Backend Products Save and Edit not working
Post by: evephoto on November 14, 2013, 10:08:03 AM
Hi,

I have the exact same problem. Could you give details on how to resolve it ?

Thanks a lot in advance !
Title: Re: Backend Products Save and Edit not working
Post by: Milbo on November 14, 2013, 22:41:22 PM
Seems for me like a not correctly updated virtuemart.