( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0009413984{main}( ).../index.php:0
20.10334264576Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.496215897320Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.496515897376Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.496515897752Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.496515897752Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.496715897848Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.497215936088require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.501716228032GKTemplate->__construct( ).../component.php:31
100.509616381912GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.510516425880require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0009413984{main}( ).../index.php:0
20.10334264576Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.496215897320Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.496515897376Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.496515897752Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.496515897752Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.496715897848Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.497215936088require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.501716228032GKTemplate->__construct( ).../component.php:31
100.512816549128GKTemplateMenu->getMenuType( ).../gk.framework.php:85
How to import mysql innodb with foreign key constraint error?
Logo
Print this page

How to import mysql innodb with foreign key constraint error?

To import mysql innodb with foreign key constraint error, follow the steps below:-

  • If you have the access to mysql thru terminal, then you can use the command below:-
    mysql> SET foreign_key_checks = 0;
    mysql> SOURCE your_db_dump_file;
    mysql> SET foreign_key_checks = 1;
    
  • If you import your database thru web interface like phpmyadmin, then you need to edit the sql dump file. Add this to the 1st line of your sql db dump file:-
    SET foreign_key_checks = 0;
  • then add this line to the last line in your sql db dump file:-
    SET foreign_key_checks = 1;
  • Now you may import your sql dump file, and it should have no error by now.

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0009413984{main}( ).../index.php:0
20.10334264576Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.10334264576Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.357011455688Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.357911480064Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.359011535392Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.359411562792require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.381511962424K2ControllerItem->execute( ).../k2.php:64
90.381511962424K2ControllerItem->display( ).../BaseController.php:710
100.397712613128K2ControllerItem->display( ).../item.php:78
110.397712613128K2ControllerItem->display( ).../controller.php:19
120.403212984168Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.405413004536K2ViewItem->display( ).../ViewController.php:102
140.487815805760K2ViewItem->display( ).../view.html.php:742
150.487815805760K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.489915978696include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 1209 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0009413984{main}( ).../index.php:0
20.10334264576Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.10334264576Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.357011455688Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.357911480064Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.359011535392Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.359411562792require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.381511962424K2ControllerItem->execute( ).../k2.php:64
90.381511962424K2ControllerItem->display( ).../BaseController.php:710
100.397712613128K2ControllerItem->display( ).../item.php:78
110.397712613128K2ControllerItem->display( ).../controller.php:19
120.403212984168Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.405413004536K2ViewItem->display( ).../ViewController.php:102
140.487815805760K2ViewItem->display( ).../view.html.php:742
150.487815805760K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.489915978696include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.