Post by devtester478 » Thu Mar 22, 2018 3:34 pm

I am using Opencart Version 2.3.0.2 and facing issue to save options with 24 or more sub-options in adding/updating the product. I can only add a maximum of 3 options and other tabs next to Options are not saving. Here is the error i am getting.

Code: Select all

Notice: Undefined index: price in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 188 Notice: Undefined index: sale_price in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 189 Notice: Undefined index: subtract in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 191Notice: Undefined index: price_prefix in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 191Notice: Undefined index: points in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 191Notice: Undefined index: points_prefix in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 191Notice: Undefined index: weight in /server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 191Notice: Undefined index: weight_prefix in server-path-to-my-installation/system/storage/modification/admin/model/catalog/product.php on line 191Warning: Cannot modify header information - headers already sent by (output started at server-path-to-my-installation/admin/controller/startup/error.php:34) in server-path-to-my-installation/system/storage/modification/system/library/response.php on line 12
I am using Journal theme https://themeforest.net/item/journal-ad ... me/4260361

Earlier i was facing issue to save option value from Catalog > Options. I cannot add more than 149 option values to an option. So, i broke the option in 2 options and added rest of the option values in it.

Can anyone help me to fix this issue?

Waiting for the response.

Regards,
Dev

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm

Post by uksitebuilder » Thu Mar 22, 2018 7:02 pm

Edit your PHP.ini

Increase max_input_vars and post_max_filesize

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by devtester478 » Thu Apr 12, 2018 2:04 pm

Thanks for the response. I tried by increasing max_input_vars and post_max_filesize but the issue is still there.
Anything else I should try to fix it.

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm

Post by uksitebuilder » Thu Apr 12, 2018 2:23 pm

Just checking, you changed the php.ini in your admin folder/section right ?

If so, please upload a new file called info.php to your admin folder with the following contents:

Code: Select all

<?php
phpinfo();
Then run it in a browser. e.g. yourdomain.com/admin/phpinfo.php

It will display your php configuration

Check that the values you added in the admin php.ini file are listed

After checking, delete the phpinfo.php file from your server

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by devtester478 » Thu Apr 12, 2018 2:30 pm

No, I was adding it to the .ini file in root directory.

I added the same to the admin .ini file and it works. :yahoo:

Thanks a lot. :)

New member

Posts

Joined
Thu Mar 22, 2018 2:55 pm
Who is online

Users browsing this forum: No registered users and 1 guest