Skip to content

Conversation

@xtremevision
Copy link

Fixed:

  • PHP 8.1 compatibility issues
  • Non-existent tables in Utillities -> Clean Catalog and Customers
  • Small UI fix (progress bar)

$ch = $context['curlhandle'];
$dl_opts = $context['opts']['dl'];

$dest = str_replace("pub/pub", "pub", $dest);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this change for?

// target directory;
$l2d = "pub/media/catalog/product/$i1/$i2";

if(!strstr(getcwd(), "pub"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add brackets around "if" body and
"else" body


//clean url rewrites for products
$sql = "DELETE FROM ".$this->tablename("core_url_rewrite")." WHERE product_id IS NOT NULL AND is_system=1";
//$sql = "DELETE FROM ".$this->tablename("core_url_rewrite")." WHERE product_id IS NOT NULL AND is_system=1";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the comment

Copy link
Member

@tmotyl tmotyl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the patch. please fix some nitpics

@xtremevision
Copy link
Author

xtremevision commented Aug 28, 2023 via email

@xtremevision
Copy link
Author

xtremevision commented Aug 28, 2023 via email

@xtremevision
Copy link
Author

xtremevision commented Aug 28, 2023 via email

@xtremevision
Copy link
Author

xtremevision commented Aug 28, 2023 via email

@tmotyl
Copy link
Member

tmotyl commented Sep 8, 2023

there are plenty of error_log() calls, seems like they are a leftover from debugging?

@xtremevision
Copy link
Author

xtremevision commented Sep 8, 2023 via email

@xtremevision
Copy link
Author

xtremevision commented Sep 8, 2023 via email

@onedolphin
Copy link

onedolphin commented Sep 4, 2025

Hi, it was working for me but suddenly cannot get it run, via CLI works, via web it stays at 0% and no updates, any ideas? Get this error:

Stack trace:
#0 /home/magmi/magmi/inc/magmi_engine.php(473): fclose(false)
#1 /home/magmi/magmi/web/magmi_run.php(37): Magmi_Engine->run(Array)
#2 {main}
thrown in /home/magmi/magmi/inc/magmi_engine.php on line 473
[04-Sep-2025 05:58:40 UTC] PHP Deprecated: Function strftime() is deprecated in /home/magmi/magmi/web/ajax_gettime.php on line 3
[04-Sep-2025 05:58:41 UTC] PHP Warning: fopen(/home/magmi/magmi/state/trace.txt): Failed to open stream: Inappropriate ioctl for device in /home/magmi/magmi/inc/magmi_engine.php on line 472
[04-Sep-2025 05:58:41 UTC] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home/magmi/magmi/inc/magmi_engine.php:473
Stack trace:
#0 /home/magmi/magmi/inc/magmi_engine.php(473): fclose(false)
#1 /home/magmi/magmi/web/magmi_run.php(37): Magmi_Engine->run(Array)
#2 {main}
thrown in /home/magmi/magmi/inc/magmi_engine.php on line 473
[04-Sep-2025 05:58:53 UTC] PHP Deprecated: Function strftime() is deprecated in /home/magmi/magmi/web/ajax_gettime.php on line 3
[04-Sep-2025 06:01:47 UTC] PHP Deprecated: Function strftime() is deprecated in /home/magmi/magmi/web/magmi_saveprofile.php on line 59
[04-Sep-2025 06:01:52 UTC] PHP Deprecated: Function strftime() is deprecated in /home/magmi/magmi/web/ajax_gettime.php on line 3
[04-Sep-2025 06:01:52 UTC] PHP Warning: fopen(/home/magmi/magmi/state/trace.txt): Failed to open stream: Inappropriate ioctl for device in /home/magmi/magmi/inc/magmi_engine.php on line 472
[04-Sep-2025 06:01:52 UTC] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home/magmi/magmi/inc/magmi_engine.php:473
Stack trace:
#0 /home/magmi/magmi/inc/magmi_engine.php(473): fclose(false)
#1 /home/magmi/magmi/web/magmi_run.php(37): Magmi_Engine->run(Array)
#2 {main}
thrown in /home/magmi/magmi/inc/magmi_engine.php on line 473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants