Hola!
Me ha surgido un error con updownloads al instalarlo en postnuke 7.50.Aver si me podeis ayudar.
El error es:
Fatal error: Call to a member function on a non-object in D:\WWW\modules\UpDownload\dl-navigation.php on line 59
El codigo del archivo es:
<?php
// File: $Id: dl-navigation.php,v 1.3 2002/09/11 09:54:29 magicx Exp $ $Name: $
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: Francisco Burzi
// Purpose of file:
// ----------------------------------------------------------------------
/**
* index
* Display the main links categories
*/
function index()
{
global $ModName, $modurl,$screenshotwidth, $screenshotheight, $displayscreenshot, $screenshotlink, $popupwidth, $popupheight;
$result=$dbconn->Execute("SELECT $column[cid], $column[title], $column[cdescription]
FROM $table
ORDER BY $column[title]"); $numcats = $result->PO_RecordCount();[esta es la linea ]
if ($numcats == 0) {
echo _DOWNLOADSNOCATS;
include 'footer.php';
} else {
Esa es una gran pregunta ... Precisamente me estoy pegando con ese error en varios modulos (entre otros My_eGallery y UpDownloads) por el momento no he conseguido nada de nada. Aunque My_eGallery no me preocupa mucho, porque aqui tenemos la mejor galería de todas: dpGallery
list($dbconn) = pnDBGetConn();
$pntable = pnDBGetTables();
$result=$dbconn->Execute("SELECT $column[cid], $column[title], $column[cdescription]
FROM $table
ORDER BY $column[title]");
Y me sigue dando error, el mismo pero ahora en lineas más adelante supongo que debido a que he puesto yo más.
En concreto, el error es el siguiente:
Fatal error: Call to a member function on a non-object in /modules/UpDownload/dl-navigation.php on line 63
Y yo, en esa linea tengo ahora:
list($dbconn) = pnDBGetConn();
$pntable = pnDBGetTables();
$result=$dbconn->Execute("SELECT $column[cid], $column[title], $column[cdescription]
FROM $table
ORDER BY $column[title]");
$numcats = $result->PO_RecordCount(); if ($numcats == 0) {
Sinceramente, no lo entiendo.
Y que módulo utiliza dev-postnuke, si es que no está restringido a los usuarios?
i-Mod [downloads] de http://www.portalzine.de/index.php eso si, modificado pero te sirve igual, personalmente no me gusta para nada el UpDownloads y mas viendo que muchos (no todos) tienen problemas con el, de hecho es un modulo original de phpnuke migrado o adaptado a PostNuke
Yo uso dpBittorrent y no tengo archivos torrent, sino descargas normales
Saludos
"Yo sólo sé que no sé nada; pero procuro saber un poco más" - Sócrates
Todos los logos y marcas registradas en este sitio son propiedad de sus respectivos dueños. Los comentarios son propiedad de sus autores, el resto es de este sitio Web (c) 2003,
que fue creado con PostNuke, un sistema portal Web escrito en PHP. PostNuke es Software Libre liberado bajo la licencia GNU/GPL.