Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

Posted
10 hours ago, dinozisharma said:

In new oscommerce version products import stuck onto 985 records.

It looks like the PHP script was forced to terminate.

Check the Apache error log. Your hosting may have resource limits for PHP scripts.

Posted

Hosting team have done all required updates.
I have imported customers around 424,854 and found no issue in import.

But products import not working, it stuck after 21,000 then I started import again than stuck at 23,504
If I am trying to delete all products so that I can try import again from scratch its deleting in split manner.

"Finished cleaning for Products! Entities found: 88930, deleted now: 835, deleted before: 88095, deleted related: 0, error: 0"

Is there any way to delete all products in one go and same for import ?
Or is there any solution I can import products in split manner (20,000) each ?

Posted

And I have one more question in future when we want to upload the products,customers,orders of last 7 days  from old website then  we it will take same time ? (It will do update for all existing products,orders,customers) again ?

 

Posted
7 hours ago, dinozisharma said:

Hosting team have done all required updates.
I have imported customers around 424,854 and found no issue in import.

But products import not working, it stuck after 21,000 then I started import again than stuck at 23,504

The customers do not have related images, but the products have...

I see that the script was terminated, and if you said that there was a successful long import before this, then most likely the script was terminated due to memory overflow.

Let me know the value of memory_limit PHP option like this:

image.png.4c5047b09667f5fab7f88206849cf0e2.png

Recommended value is 512M. During the import, you can increase it to 1024M and repeat the import. If the number of imported products doubles, then the problem is in some images, when importing them, memory leaks in PHP libraries accumulate.

A temporary solution is to increase the memory_limit option. Please keep us updated

7 hours ago, dinozisharma said:

Is there any way to delete all products in one go and same for import ?

You can delete only imported products into the Clean imported data tab.

You can delete all products and categories into Products/Catalogue->Import/Export->Data management

7 hours ago, dinozisharma said:

Or is there any solution I can import products in split manner (20,000) each ?

7 hours ago, dinozisharma said:

And I have one more question in future when we want to upload the products,customers,orders of last 7 days  from old website then  we it will take same time ? (It will do update for all existing products,orders,customers) again ?

Unfortunatelly, it will be possible only in the next version.

Posted
2 hours ago, dinozisharma said:

If I create duplicate database with limited data so that I can import data easily then where do I need to add those database details to make connection ?

Sorry, but this is not a good idea 🙂

You can replace all folder lib/common/extensions/OscLink with the OscLink folder in the attached zip file.

After that try to use this mode:

image.thumb.png.c1eb16eb227b76477843575a806f7f88.png

OscLink.zip

Posted

as per error log

[13-Jun-2024 03:31:33 Europe/London] PHP Fatal error:  require_once(): Failed opening required '/home/osc22furniturein/public_html/lib/common/extensions/OscLink/lib/autoload.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/osc22furniturein/public_html/lib/common/extensions/OscLink/OscLink.php on line 25
[13-Jun-2024 03:31:34 Europe/London] PHP Fatal error:  require_once(): Failed opening required '/home/osc22furniturein/public_html/lib/common/extensions/OscLink/lib/autoload.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/osc22furniturein/public_html/lib/common/extensions/OscLink/OscLink.php on line 25
[13-Jun-2024 03:31:38 Europe/London] PHP Fatal error:  require_once(): Failed opening required '/home/osc22furniturein/public_html/lib/common/extensions/OscLink/lib/autoload.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/osc22furniturein/public_html/lib/common/extensions/OscLink/OscLink.php on line 25
[13-Jun-2024 03:31:39 Europe/London] PHP Fatal error:  require_once(): Failed opening required '/home/osc22furniturein/public_html/lib/common/extensions/OscLink/lib/autoload.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/osc22furniturein/public_html/lib/common/extensions/OscLink/OscLink.php on line 25

 

Posted

1. Check if  /home/osc22furniturein/public_html/lib/common/extensions/OscLink/lib/autoload.php file exists

2. Check the rights to this file

Posted

What about file group and file owner? Compare permissons and owner/group with other php file in other folder that was not changed.

Posted (edited)

It seems ok with owner and permissions.

On 6/14/2024 at 5:36 AM, dinozisharma said:

image.thumb.png.da745b358519a626e28c422c9e4b8a62.png

The autoload.php file into the attached archive has a size of 816 bytes. Why is your file a different size 791?

Also I see the different sizes in other files:

Helper.php 2312 -> 2335

Logger.php 2192 -> 2017

Progress.php 3178 -> 3081

Edited by pandrei
Posted

But now they have a different permissions. Also you have to give write permission for tmp and log folders inside OscLink directory

Posted
4 hours ago, dinozisharma said:

Now permissions 777 but still not working

Could you send me the log files in PM? (Admin->Settings->Tools->Error log viewer->Download all logs)

Posted

yes uploaded this file and error fixed
Thanks a lot !
But its not working as expected like when I tried to make connection showing

: Error while establishing connection: Assertion: string(common\helpers\Status) has not method string(isComplitedGroup)

Also
in Mapping settings

image.thumb.png.0c36d569c0dfd6b69d747254ce6a5e78.png
image.thumb.png.f43967e5f45652167276ecdffa9a1d38.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...