problem with list of category on phocagallery in administrator..

Before you ask see the Phoca Gallery User Manual
poonamtoonam
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Mar 2018, 06:31

problem with list of category on phocagallery in administrator..

Post by poonamtoonam » 28 Mar 2018, 06:28

Hi sir,
Am using phocagallery 4.3.10
joomla version:3.8.5

i have issues with administrator=> phocagallery=>categories.
In category Not listing parent category, sub category, so i cannot create subcategory ..it also not listing in multiple add =>category in select category..
please help me last 12 day i have same problem ..

33000 image,,11000category..
administrator/components/com_phocagallery/views/phocagallerycs/ view.html.php

i edit this
// Limit the level of tree
if (!$maxLevel || ($maxLevel && $level < $maxLevel))
{
foreach ($data as $key)
{
$show_text = $text . $key->title;

static $iCT = 0;// All displayed items
}====>add this braces

sorry for my bad english

thanks,
regards..


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39524
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with list of category on phocagallery in administrator..

Post by Jan » 30 Mar 2018, 10:57

Hi, did you add some categories to system?

Jan
If you find Phoca extensions useful, please support the project

poonamtoonam
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Mar 2018, 06:31

Re: problem with list of category on phocagallery in administrator..

Post by poonamtoonam » 02 Apr 2018, 06:26

Hi jan,
i can create new category but cant select parent catergory

thanks,
regards.

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39524
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with list of category on phocagallery in administrator..

Post by Jan » 03 Apr 2018, 14:50

Hmmm, testing now, on different servers, without any problems :idea:

Image

When you look on your server on errorLog, do you see any error there:
https://www.phoca.cz/documents/16-jooml ... rs-on-site

Jan
If you find Phoca extensions useful, please support the project

poonamtoonam
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Mar 2018, 06:31

Re: problem with list of category on phocagallery in administrator..

Post by poonamtoonam » 04 Apr 2018, 06:37

When you look on your server on errorLog, do you see any error there:
https://www.phoca.cz/documents/16-jooml ... rs-on-site

Am not see any error on my error log sir :-(

Sir am also edit this line
administrator/components/com_phocagallery/libraries/phocagallery/html/category.php

this code am edit
public static function CategoryTreeOption($data, $tree, $id=0, $text='', $currentId) {

foreach ($data as $key) {
$show_text = $text . $key->text;


if ($key->parentid == $id && $currentId != $id && $currentId != $key->value) {
$tree[$key->value] = new JObject();
$tree[$key->value]->text = $show_text;
$tree[$key->value]->value = $key->value;
$tree = self::CategoryTreeOption($data, $tree, $key->value, $show_text . " - ", $currentId );

}
return($tree);
}=====> am move this
}

}
=========== orginal=======
}
}
return($tree);
}
}


regards
poonam

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39524
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with list of category on phocagallery in administrator..

Post by Jan » 08 Apr 2018, 14:56

Hmmm, this is really hard to say when the function is modified as I cannot say what can change there :idea:

Jan
If you find Phoca extensions useful, please support the project

poonamtoonam
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Mar 2018, 06:31

Re: problem with list of category on phocagallery in administrator..

Post by poonamtoonam » 17 Apr 2018, 11:35

Hi,
Sorry for troubling you again. I changed the coding back to the original, the way it is as downloaded.
Now, when i run it , i am getting the following error

Fatal error: Maximum execution time of 30 seconds exceeded in /home/demo/public_html/administrator/components/com_phocagallery/views/phocagallerycs/view.html.php on line 173

I had also tried changing execution time to 90 secs but still the same error occurs.

Kindly advise,
thanks and regards

christine
Phoca Hero
Phoca Hero
Posts: 1259
Joined: 28 Nov 2010, 17:20

Re: problem with list of category on phocagallery in administrator..

Post by christine » 17 Apr 2018, 11:54

Hi,
poonamtoonam wrote:
17 Apr 2018, 11:35
Fatal error: Maximum execution time of 30 seconds exceeded in /home/demo/public_html/administrator/components/com_phocagallery/views/phocagallerycs/view.html.php on line 173
could you check this please: https://www.codexworld.com/how-to/incre ... tion-time/
in addition maybe also: memory_limit = xxxM i.e. 128M

Kind regards
Christine

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest