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..
problem with list of category on phocagallery in administrator..
-
- Phoca Newbie
- Posts: 5
- Joined: 17 Mar 2018, 06:31
- Jan
- Phoca Hero
- Posts: 48041
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with list of category on phocagallery in administrator..
Hi, did you add some categories to system?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 17 Mar 2018, 06:31
Re: problem with list of category on phocagallery in administrator..
Hi jan,
i can create new category but cant select parent catergory
thanks,
regards.
i can create new category but cant select parent catergory
thanks,
regards.
- Jan
- Phoca Hero
- Posts: 48041
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with list of category on phocagallery in administrator..
Hmmm, testing now, on different servers, without any problems
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
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
-
- Phoca Newbie
- Posts: 5
- Joined: 17 Mar 2018, 06:31
Re: problem with list of category on phocagallery in administrator..
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
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
- Jan
- Phoca Hero
- Posts: 48041
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with list of category on phocagallery in administrator..
Hmmm, this is really hard to say when the function is modified as I cannot say what can change there
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 17 Mar 2018, 06:31
Re: problem with list of category on phocagallery in administrator..
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
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
-
- Phoca Hero
- Posts: 2759
- Joined: 28 Nov 2010, 17:20
Re: problem with list of category on phocagallery in administrator..
Hi,
in addition maybe also: memory_limit = xxxM i.e. 128M
Kind regards
Christine
could you check this please: https://www.codexworld.com/how-to/incre ... tion-time/poonamtoonam wrote: ↑17 Apr 2018, 11:35Fatal 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
in addition maybe also: memory_limit = xxxM i.e. 128M
Kind regards
Christine
-
- Phoca Newbie
- Posts: 5
- Joined: 17 Mar 2018, 06:31
Re: problem with list of category on phocagallery in administrator..
hi, i have already increased the execution time to 330M
and have also increase memory_limit to 500M
but still the error occurs,
kindly advise,
thanks and regards
Poonam
and have also increase memory_limit to 500M
but still the error occurs,
kindly advise,
thanks and regards
Poonam
- Jan
- Phoca Hero
- Posts: 48041
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: problem with list of category on phocagallery in administrator..
Hi, which error you get after the change? If still the same, seems like your changes in your server didn't work (check the server settings if the changes applied well on your server)
Jan
Jan
If you find Phoca extensions useful, please support the project