Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Php Error It Causes Stop Many Process Rate Topic   - - - - -

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 28 July 2019 - 04:06 PM #1

Hi
most of the time our any change or edit on backend stopped (browser tab showing continue process but in reality anything is freeze and we should refresh page and do desired again).
 
Imagine, change the 10 product price together (in products list), and click on save button and waiting long time...and you should try again because not happen anything.
 
the below line is sample of that php errors log :
 
[28-Jul-2019 18:56:12 Asia/Tehran] PHP Warning:  array_reverse() expects parameter 1 to be array, null given in /home/sib7/public_html/var/cache/templates/bright_theme/4b3abb3f0375ac66a457709133b232d9592d6f09.tygh.index.tpl.php on line 56
 
this error going Decrease only when we clear cache (we should clear cache before than any change).
 
we was change the php version (7.0, 7.1,7.2, 7.3,...), disable some probably effective addons, but not found any solution yet.
 
cs-cart version: 4.8.2 SP2
 
pic1: all error file is same (line 56 in 4b3abb3f0375ac66a457709133b232d9592d6f09.tygh.index.tpl.php)
 
pic2: capture of line 56 in the above file 
 
please rescue  ;-)  and help us for resolve this problem
 
best regards
akbar shahmohammadi

Attached Thumbnails

  • pic1.jpg
  • pic2.jpg


 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 756 posts

Posted 28 July 2019 - 08:50 PM #2

Hello

 

Please try disable all thirty addons from the addon list and check result.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 29 July 2019 - 05:05 AM #3

Hello

 

Please try disable all thirty addons from the addon list and check result.

 

Best regards

Robert

 

Dear Robert

 

we was do it and disable all Third-party add-ons but not affect to error.



 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 29 July 2019 - 05:43 AM #4

i forgot to tell a issue

 

about one month ago appear CSRF Attack message in site backend after most of edit and change process

we done any recommended solution in this forum (like change post_max_size and max_input_vars many times) but not resolve and in last we were forced disable that error (was changed to "false" in config.local.php)

 

i mean, not show Csrf Attack message now, but same thing happening (stop process)  



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 756 posts

Posted 29 July 2019 - 09:31 AM #5

Hello

 

Can you show phpinfo from your server? Have not you made any modifications directly in the core code?
Did you turn off the "My changes" addon?
 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 29 July 2019 - 01:44 PM #6

Hello

 

Can you show phpinfo from your server? Have not you made any modifications directly in the core code?
Did you turn off the "My changes" addon?
 

Best regards

Robert

 

Dear Robert

thanks for reply

 

1-please see attached PDF File (our site phpinfo details) 

 

2-im not remember but i guess we dose not any change in the core code

 

3-uninstall "My change" addon now and not any affect

 

regards

Attached Files



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 756 posts

Posted 29 July 2019 - 02:02 PM #7

Hello

 

You write about slow backend activity. These warnings are on the frontend side. There must be another reason for slow backend performance. Does the price change still work slowly after the addons are turned off?

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 31 July 2019 - 07:44 AM #8

Dear Robert
 
yes you right but the CSRF error appear when we doing change on the backend.
 
 
we not feel any speed change on any backend activity when All third-party addons is off
 
 
best regards


 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 756 posts

Posted 31 July 2019 - 08:48 AM #9

Hello

 

If you change many records in the panel at the same time and you have a CSRF warning, this is a problem with too low max_input_vars

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 31 July 2019 - 09:12 PM #10

i forgot to tell a issue

 

about one month ago appear CSRF Attack message in site backend after most of edit and change process

we done any recommended solution in this forum (like change post_max_size and max_input_vars many times) but not resolve and in last we were forced disable that error (was changed to "false" in config.local.php)

 

i mean, not show Csrf Attack message now, but same thing happening (stop process)  

hello

 

I said before, many times change and check the Max_input_vars and Post_max_size Values

but is Ineffective

now, max_input_vars=10000

 

regards



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 756 posts

Posted 31 July 2019 - 11:22 PM #11

Hello

 

Please try increse to 100 000 or 1 000 000. 1000 may not be enough. 

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl

 
  • newertebat
  • Advanced Member
  • Members
  • Join Date: 05-Jan 13
  • 82 posts

Posted 04 August 2019 - 06:55 AM #12

Hi 

Dear Robert

we checked 100000, 1000000 , 10000000 

but not resolve that problem

 

regrads



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 756 posts

Posted 04 August 2019 - 12:16 PM #13

Hello

 

Please send me PM with access to admin panel.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl