500 Layout edit_associations non trovato

Started by tulinux, 21 July 2014, 10:45:36

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Turbolinux, ho trovato l'errore, l'ho già corretto nella versione di sviluppo, ma non ho mai tempo di fare i test per pubblicare la versione nuova.
Se leggi qui trovi la soluzione: http://forum.voxpopulix.org/errori-(bugs)/problems-while-installation/msg2200/#msg2200
L'errore è diverso ma la soluzione è la stessa.

Igor, read this post: http://forum.voxpopulix.org/errori-(bugs)/problems-while-installation/msg2200/#msg2200
The error is unlike but the solution is the same
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

TRUEMAKER

#22
Hi, Federica

May be this file i must edited in line 59
/administrator/components/com_abook/models/category.php

But i dont understand it because i have small experience in joomla programm.
May be you tell me what i must edit and i try test it in first work day?

----
Try to modify this file
administrator/components/com_abook/abook.php line 34
from:
Code: [Select]
$controller->execute(JRequest::getCmd('task'));
to:
Code: [Select]
$controller->execute(JFactory::getApplication()->input->get('task'));
----

And i tested more. Some trouble.
Search tools in category ok.
BUT in search page all filters empty and 2 millimetrs width each of authors, years and etc.
In category page in component searchform with elements in filters, in different page from menu item searchform bad (without filters).
And in component on category page searchsorm have category filter as empty. Oter filters Authors, years ,... with elements, but category filter is empty.

May be this solved too?

P.S. I planing create (in short term) subdomain as open library with 3000-4000 items.
And i can create uk-UA (UKRAINIAN) translate package for your component.
Is it interest for you?

WBR
Igor

tulinux

Ho fatto un'istallazione nuova senza le estensioni di Abook e poi ho corretto la riga 34, niente di nuovo, l'errore resta e le categorie non sono modificabili...
Carlo :'(

tulinux

Ho òappena provato ad installare il componente anche su un'altro sito che non è in produzione e che stiamo elaborando.
La situazione è diversa da ERGOCERT.net, il template è diverso e i componenti sono standard di Rockettheme il template è questo: http://demo.rockettheme.com/live/joomla/vermilion/
Purtroppo niente da fare anche dopo la rorrezione del file abook.php:
<?php
/**
* @package Joomla
* @subpackage Abook
* @copyright (C) 2010 Ugolotti Federica
* @license GNU/GPL, see LICENSE.php
* EventList is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License 2
* as published by the Free Software Foundation.

* Abook 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.

* You should have received a copy of the GNU General Public License
* along with Abook; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

defined( '_JEXEC' ) or die( 'Restricted access' );
JHtml::_('behavior.tabstate');
if(!defined('DS')){
   define('DS',DIRECTORY_SEPARATOR);
}

if (!JFactory::getUser()->authorise('core.manage', 'com_abook')) {

return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));

}
JLoader::register('AbookHelper', __DIR__ . '/helpers/abook.php');
// Include dependencies
//jimport('joomla.application.component.controller');

$controller = JControllerLegacy::getInstance('Abook');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Potrebbe essere un errore di javascript.
Il link ad una categoria è simile a questo:
http://tuosito.it/administrator/index.php?option=com_abook&task=category.edit&id=2
quando ci clicchi sopra  viene trasformato in questo:
http://tuosito.it/administrator/index.php?option=com_abook&view=category&layout=edit&id=2

In teoria scrivendo il secondo url direttamente nella barra degli indirizzi dovresti poter modificare la categoria con id 2. Prova. Ovviamente sostituisci il numero 2 con l'id della categoria che vuoi modificare.

Igor, try to write the edit category url manually:
http://tuosito.it/administrator/index.php?option=com_abook&view=category&layout=edit&id=2
The id=2 is the number of category id.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

TRUEMAKER

Hi Federica

I tryed many times different links as
.../administrator/index.php?option=com_abook&task=category.edit&id=5
and
.../administrator/index.php?option=com_abook&view=category&layout=edit&id=2
BUT error as before.
And after error tryed for edit category with lock icon. Icon disabled ok.

In logs about error

[Tue Nov 04 20:11:16 2014] [warn] [client **.**.***.***] mod_fcgid: stderr: PHP Notice:  Undefined variable: parentsStr in /SiteName/administrator/components/com_abook/views/categories/tmpl/default.php on line 111, referer: http://SiteName/administrator/index.php?option=com_abook&view=categories
[Tue Nov 04 20:11:23 2014] [warn] [client **.**.***.***] mod_fcgid: stderr: PHP Notice:  Undefined variable: parentsStr in /SiteName/administrator/components/com_abook/views/categories/tmpl/default.php on line 111, referer: http://SiteName/administrator/index.php?option=com_abook&view=categories
[Tue Nov 04 20:11:37 2014] [error] [client **.**.***.***] File does not exist: /SiteName/includes/js, referer: http://SiteName/administrator/index.php?option=com_abook

WBR

Igor

federica

Hi Igor,
I split the last post to another one because it is a different topic ( http://forum.voxpopulix.org/errori-%28bugs%29/search-form-problem/ ).

The log is very useful, the path /SiteName/includes/js does not exist, your site cannot include the javascript file. Your error  maybe depend on this problem.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]