Error plugin gallery in article

  • peppescg
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 3 months ago - 10 years 3 months ago #41825 by peppescg
hi guys,
i have a problem with the plugin gallery in article
HERE
I insert the script for my folder and there are some problem.
With the default folder no problem..
Another things, if i have some images that doesn't have the same height and width the plugin make the images bigger, i would like to have the imagse with tha same dimension. If i go to administration panel into plugin there is an error
Code:
Content - Photo Gallery Plugin content / photogallery Hot Photo Gallery - Commercial plugin from HotJoomlaTemplates.com Catchable fatal error: Object of class JDocumentHTML could not be converted to string in /home/u378378821/public_html/plugins/content/photogallery/elements/loader.php on line 40

Plaese helpe me with this problem
Last edit: 10 years 3 months ago by peppescg.

Please Log in to join the conversation.

More
10 years 3 months ago #41827 by ivan.milic
Open:

plugins/content/photogallery/elements/loader.php

see line 40

there is something like:

$some_var =& ...some code...;

remove & next to equal sign

Please Log in to join the conversation.

  • peppescg
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 3 months ago - 10 years 3 months ago #41835 by peppescg
sorry but in this file there isn't this variable

this is loader.php
Code:
<?php /** * @version $Id: text.php 15576 2010-03-25 12:43:26Z louis $ * @package Joomla.Framework * @subpackage Form * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_BASE') or die; jimport('joomla.form.formfield'); /** * Form Field class for the Joomla Framework. * * @package Joomla.Framework * @subpackage Form * @since 1.6 */ class JFormFieldLoader extends JFormField { /** * The form field type. * * @var string * @since 1.6 */ protected $type = 'Loader'; /** * Method to get the field input markup. * * @return string The field input markup. * @since 1.6 */ function getInput(){ $document = JFactory::getDocument(); $header_media = $document->addStyleSheet(JURI::root(1) . '/plugins/content/photogallery/css/admin.css'); $header_media .= $document->addScript(JURI::root(1) . '/plugins/content/photogallery/js/jscolor.js'); } }
Last edit: 10 years 3 months ago by peppescg.

Please Log in to join the conversation.

  • peppescg
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 3 months ago #41836 by peppescg
SOlLVE i delete the point
Thanks

Please Log in to join the conversation.

  • peppescg
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 3 months ago #41837 by peppescg
But there are the other problem

Warning: mkdir() [function.mkdir]: No such file or directory in /home/u378378821/public_html/plugins/content/photogallery/photogallery.php on line 136

Warning: opendir(</span><span style="line-height: 15.8079996109009px;"><span style="line-height: 15.8079996109009px;">images/sito/pasta/ravioli</span>/) [function.opendir]: failed to open dir: No such file or directory in /home/u378378821/public_html/plugins/content/photogallery/photogallery.php on line 112

Please Log in to join the conversation.

  • peppescg
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 3 months ago #41838 by peppescg
i see that the plugin doesn't create the thumbs images..How?

Please Log in to join the conversation.

Time to create page: 0.170 seconds
Powered by Kunena Forum