Advanced Search

Search Results (Searched for: must be a valid URL)

16 Sep 2025 23:02

UPS OAuth Authentication Issue

Category: Install & Update

-- url of the page with the problem -- : grandprix-software-central.com/index.php/shopping
-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.3
-- PHP version -- : 8.2.29
-- Browser(s) name and version -- : Firefox 142.0.1
-- Error-message(debug-mod must be tuned on) -- : An error occurred. The connection to the UPS server could not be established.
250002 Invalid Authentication Information.

I am trying to add UPS shipping with the newer plugin, as the old plugin no longer works. I've created a new account with UPS and added an app. I have Client ID, Client Secret, UPS account number, name, and address entered into the plugin.

I tried doing a web search on the error and came up with this webpage, which was a bit helpful:

https://octolize.com/docs/article/ups-labels-how-to-get-api-connection/#client-credentials

I added the ‘Authorization (OAuth)’ ‘Rating’, ‘Address Validation’, ‘Locator’, and 'Shipping' api's but am still getting the authentication error. I try my credentials in their demo plugin and they are accepted.
04 Apr 2025 13:32

Import error array_change_key_case(): Argument #1 ($array) must be of type array

Category: Import & Export (CSV, XLS…)

Hi,

I don't see the same error message in your zip.
There, I see error messages like this:

PHP Warning: get_headers(http://***********.jpg): Failed to open stream: Connection timed out

As I said, the fix I added is only to prevent the

array_change_key_case(): Argument #1 ($array) must be of type array, false given

error, not the warnings.
We want to keep the warnings so that users know why the images can't be loaded.
Looking into it again today, I see that at least some of the images in your CSV are valid (I can open them with my browser).
So, the issue probably comes from the configuration of your server, not allowing your PHP to access the URLs. It can for example be the "allow_url_fopen" parameter of the php.ini which is turned off.
To circumvent the problem, you can upload the images in the images/com_hikashop/upload folder via FTP. That's where HikaShop stores the images. Then, in your CSV, instead of having the URL of the image, you can just use its filename so that the import can link the product with the image already in the upload folder. The import will be much faster (useful if you have a lot of products to import), and it will circumvent the issue with your server configuration preventing your PHP from accessing the files.
Displaying 1 - 2 out of 2 results.
Time to create page: 0.153 seconds
Powered by Kunena Forum