joomla 1.6 fatal errors

Discussion regarding Joomla! 2.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
armand1982
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Feb 13, 2011 11:39 pm

joomla 1.6 fatal errors

Post by armand1982 » Sun Feb 13, 2011 11:52 pm

hi there is a fatal error in this updated version of joomla. i cannot view a preview of my site nor can i even view anything when creating a new article, menu or anything. i get this message: Call to a member function getMessageQueue() on a non-object in /home/content/54/7301954/html/templates/[spam]/functions.php on line 17
I have installed and reinstalled joomla but i still get the same problems. if anyone can help that would be awesome. thanks.

 
User avatar
stutteringp0et
Joomla! Ace
Joomla! Ace
Posts: 1388
Joined: Sat Oct 28, 2006 11:16 pm
Location: Texas
Contact:

Re: joomla 1.6 fatal errors

Post by stutteringp0et » Mon Feb 14, 2011 1:36 am

You have a problem with your [spam] template. Try using one of the built-in templates and I'd guess that your errors disappear.

I hope you didn't pay much for that template.
My extensions: http://extensions.joomla.org/profile/pr ... ails/18398
Honk if this signature offends you.

armand1982
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Feb 13, 2011 11:39 pm

Re: joomla 1.6 fatal errors

Post by armand1982 » Mon Feb 14, 2011 3:29 am

thanks for the reply,
the template did not cost alot and is one that i prefer for this site. i'm not crazy about those other default templates. this is the first time this happens. usually i dont get problems like this.

User avatar
dhfpc
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Oct 07, 2010 3:46 pm
Location: Taiwan
Contact:

Re: joomla 1.6 fatal errors

Post by dhfpc » Sat Feb 19, 2011 9:38 am

Here is a suggestion for you that check your template is developed for Joomla!1.6 first. If not, upgrade it by yourself with coding or connect it's offer co.

Cuko
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Nov 25, 2008 7:18 am

Re: joomla 1.6 fatal errors

Post by Cuko » Sat Feb 19, 2011 5:04 pm

I've just installed 1.6 and have Fatal Error when a try to log in to the back end. I get the following message "Fatal error: Call to a member function login() on a non-object in C:\wamp\www\TenisMK\administrator\components\com_login\admin.login.php on line 64"

I am hosting locally if it makes difference.

quinn1
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Feb 23, 2011 7:42 pm

Re: joomla 1.6 fatal errors

Post by quinn1 » Wed Feb 23, 2011 7:52 pm

Cuko, I experience the same problem online. After a successfull installation I got some work done on a new site, but I cannot log in now. I get the same error message you are getting. I haven't installed any components yet, so that can't be it.

Thetjo
Joomla! Explorer
Joomla! Explorer
Posts: 499
Joined: Fri Nov 13, 2009 1:33 pm
Contact:

Re: joomla 1.6 fatal errors

Post by Thetjo » Thu Feb 24, 2011 6:00 pm

Whenever you see an error relating to 'getMessageQueue()' you are most likely using a 1.5 template in Joomla 1.6
http://www.conversionreview.com/ - Start improving your conversion rate with an expert review

dirkskrapf
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Mar 01, 2011 8:54 pm

Re: joomla 1.6 fatal errors

Post by dirkskrapf » Tue Mar 01, 2011 9:02 pm

Keep in mind, i had never installed joomla 1.5 before on this machine, so this is a NEW 1.6 install. Now I get error when trying to access front page !! No access possible:

Fatal error: Call to a member function def() on a non-object in /htdocs/joomla/components/com_content/views/featured/view.html.php on line 58

?????

And the funny part, i can get through the backend
http://www.domain.com/administrator/index.php

?????
Last edited by dirkskrapf on Thu Mar 03, 2011 3:50 am, edited 1 time in total.

Thetjo
Joomla! Explorer
Joomla! Explorer
Posts: 499
Joined: Fri Nov 13, 2009 1:33 pm
Contact:

Re: joomla 1.6 fatal errors

Post by Thetjo » Wed Mar 02, 2011 7:57 pm

Are you using a Joomla 1.5 or Joomla 1.6 template? If the template was built for 1.5, that would explain your ability to reach the backend (no template) and not the frontend (a 1.5 template in a 1.6 install)
http://www.conversionreview.com/ - Start improving your conversion rate with an expert review

dirkskrapf
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Mar 01, 2011 8:54 pm

Re: joomla 1.6 fatal errors

Post by dirkskrapf » Thu Mar 03, 2011 3:14 am

I am only talking about a new "straight-forward-1.6-install" - brand new install, with the supplied default templates that only come with the install package!... but still does NOT work?

BTW, I can login from the back end and have access to ALL functions quite well - everything seems perfect. But.... you can never "View Site" or come from the front end!

FYI, it is installed on 1and1 server http://www.1and1.com! Called them for help but they are anything but helpful. 1and1 as host - never again!!
I tried same on a http://www.bluehost.com/ server and it was a cake. The got simple scripts that do the install in less than a minute, and it runs smooth... !!

But still, I cannot make the 1.6 install work on a 1and1 server.

ujjoomla
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Mar 03, 2011 3:05 am

Re: joomla 1.6 fatal errors

Post by ujjoomla » Thu Mar 03, 2011 3:35 am

i am a beginner, i want to build a real estate site using joomla. the problem is how to get the right template for the the job. thanks

ujjoomla
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Mar 03, 2011 3:05 am

Re: joomla 1.6 fatal errors

Post by ujjoomla » Thu Mar 03, 2011 3:38 am

please how do fix sliding picture on my home page or how can i put swf file on my home page

User avatar
stutteringp0et
Joomla! Ace
Joomla! Ace
Posts: 1388
Joined: Sat Oct 28, 2006 11:16 pm
Location: Texas
Contact:

Re: joomla 1.6 fatal errors

Post by stutteringp0et » Mon Mar 07, 2011 2:26 pm

ujjoomla, your additions to this thread have nothing to do with the topic (1.6 fatal errors). Essentially, you've walked into the middle of a conversation and tried to change the subject. The subject of this conversation is the dude with the fatal errors, not your template.

Rather than hijack a thread, you should start a new thread in the appropriate area.
My extensions: http://extensions.joomla.org/profile/pr ... ails/18398
Honk if this signature offends you.

CourtneyJB
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Mar 09, 2011 3:14 am

Re: joomla 1.6 fatal errors

Post by CourtneyJB » Wed Mar 09, 2011 3:24 am

I am getting the same fatal error with a template I built

Fatal error: Call to a member function getMessageQueue() on a non-object in /hermes/web09/b169/moo.bristolctusssacom/nickssoftball.com/templates/nickshome2/functions.php on line 17


I cannot figure out how to get rid of it.

aravind_kumarit
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jun 15, 2011 1:16 pm

Fatal error: Call to a member function def() on a non-object

Post by aravind_kumarit » Wed Jun 15, 2011 1:22 pm

I am getting the above error. I been installed a Modern Poll component which is a lower version. I am using Joomla 1.5. I am getting the above error when I try to access the website link.

<?php
/**
* Modern Polls PRO component for Joomla 1.0.x
*
* Author: Martin Masci
* Site: www.joomlaboratory.com
* Mail: info@joomlaboratory.com
*
* Copyright Joomlaboratory 2007
*
* From version 1.0.3 Modern Polls PRO include some code of PollXT.
* The author of PollXT is Oli Merten (www.joomlaxt.com)
*/

header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' ); // disable IE caching
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-cache, must-revalidate' );
header( 'Pragma: no-cache' );

// no direct access
defined('_VALID_MOS') or die('Restricted access');

require_once ($mainframe->getPath('front_html'));
require_once ($mainframe->getPath('class'));
require_once ($GLOBALS['mosConfig_absolute_path'] .
"/administrator/components/com_modernpolls/modernpolls.inc.php");

if (file_exists($GLOBALS['mosConfig_absolute_path'] .
'/components/com_modernpolls/languages/' . $mosConfig_lang . '.php')) {
include ($GLOBALS['mosConfig_absolute_path'] .
'/components/com_modernpolls/languages/' . $mosConfig_lang . '.php');
} else {
include ($GLOBALS['mosConfig_absolute_path'] .
'/components/com_modernpolls/languages/english.php');
}

if (isset($_GET['modernpollvalidate']))
$val = $_GET['modernpollvalidate'];
else $val = "";
if($val != '') {
validate($val);
}

$poll = new mosModernPoll( $database );

$id = mosGetParam( $_REQUEST, 'id', 0 );
$cfm = mosGetParam( $_REQUEST, 'cfm', 0 );
$Itemid = mosGetParam( $_REQUEST, 'Itemid', 0 );
$task = mosGetParam( $_REQUEST, 'task', '' );
$option = mosGetParam( $_SERVER, 'QUERY_STRING', 0 );
$option = str_replace ("option=", "", $option);
//$pollid = $params->def("pollid");

if ($cfm == '') $cfm = "component";

$menu =& new mosMenu( $database );
$menu->load( $Itemid );
$params =& new mosParameters( $menu->params );

switch ($task) {
case "vote":
modernpollAddVote( $id, $option, $cfm, $Itemid );
break;

case "results":
modernpollresult( $id, $cfm, $Itemid, 0 , False);
break;

case "changeresults":
modernpollresult( $id, $cfm, $Itemid, 0 , True);
break;

case "voting":
modernpollVoting($option, $cfm, $pollid, $Itemid, False);
break;

case "changepoll":
modernpollVoting($option, $cfm, $pollid, $Itemid, True);
break;

default:
modernpollVoting($option, $cfm, $pollid, $Itemid, False);
break;
}

function modernpollVoting($option, $cfm, $id, $Itemid, $ajaxrequest) {
show_modern_poll_vote_form($option, $cfm, $Itemid, $id, 0, $ajaxrequest);
}

/*------------------------------------------------------------------------------
Valida il sondaggio prima di registrare la votazione
------------------------------------------------------------------------------*/
function validate($uid) {
global $database, $mosConfig_offset, $my, $mosConfig_live_site, $mosConfig_absolute_path, $mosConfig_lang;

if (file_exists($GLOBALS['mosConfig_absolute_path'] . '/components/com_modernpolls/languages/'.$mosConfig_lang.'.php')) {
include_once ($GLOBALS['mosConfig_absolute_path'] . '/components/com_modernpolls/languages/'.$mosConfig_lang.'.php');
} else {
include_once ($GLOBALS['mosConfig_absolute_path'] . '/components/com_modernpolls/languages/english.php');
}

$sessionCookieName = md5( 'site'.$GLOBALS['mosConfig_live_site'] );
$sessioncookie = mosGetParam($_REQUEST, $sessionCookieName, '');

$ip = getenv("REMOTE_ADDR");

header("Content-type: text/html; charset=UTF-8");

// Ottiene le scelte dell'utente
//$voteArray = mosGetParam($_POST, 'voteid', 0);
$xtVal = mosGetParam($_POST, 'xtVal', 0);
$poll = new mosModernPoll($database);

// Controlla se l'utente ha i diritti per il sondaggio
if (!$poll->load($uid)) {
echo _NOT_AUTH;
die();
}

if ($poll->only_registered){
if (!($my->id)){
echo _MP_MESSAGE_REGISTER;
die();
}
}

// Cookies non abilitati
if ((!$sessioncookie) and $xt_seccookie) {
echo _MP_MESSAGE_COOKIES;
die();
}

// L'utente ha gia votato
$voted = moderncheckVote($poll);
if ($voted) {
echo _MP_MESSAGE_ALREADY_VOTE;
die();
}

// L'utente non ha selezionato nulla
if (!$voteArray) {
echo _MP_MESSAGE_NO_SELECTION;
die();
}

$voteid = array ();
$i = 0;
foreach ($voteArray as $v) {
foreach ($v as $vote) {
$voteid[$i] = $vote;
$i ++;
}
}

$now = $now = date("Y-m-d G:i:s");

if ($my->id)
$user = $my->username;
else
$user = "anonymous";

// Controllo per le domande obbligatorie
$id = intval ($poll->id);
$query = "SELECT * FROM #__modernpoll_questions WHERE pollid = '$id' and oblig = '1' and published = '1' and type <> '5'";
$database->setQuery($query);
$questions = $database->loadObjectList();
$obligatory = "";
foreach ($questions as $q) {
$found = false;
foreach ($voteid as $v) {
$v = intval ($v);
$query = "SELECT * FROM #__modernpoll_options WHERE id = '$v' AND quid = '$q->id'";
$database->setQuery($query);
$result = $database->loadResult();
if ($result)
$found = true;
}
if (!$found)
$obligatory .= "<li>".$q->title;
}

if (!empty ($obligatory)) {
echo _MP_MESSAGE_OBLIGATORY;
die();
}

echo "success";
die();
}

?>


I am getting error in handling the pollid and voteid Please some one help me.. I am new to Joomla..!!

 

Locked

Return to “Performance - Joomla! 2.5”