0
Welcome Guest! Login
0 items Join Now

what does this error message means?

  • what does this error message means?

    Posted 13 years 2 months ago
    • hi,

      i was doing nothing and suddently i got this error message, trying to open control panel of camber template:

      Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/libraries/joomla/database/database/mysqli.php on line 391

      Warning: array_key_exists() expects parameter 2 to be array, null given in /Applications/XAMPP/xamppfiles/htdocs/administrator/components/com_gantry/models/template.php on line 212

      Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/libraries/joomla/database/database/mysqli.php on line 391

      Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/libraries/joomla/database/database/mysqli.php on line 391
      Details

      Fatal error: Call to a member function getLabel() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/administrator/components/com_gantry/views/template/tmpl/edit.php on line 126

      can anybody tell what does it mean and WHY is it so instable, because it happens so often.

      cheers
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: what does this error message means?

    Posted 13 years 2 months ago
    • Hi, the first error is coming from the Joomla core. I did a google for it and came across a link that explained it here: www.martynwalker.com/2011/08/21/invalid-...-mysqliphp-line-391/ - maybe you just need to clean out your tmp folder? Try that and see if it helps the situation.
    • The difficult we do immediately, the impossible takes a little longer.
  • Re: what does this error message means?

    Posted 13 years 2 months ago
    • hi cliff,

      thanks.

      I solved the problem, starting from scratch (unfortunately).

      next time i will erase the temp folder.

      just a quest, since i have ur attention now:

      i am backing up every day my local site in joomla, but never put it online.

      could happen this hypotetical situation:

      Lets say I created perfect joomla site, backed up always and when I try to upload it online, it does not work.

      And i did follow perfectly the upload process.

      hope u understood my quest

      thanks and have a nice day

      dimitri
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: what does this error message means?

    Posted 13 years 2 months ago
    • Hi, it should work. You will need to make changes to the configuration.php file to reflect the changed server paths as they will be different than what you have on your local. The tmp path, the log path, also if the database user / password / host settings are different on your online site you'll need to update those as well. The configuration file is the only one you'll need to make changes to.

      I always build my sites on local, then upload them, and once the configuration file is right it works every time for me. Hope that helps.
    • The difficult we do immediately, the impossible takes a little longer.
  • Re: what does this error message means?

    Posted 13 years 2 months ago
    • hi,

      i did try as you said but got this error:


      Infinite loop detected in JError

      i just changed in the configuration php this:

      public $ftp_host = '62.149.180.123';
      public $ftp_port = '21';
      public $ftp_user = 'Sql581468';
      public $ftp_pass = 'c6d2b68e';
      public $ftp_root = ' www.mysite.com ';

      and this:

      public $log_path = ' www.mysite.com/logs ';
      public $tmp_path = ' www.mysite.com/tmp ';


      actually the log and path i totally guessed.

      do u know how to find the right log and tmp file?

      cheers
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: what does this error message means?

    Posted 13 years 2 months ago
    • Hi, the infinite loop error means that the database info isn't correct. Are you sure your database host isn't "localhost"? You'll need to check with your hosting company to find the correct paths and database information, it's different from host to host, I can't tell you what it is.

      One method to find this info might be to use Fantastico or any installer that your host might have to install a copy of Joomla on your hosting account, then you can get the info you need out the configuration file that is installed.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.059 seconds