*

salahjoher

  • **
  • 17 posts
Error editing my list
« on: July 24, 2023, 10:18:53 PM »
I get error red message "0" when editing my list. see attached screenshot
I have enabled the debuging but get nothing related to the error. see the attachement

also ther is nothing in error files in host directory.
What can i do to know what is blocking my edit?

*

salahjoher

  • **
  • 17 posts
Re: Error editing my list
« Reply #1 on: July 24, 2023, 10:31:54 PM »
i see this in Debug log file

[24-Jul-2023 23:08:45 Asia/Amman] PHP Warning:  A non-numeric value encountered in /home/jordanindex/public_html/oc-includes/vendor/pclzip/pclzip/pclzip.lib.php on line 1797


=====pclzip.lib.php on line 1797====
$v_memory_limit = $v_memory_limit * 1048576;

=====the code is from 1786 line to 1801 ====
        // ----- Get 'memory_limit' configuration value
        $v_memory_limit = ini_get('memory_limit');
        $v_memory_limit = trim($v_memory_limit);
        $last           = strtolower(substr($v_memory_limit, -1));

        if ($last == 'g') {
            //$v_memory_limit = $v_memory_limit*1024*1024*1024;
            $v_memory_limit = $v_memory_limit * 1073741824;
        }
        if ($last == 'm') {
            //$v_memory_limit = $v_memory_limit*1024*1024;
            $v_memory_limit = $v_memory_limit * 1048576;
        }
        if ($last == 'k') {
            $v_memory_limit = $v_memory_limit * 1024;
        }
=====================

*

MB Themes

Re: Error editing my list
« Reply #2 on: July 24, 2023, 10:49:54 PM »
Never seen that, looks like you running site on misconfigured localhost.
Check your memiry limit php settings.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

salahjoher

  • **
  • 17 posts
Re: Error editing my list
« Reply #3 on: July 24, 2023, 11:16:00 PM »
Never seen that, looks like you running site on misconfigured localhost.
Check your memiry limit php settings.

My website is online not localhost... https://www.jordanindex.net
I am using php8 and memory_limit 768M  the host default value.

*

MB Themes

Re: Error editing my list
« Reply #4 on: July 25, 2023, 08:13:16 AM »
That error come from external library, not from Osclass. Try to use different PHP version.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots