دقیقا من هم همین مشکل دیشب برام پیش اومد وقتی خواستم یه دسته رو اضافه کنم به منوی اصلی حدود ۳۰ تا حذف شد حالا باز دوباره که میخوام اضافه کنم موقع سیو اضافه نمیشهسلام
وقتی مثلا 50 تا منو میدم سیو میکنم بعد 100تا دیگه اضافه میکنم سیو رو که میزنم یهو کل منوها میره و باید از اول منو وارد کنم
بگیر نگیر داره به نظرتون مشکل از کجاست؟
[PHP]; Enable the PHP scripting language engine under Apache.; [URL="http://php.net/engineengine"]http://php.net/engineengine[/URL] = On; How many GET/POST/COOKIE input variables may be acceptedmax_input_vars = 10000; Maximum amount of memory a script may consume (128MB); [URL="http://php.net/memory-limitmemory_limit"]http://php.net/memory-limitmemory_limit[/URL] = 256M; Whether or not to register the EGPCS variables as global variables. You may; want to turn this off if you don't want to clutter your scripts' global scope; with user data.; You should do your best to write your scripts so that they do not require; register_globals to be on; Using form variables as globals can easily lead; to possible security problems, if the code is not very well thought of.; [URL="http://php.net/register-globalsregister_globals"]http://php.net/register-globalsregister_globals[/URL] = Off; Magic quotes are a preprocessing feature of PHP where PHP will attempt to; escape any character sequences in GET, POST, COOKIE and ENV data which might; otherwise corrupt data being placed in resources such as databases before; making that data available to you. Because of character encoding issues and; non-standard SQL implementations across many databases, it's not currently; possible for this feature to be 100% accurate. PHP's default behavior is to; enable the feature. We strongly recommend you use the escaping mechanisms; designed specifically for the database your using instead of relying on this; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is; scheduled removed in PHP 5.4.; Default Value: On; Development Value: Off; Production Value: Off; [URL="http://php.net/magic-quotes-gpcmagic_quotes_gpc"]http://php.net/magic-quotes-gpcmagic_quotes_gpc[/URL] = Off; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.; [URL="http://php.net/magic-quotes-runtimemagic_quotes_runtime"]http://php.net/magic-quotes-runtimemagic_quotes_runtime[/URL] = Off; Use Sybase-style magic quotes (escape ' with '' instead of \').; [URL="http://php.net/magic-quotes-sybasemagic_quotes_sybase"]http://php.net/magic-quotes-sybasemagic_quotes_sybase[/URL] = Off; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; [URL="http://php.net/allow-url-fopenallow_url_fopen"]http://php.net/allow-url-fopenallow_url_fopen[/URL] = On; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; [URL="http://php.net/allow-url-includeallow_url_include"]http://php.net/allow-url-includeallow_url_include[/URL] = Off
یک فایل به نام php.ini در پوشه wp-admin و روت هاست بسازید و این کد را درون آن قرار دهید
PHP:; Enable the PHP scripting language engine under Apache.; [URL="http://php.net/engineengine"]http://php.net/engineengine[/URL] = On; How many GET/POST/COOKIE input variables may be acceptedmax_input_vars = 10000; Maximum amount of memory a script may consume (128MB); [URL="http://php.net/memory-limitmemory_limit"]http://php.net/memory-limitmemory_limit[/URL] = 256M; Whether or not to register the EGPCS variables as global variables. You may; want to turn this off if you don't want to clutter your scripts' global scope; with user data.; You should do your best to write your scripts so that they do not require; register_globals to be on; Using form variables as globals can easily lead; to possible security problems, if the code is not very well thought of.; [URL="http://php.net/register-globalsregister_globals"]http://php.net/register-globalsregister_globals[/URL] = Off; Magic quotes are a preprocessing feature of PHP where PHP will attempt to; escape any character sequences in GET, POST, COOKIE and ENV data which might; otherwise corrupt data being placed in resources such as databases before; making that data available to you. Because of character encoding issues and; non-standard SQL implementations across many databases, it's not currently; possible for this feature to be 100% accurate. PHP's default behavior is to; enable the feature. We strongly recommend you use the escaping mechanisms; designed specifically for the database your using instead of relying on this; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is; scheduled removed in PHP 5.4.; Default Value: On; Development Value: Off; Production Value: Off; [URL="http://php.net/magic-quotes-gpcmagic_quotes_gpc"]http://php.net/magic-quotes-gpcmagic_quotes_gpc[/URL] = Off; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.; [URL="http://php.net/magic-quotes-runtimemagic_quotes_runtime"]http://php.net/magic-quotes-runtimemagic_quotes_runtime[/URL] = Off; Use Sybase-style magic quotes (escape ' with '' instead of \').; [URL="http://php.net/magic-quotes-sybasemagic_quotes_sybase"]http://php.net/magic-quotes-sybasemagic_quotes_sybase[/URL] = Off; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; [URL="http://php.net/allow-url-fopenallow_url_fopen"]http://php.net/allow-url-fopenallow_url_fopen[/URL] = On; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; [URL="http://php.net/allow-url-includeallow_url_include"]http://php.net/allow-url-includeallow_url_include[/URL] = Off [/QUOTE]این کد هم گذاشتم باز هم همون مشکل وجود داره و اصلا اضافه نمیشه تعداد منو های فعلی 40 تا می باشد و اصلا بیشتر اضافه نمیشه
یک فایل به نام php.ini در پوشه wp-admin و روت هاست بسازید و این کد را درون آن قرار دهید
PHP:; Enable the PHP scripting language engine under Apache.; [URL="http://php.net/engineengine"]http://php.net/engineengine[/URL] = On; How many GET/POST/COOKIE input variables may be acceptedmax_input_vars = 10000; Maximum amount of memory a script may consume (128MB); [URL="http://php.net/memory-limitmemory_limit"]http://php.net/memory-limitmemory_limit[/URL] = 256M; Whether or not to register the EGPCS variables as global variables. You may; want to turn this off if you don't want to clutter your scripts' global scope; with user data.; You should do your best to write your scripts so that they do not require; register_globals to be on; Using form variables as globals can easily lead; to possible security problems, if the code is not very well thought of.; [URL="http://php.net/register-globalsregister_globals"]http://php.net/register-globalsregister_globals[/URL] = Off; Magic quotes are a preprocessing feature of PHP where PHP will attempt to; escape any character sequences in GET, POST, COOKIE and ENV data which might; otherwise corrupt data being placed in resources such as databases before; making that data available to you. Because of character encoding issues and; non-standard SQL implementations across many databases, it's not currently; possible for this feature to be 100% accurate. PHP's default behavior is to; enable the feature. We strongly recommend you use the escaping mechanisms; designed specifically for the database your using instead of relying on this; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is; scheduled removed in PHP 5.4.; Default Value: On; Development Value: Off; Production Value: Off; [URL="http://php.net/magic-quotes-gpcmagic_quotes_gpc"]http://php.net/magic-quotes-gpcmagic_quotes_gpc[/URL] = Off; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.; [URL="http://php.net/magic-quotes-runtimemagic_quotes_runtime"]http://php.net/magic-quotes-runtimemagic_quotes_runtime[/URL] = Off; Use Sybase-style magic quotes (escape ' with '' instead of \').; [URL="http://php.net/magic-quotes-sybasemagic_quotes_sybase"]http://php.net/magic-quotes-sybasemagic_quotes_sybase[/URL] = Off; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; [URL="http://php.net/allow-url-fopenallow_url_fopen"]http://php.net/allow-url-fopenallow_url_fopen[/URL] = On; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; [URL="http://php.net/allow-url-includeallow_url_include"]http://php.net/allow-url-includeallow_url_include[/URL] = Off [/QUOTE][FONT=tahoma][SIZE=14px]ممنون از شما با max_input_vars = 10000 مشکل محدودیت رو حل کردم[/FONT][/SIZE] [FONT=tahoma][SIZE=14px]با این کدها مشکل حذف منو ها میره؟ همون پاک شدن بعضی مواقع منو ها با زدن دگمه سیو[/FONT][/SIZE]
دوست عزیز این کدی که فرمودید در کجا قرار دادید؟ممنون از شما با max_input_vars = 10000 مشکل محدودیت رو حل کردم
با این کدها مشکل حذف منو ها میره؟ همون پاک شدن بعضی مواقع منو ها با زدن دگمه سیو
آقای دلاوران گفتن اگه دقت کنیندوست عزیز این کدی که فرمودید در کجا قرار دادید؟
ممنونمآقای دلاوران گفتن اگه دقت کنین
تو php.ini