Undefined property: hikaserialPackClass::$database

  • Posts: 7
  • Thank you received: 0
5 years 5 months ago #80298

I can't create a pack. or serials. i get an empty page in the back i get:

[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Notice:  Undefined property: hikaserialPackClass::$database in /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php on line 616, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Stack trace:, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   1. {main}() /var/www/graffixprostudio/administrator/index.php:0, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   2. JAdministrator->dispatch() /var/www/graffixprostudio/administrator/index.php:47, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   3. JComponentHelper::renderComponent() /var/www/graffixprostudio/administrator/includes/application.php:153, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   4. require_once() /var/www/graffixprostudio/libraries/joomla/application/component/helper.php:156, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   5. JController->execute() /var/www/graffixprostudio/administrator/components/com_hikaserial/hikaserial.php:37, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   6. hikaserialController->save() /var/www/graffixprostudio/libraries/joomla/application/component/controller.php:684, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   7. packController->store() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:388, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   8. hikaserialController->adminStore() /var/www/graffixprostudio/administrator/components/com_hikaserial/controllers/pack.php:29, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   9. hikaserialPackClass->saveForm() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:406, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP  10. hikaserialPackClass->save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:56, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP  11. hikaserialClass->save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:31, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP  12. hikaserialClass->getInsert() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:589, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Fatal error:  Call to a member function Quote() on a non-object in /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php on line 616, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Stack trace:, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   1. {main}() /var/www/graffixprostudio/administrator/index.php:0, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   2. JAdministrator->dispatch() /var/www/graffixprostudio/administrator/index.php:47, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   3. JComponentHelper::renderComponent() /var/www/graffixprostudio/administrator/includes/application.php:153, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   4. require_once() /var/www/graffixprostudio/libraries/joomla/application/component/helper.php:156, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   5. JController->execute() /var/www/graffixprostudio/administrator/components/com_hikaserial/hikaserial.php:37, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   6. hikaserialController->save() /var/www/graffixprostudio/libraries/joomla/application/component/controller.php:684, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   7. packController->store() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:388, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   8. hikaserialController->adminStore() /var/www/graffixprostudio/administrator/components/com_hikaserial/controllers/pack.php:29, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP   9. hikaserialPackClass->saveForm() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:406, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP  10. hikaserialPackClass->save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:56, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP  11. hikaserialClass->save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:31, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack
[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP  12. hikaserialClass->getInsert() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:589, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&ctrl=pack

Last Edit: 5 years 5 months ago by Jerome.

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

  • Posts: 22332
  • Thank you received: 3477
  • MODERATOR
5 years 5 months ago #80316

Hi,

I will create a new HikaSerial package with the fix as soon as possible.
You can edit the file /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php.
And change the line 616 which is

$values[] = $this->db->isQuoted($k) ? $this->database->Quote($v) : (int)$v;
By
$values[] = $this->db->isQuoted($k) ? $this->db->Quote($v) : (int)$v;
Sorry for the disagreement.

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: pulse

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

Moderators: Obsidev
Time to create page: 0.069 seconds
Powered by Kunena Forum