Page 1 of 1

Import is stuck need help

Posted: 28 May 2021, 08:36
by s4evision
Hi Everyone

i Need help, when i go to import the import on the right shows but im not uploading so many just a few it just keeps showing the previous file that i uploaded how can i reset it to show the upload then after i have uploaded the file then it shows how many products.

basically what i can see its stuck on the previous upload.
please help.

https://imgur.com/JjqWaTi

Re: Import is stuck need help

Posted: 28 May 2021, 09:35
by Jan
Hi, sorry, I don't understand what do you exactly mean?

When you upload the file, the import will be prepared and when clicking on the "Import" button, then the items will be imported to system.

Jan

Re: Import is stuck need help

Posted: 28 May 2021, 09:49
by s4evision
Hi Jan

when i go to components and then phoca cart then import, it imediatly shows the products to import on the image the red block. when i try to import say 20 products it still shows the 21 thousand odd products it doesnt reconize the new products.

Re: Import is stuck need help

Posted: 28 May 2021, 10:17
by Jan
Hi, there is no recognize function in import. It only says how many items there are in CSV or XML and then when the import is done, it compares if there are new items or not - old items will be updated, new items added.

So it depends on how many products are in the import file.

In case, you reload the file and nothing changed there, maybe this can be some cache issue, try to log off and clean history in browser and reload again. :idea:

Jan

Re: Import is stuck need help

Posted: 28 May 2021, 10:31
by s4evision
Hi Jan
i cleared the cache and cleared the browser, but still no results. so i went and created a new username and password and login went to the import in phoca cart and i saw that the redboxed import part is not showing. so i try to upload the csv file so it will show how many products but it doesnt even want to reconize the new products, basically stuck still no import working but the export still works.

Re: Import is stuck need help

Posted: 28 May 2021, 10:36
by Jan
Do you get any error when importing, try to see developer console for the errors (e.g. there can be problem with time, etc.)

Image

Jan

Re: Import is stuck need help

Posted: 28 May 2021, 10:48
by s4evision
Hi Jan

i found this.

XHRGEThttps://deal-link.com/administrator/index.php?option=com_phocacart&task=phocacartimport.import&format=json&tmpl=component&c2779a7732f6c0adfc809e99c7263131=1&p=1&lp=1093
[HTTP/1.1 500 Internal Server Error 832ms]


GET

Status500
Internal Server Error
VersionHTTP/1.1
Transferred25,85 KB (25,63 KB size)
Referrer Policystrict-origin-when-cross-origin


Cache-Control
no-cache
Connection
close
Content-Type
text/html; charset=UTF-8
Date
Fri, 28 May 2021 08:59:29 GMT

Re: Import is stuck need help

Posted: 28 May 2021, 13:42
by Jan
Hi, now you need to get info about this 500 Error - it is a PHP error, so you can enable php error reporting and try to see if the error will be displayed in preview tab (in devtools) or you can log the errors. Then you can see the error message of this error in PHP error log on the server.

BTW: if this is a test website (development), you try to test latest Beta too: https://github.com/PhocaCz/PhocaCart/re ... Beta11.zip

Jan