Repeated Failed Installation

  • Posts: 43
  • Thank you received: 0
10 years 8 months ago #147885

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5.18
-- PHP version -- : 5.3.17
-- Browser(s) name and version -- : Chrome, Firefox, Internet Explorer

I've tried installing HikaShop various ways and they all seem to be failing. The first way is using the standard Extension Manager in Joomla and installing from a zip file.

PHP Warning: Invalid argument supplied for foreach() in xxx\administrator\components\com_hikashop\views\update\tmpl\wizard.php on line 136

The second way was to upload the files to my tmp folder and installing through that method. When I try it this way, it just kinda runs and runs and eventaully gives me the following error:


PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\install.hikashop.php on line 28
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\install.hikashop.php on line 41
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\install.hikashop.php on line 44
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\install.hikashop.php on line 45
PHP Warning: Invalid argument supplied for foreach() in xxx\administrator\components\com_hikashop\install.hikashop.php on line 80
PHP Warning: Invalid argument supplied for foreach() in xxx\libraries\joomla\database\database\mysql.php on line 375
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\classes\category.php on line 150
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\classes\category.php on line 151
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\classes\category.php on line 150
PHP Notice: Trying to get property of non-object in xxx\administrator\components\com_hikashop\classes\category.php on line 151
PHP Warning: Invalid argument supplied for foreach() in xxx\administrator\components\com_hikashop\install.hikashop.php on line 560
PHP Warning: Invalid argument supplied for foreach() in xxx\administrator\components\com_hikashop\install.hikashop.php on line 573
PHP Warning: Invalid argument supplied for foreach() in xxx\administrator\components\com_hikashop\install.hikashop.php on line 590

I even tried uploading the .gz file and extracting it directly on the server (instead of extracting then uploading). Wanted to be sure there wasn't a problem during the upload process. And I still get the exact same errors.

Both of these are using the latest HikaShop download. 2.3.0 Starter.

I've used Hikashop on many of my domains in the past and love it and would love to get it going again. Any help would be greatly appreciated.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
10 years 8 months ago #147886

Also, I tried changing the PHP to 5.5.6 and had no luck with that either.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #147932

Hi,

I just tried on my end with the starter edition available on HikaShop.com and it's working fine, no errors.
Are you sure that you don't have folder restrictions / permissions which could cause a problem when copying / reaching files ?

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
10 years 8 months ago #148002

I can double check. But it would surprise me as I can install many other components just fine. I've installed Akeeba Admin Tools, ACYMailing, Akeeba Backup and Virtuemart without any issues at all.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 8 months ago #148004

Hi,

The first time you installed HikaShop, the tables were not created.
That's why when you try to re-install it, the SQL request does not return anything, the tables are not there.

The tables are created by Joomla during the installation. When you re-install a component Joomla does not re-create the tables, it call the update system because in the logical way, the tables should be there.

You can uninstall completly HikaShop so Joomla will relaunch the database install (using the file "tables.sql").
You can create yourself the missing tables (using the file "tables.sql" in the "back" folder of the package).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
10 years 8 months ago #148007

I'm a tad lost by your reply Jerome. Not in what happened, but in how to remedy it. So I should manually uninstall HikaShop then reinstall it?

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 8 months ago #148009

Hi,

I gave two different solutions :

You can uninstall completly HikaShop so Joomla will relaunch the database install (using the file "tables.sql").
You can create yourself the missing tables (using the file "tables.sql" in the "back" folder of the package).


Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
10 years 8 months ago #148068

So, I followed your solutions.

I uninstalled Hikashop and then used the tables.sql to create the missing tables and the installation went through fine. No problems and I was happy as can be. However...

After the installation, I filled out the installation assistant. I set up my address, currency, etc. and when I went to click on "Save and Go Create Your First Product" I got:

PHP Notice: Undefined index: address in xxx\administrator\components\com_hikashop\controllers\update.php on line 109

So, I just used the "back" option and instead went to "Skip" and went to the dashboard and the setup seems fine. If I manually configure the currency and shop options, will there be any future problems?

Last edit: 10 years 8 months ago by ipshwitz.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 8 months ago #148090

Hi,

The notice is just a notice (that we will fix).
But it is not something blocking which will stop the rest of the process, so it does not affect the wizard except it display a little PHP notice.

And, I gave you two different solution in the way that you have to use one or the other. Not both in the same time :)

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: ipshwitz

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum