Post by zollgut » Thu Jul 04, 2019 6:15 pm

Hi, I have an issue with one of my websites and hoping someone here could help please as we've tried everything we could think of so far (including searching the forum), but have not managed to find a solution..

The website runs on v3.0.2.0 and has been up and running for a year or so. At one point in the past we had to increase a few variables in the php.ini file in the admin folder because we use a lot of product options (300+ colour options), but that was easily done and we have not had any issues since..

Recently however, our hosting provider has upgraded from Apache3 to Apache4 and ever since then when we try to update the product options we get the following errors:

Code: Select all

Notice: Undefined index: option_value_description in /home/domain/public_html/thedomain.com/vqmod/vqcache/vq2-admin_controller_catalog_option.php on line 420Warning: Invalid argument supplied for foreach() in /home/domain/public_html/thedomain.com/vqmod/vqcache/vq2-admin_controller_catalog_option.php on line 420Notice: Undefined index: image in /home/domain/public_html/thedomain.com/vqmod/vqcache/vq2-admin_model_catalog_option.php on line 71Notice: Undefined index: sort_order in /home/domain/public_html/thedomain.com/vqmod/vqcache/vq2-admin_model_catalog_option.php on line 71Notice: Undefined index: option_value_description in /home/domain/public_html/thedomain.com/vqmod/vqcache/vq2-admin_model_catalog_option.php on line 78Warning: Invalid argument supplied for foreach() in /home/domain/public_html/thedomain.com/vqmod/vqcache/vq2-admin_model_catalog_option.php on line 78Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/thedomain.com/admin/controller/startup/error.php:34) in /home/domain/public_html/thedomain.com/system/library/response.php on line 36
Furthermore the new options are not saved and instead around 100 last options are deleted instead... We think it's because of memory limit issues but can't seem to work out how/what needs to change.. As we are on Apache4 now the hosting has installed multiPHP INI Editor which only allows one php.ini file per domain, and this needs to be in the root folder, cannot be in the /admin folder..

So what we've done is moved the variables that were previously in /admin/php.ini into the main php.ini file in the root folder, hoping this would work, but it hasn't.. Furthermore we've also copies same values to a new .user.ini file which we've placed in the /admin folder but again this does not seem to have worked as intended.

I'm pasting in the contents of /admin/.user.ini so you see the values set, I'm aware they may be rediculously high now but we've just been increasing them to no avail..

Code: Select all

max_input_time = 60
max_input_vars = 99999999
post_max_size = 99999M
upload_max_filesize = 999M
memory_limit = 2000M
We have spoken to the hosting multiple times however they keep saying it seems to be a coding error, when we are quite sure it's not.. the other global options we have setup (which don't have many options) are perfectly fine and it's only this one (colours which we have 300+) where the issue occurs.

Is anyone able to help please?

Many thanks
J

New member

Posts

Joined
Sat Sep 26, 2009 3:00 am

Post by rjcalifornia » Fri Jul 05, 2019 8:35 am

Is there a possibility to restore your site to a previous configuration? Do you have a backup of your OpenCart store? Did they upgrade PHP?
Last edited by rjcalifornia on Fri Jul 05, 2019 1:11 pm, edited 1 time in total.

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by letxobnav » Fri Jul 05, 2019 9:51 am

those are not apache issues but php issues and are caused by your vqmod stuff.

I never heard of an apache version 3 or 4.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by zollgut » Fri Jul 05, 2019 7:21 pm

Thanks for the replies.

@letxobnav - I've had a developer look into it and said that it's not related to vqMod, we even upgraded vqMod to test. Furthermore, I don't know if you saw the last sentence of my original post, but it only happens on one particular option which has over 350 options, so if it was vqMod issue would't it be an issue with all the options?

@rjcalifornia - Yes I do have a backup of the site and database, but nothing had changed really the only thing that changed is my hosting upgraded to a newer version of Apache and then we noticed the issue. We are able to control the PHP version of the site manually through cPanel, and the website is on the same PHP version that it was before the upgrade (version 5.4).

New member

Posts

Joined
Sat Sep 26, 2009 3:00 am

Post by letxobnav » Fri Jul 05, 2019 9:40 pm

did you run phpinfo() to see what you are really working with?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by rjcalifornia » Mon Jul 08, 2019 10:02 am

zollgut wrote:
Fri Jul 05, 2019 7:21 pm

@rjcalifornia - Yes I do have a backup of the site and database, but nothing had changed really the only thing that changed is my hosting upgraded to a newer version of Apache and then we noticed the issue. We are able to control the PHP version of the site manually through cPanel, and the website is on the same PHP version that it was before the upgrade (version 5.4).
I strongly suggest to contact your hosting provider, and find out about that upgrade.

According to The Apache Software Foundation, the latest release of Apache is this one:
If you didn't change anything on your site, talk with your hosting provider about the recent issues

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: No registered users and 17 guests