1065 - Query was empty

Phoca Cart - complex e-commerce extension
horajbm
Phoca Member
Phoca Member
Posts: 21
Joined: 30 Mar 2023, 15:26

1065 - Query was empty

Post by horajbm »

Zdravim ještě jednou...

v mezičase jsem si zkusil nastavit parmetry shopu a koukla na mě tato chyba :( je to v detailu produktu, kategorie je v pořádku. Je někde nějaký log, kde se dá zjistit co jsem nastavil blbě?

diky
H.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1065 - Query was empty

Post by Jan »

Ahoj, zapni si debug mode, je tam více informací ohledně té chyby? Můžeš poslat screenshot chyby? Kde přesně nastane?
If you find Phoca extensions useful, please support the project
horajbm
Phoca Member
Phoca Member
Posts: 21
Joined: 30 Mar 2023, 15:26

Re: 1065 - Query was empty

Post by horajbm »

ahoj, ja nasel popis tady na foru, je to chyba Hlavní nastavení / Doplňující informace. když je necham prazdné je po chybě.

>__construct(Object(mysqli), '') #1 [ROOT]/libraries/vendor/joomla/database/src/DatabaseDriver.php(1900): Joomla\Database\Mysqli\MysqliDriver->prepareStatement('') #2 [ROOT]/administrator/components/com_phocacart/libraries/phocacart/statistics/hits.php(63): Joomla\Database\DatabaseDriver->setQuery(Object(Joomla\Database\Mysqli\MysqliQuery)) #3 [ROOT]/components/com_phocacart/views/item/view.html.php(234): PhocacartStatisticsHits::productHit(1) #4 [ROOT]/libraries/src/MVC/Controller/BaseController.php(639): PhocaCartViewItem->display() #5 [ROOT]/components/com_phocacart/controller.php(53): Joomla\CMS\MVC\Controller\BaseController->display(false, Array) #6 [ROOT]/libraries/src/MVC/Controller/BaseController.php(672): PhocaCartController->display() #7 [ROOT]/components/com_phocacart/phocacart.php(16): Joomla\CMS\MVC\Controller\BaseController->execute('') #8 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(71): require_once('/www/doc/www.os...') #9 [ROOT]/libraries/src/Dispatcher/LegacyComponentDispatcher.php(73): Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}('/www/doc/www.os...') #10 [ROOT]/libraries/src/Component/ComponentHelper.php(355): Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() #11 [ROOT]/libraries/src/Application/SiteApplication.php(208): Joomla\CMS\Component\ComponentHelper::renderComponent('com_phocacart') #12 [ROOT]/libraries/src/Application/SiteApplication.php(249): Joomla\CMS\Application\SiteApplication->dispatch() #13 [ROOT]/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\SiteApplication->doExecute() #14 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #15 [ROOT]/index.php(32): require_once('/www/doc/www.os...') #16 {main}

https://imgur.com/a/b0qOGNJ

a mysli na mě prosím s tou prosbou o kod.
diky
Jinak skvělej projekt.
Honza
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1065 - Query was empty

Post by Jan »

Jakou verzi komponenty používáš?
If you find Phoca extensions useful, please support the project
horajbm
Phoca Member
Phoca Member
Posts: 21
Joined: 30 Mar 2023, 15:26

Re: 1065 - Query was empty

Post by horajbm »

Ahoj,
posledni verze !J4, Phoca 4.0.5, cista instalace, zadny prepisy.

Diky
Honza
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1065 - Query was empty

Post by Jan »

Když by jsi updatoval na poslední RC verzi, dostaneš stejnou chybu?
https://github.com/PhocaCz/PhocaCart/re ... ag/4.0.6RC
If you find Phoca extensions useful, please support the project
horajbm
Phoca Member
Phoca Member
Posts: 21
Joined: 30 Mar 2023, 15:26

Re: 1065 - Query was empty

Post by horajbm »

Ahoj, ja jsem tlacen casem, zakaznik chce vedet, na cem to teda pojede - tak se RC verzi bojim jak cert krize. Predstava ze budu zalohovat a vracet se z5 je neprijemna. A na RC mu to ukazovat moc nechci.

Diky
H.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1065 - Query was empty

Post by Jan »

RC je v podstatě stable, jen není oficiálně vydaná. U RC je pak jednoduší zjišťovat chyby, protože tato verze je aktuální pro všechny vývojáře, takže rovnou ví, jestli ta chyba pořád je nebo už byla opravena.
If you find Phoca extensions useful, please support the project
Post Reply