Post by gdimi » Thu Apr 15, 2010 9:26 pm

Hello to all. This is my 1st post here and it is about a problem. I've been using opencart for some time now, I never had really a problem until now.
For some reason I cannot add more than 25 options in a product. After the 25th option, it just doesn't add anything and opencart throws a notice of undefined index at line 118 of product.php, meaning that the POST array is..empty from that point on.
Any questions/ideas would be most welcome!

I'm using opencart 1.4.0

thnx in advace, george

Newbie

Posts

Joined
Thu Apr 15, 2010 9:15 pm
Location - Greece

Post by gdimi » Thu Apr 15, 2010 9:31 pm

I'm sorry, the above is wrong, I meant that I cannot add more than 25 option values in 1 option... not 25 options...

Newbie

Posts

Joined
Thu Apr 15, 2010 9:15 pm
Location - Greece

Post by Qphoria » Thu Apr 15, 2010 10:57 pm

Interesting. I'll test this out

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by gdimi » Wed Apr 21, 2010 9:48 pm

Solved....

It appears that it was the Suhosin (module for php security) installed on the web server and this had many restrictions regarding POST/GET things...

Newbie

Posts

Joined
Thu Apr 15, 2010 9:15 pm
Location - Greece

Post by Qphoria » Wed Apr 21, 2010 11:32 pm

Ah good to know

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by exactweb » Fri Dec 23, 2011 2:18 am

Just experienced the same problem on my server and fixed by adding to php.ini

Code: Select all

[suhosin]
suhosin.request.max_vars = 1000
suhosin.post.max_vars = 1000
Error Message

Code: Select all

ALERT - configured POST variable limit exceeded - dropped variable 'permission[modify][]' (attacker '94.172.154.127', file '/var/www/text/public/admin/index.php'), referer: http://test.uk/admin/index.php?route=user/user_permission/update&token=c8b9cc42659c1ac0bfdb58ed789db7d4&user_group_id=11

New member

Posts

Joined
Tue May 31, 2011 5:06 pm
Who is online

Users browsing this forum: Baidu [Spider] and 64 guests