creating a subcategories from UCP / 2.6.0

Phoca Gallery - image gallery extension
dreamernf
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 14 Dec 2009, 13:47

Re: creating a subcategories from UCP / 2.6.0

Post by dreamernf »

Here is a link http://www.nf-project.ru/index.php, Account: test 1234
right in the menu link to the gallery: http://www.nf-project.ru/lichnaja-fotogalereja.html see for yourself how this error.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Hi, did you enable the debug mode? I am testing it with SEF enabled and get no similar problem. I will do more tests but for now I have no idea what can be wrong there :-(

Jan
If you find Phoca extensions useful, please support the project
rachko69
Phoca Member
Phoca Member
Posts: 11
Joined: 06 Oct 2009, 16:53

Re: creating a subcategories from UCP / 2.6.0

Post by rachko69 »

hi Jan,
Could the problem occurs when you installed other components. My site is installed JComents, hwdVideoShare and XMap.
Moreover, the problem arises when it in global configuration / SEO seting / Search Engine Friendly URLs is YES

The problem occurs when SEO Setings is set as follows:
Search Engine Friendly URLs = Yes
Use Apache mod_rewrite = Yes
Add suffix to URLs = No

NO PROBLEM :
Search Engine Friendly URLs = No
Use Apache mod_rewrite = No/Yes
Add suffix to URLs = No

But I want SEO to be included :?
I hope I helped a little :idea:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Hi, I am using standars SEF and get no such problem :idea: so still no idea what can be wrong there :-(
If you find Phoca extensions useful, please support the project
lveronese
Phoca Member
Phoca Member
Posts: 13
Joined: 19 Sep 2008, 08:54

Re: creating a subcategories from UCP / 2.6.0

Post by lveronese »

Hi Jan, same story here ...
I have Joomla native SEF enabled and when I create a sub-category I got this error.
Also consider that the sub-category gets created anyway, but I bet this error is confusing for the potential user...

Thanks
Luciano
Jan wrote:Hi, I am using standars SEF and get no such problem :idea: so still no idea what can be wrong there :-(
lveronese
Phoca Member
Phoca Member
Posts: 13
Joined: 19 Sep 2008, 08:54

Re: creating a subcategories from UCP / 2.6.0

Post by lveronese »

I am doing other tests and the same error pops up even when uploading images. I mean, the images are eventually loaded, but the user gets the error. I have enabled the debug messages and this is what I get as details for the error:

Visualizzazione non trovata [nome, tipo, prefisso]: phocagallery,html,phocagalleryView

Call stack
# Function Location
1 JSite->dispatch() /web/htdocs/www.cristorepd.it/home/index.php:68
2 JComponentHelper->renderComponent() /web/htdocs/www.cristorepd.it/home/includes/application.php:124
3 require_once() /web/htdocs/www.cristorepd.it/home/libraries/joomla ... er.php:162
4 JController->execute() /web/htdocs/www.cristorepd.it/home/components/com_p ... ery.php:45
5 PhocaGalleryController->display() /web/htdocs/www.cristorepd.it/home/libraries/joomla ... er.php:236
6 JController->display() /web/htdocs/www.cristorepd.it/home/components/com_p ... ler.php:17
7 JController->getView() /web/htdocs/www.cristorepd.it/home/libraries/joomla ... er.php:293
8 JError->raiseError() /web/htdocs/www.cristorepd.it/home/libraries/joomla ... er.php:470
9 JError->raise() /web/htdocs/www.cristorepd.it/home/libraries/joomla ... or.php:171
10 JException->__construct() /web/htdocs/www.cristorepd.it/home/libraries/joomla ... or.php:136

Does it help?
BTW, I have created another sub-category without getting the error so the latter seems somewhat random.

Bye
Luciano
lveronese wrote:Hi Jan, same story here ...
I have Joomla native SEF enabled and when I create a sub-category I got this error.
Also consider that the sub-category gets created anyway, but I bet this error is confusing for the potential user...

Thanks
Luciano
Jan wrote:Hi, I am using standars SEF and get no such problem :idea: so still no idea what can be wrong there :-(
dreamernf
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 14 Dec 2009, 13:47

Re: creating a subcategories from UCP / 2.6.0

Post by dreamernf »

Hi, tried to enable logging. And these results:

1. In one case, after the establishment of reference looks like this:
http://www.nf-project.ru/lichnaja-fotog ... html?tab=2, then the error does not occur.
And in other cases, the link looks like this:
http://www.nf-project.ru/component/phocagallery/?tab=2
And then I get an error, here's the code:

500 - Вид не найден [наименование, тип, префикс]: phocagallery,html,phocagalleryView

Вид не найден [наименование, тип, префикс]: phocagallery,html,phocagalleryView
Call stack
# Function Location
1 JSite->dispatch() /var/www/vhosts/nf-project.ru/httpdocs/index.php:68
2 JComponentHelper->renderComponent() /var/www/vhosts/nf-project.ru/httpdocs/includes/application.php:124
3 require_once() /var/www/vhosts/nf-project.ru/httpdocs/libraries/joomla/application/component/helper.php:162
4 JController->execute() /var/www/vhosts/nf-project.ru/httpdocs/components/com_phocagallery/phocagallery.php:45
5 PhocaGalleryController->display() /var/www/vhosts/nf-project.ru/httpdocs/libraries/joomla/application/component/controller.php:236
6 JController->display() /var/www/vhosts/nf-project.ru/httpdocs/components/com_phocagallery/controller.php:17
7 JController->getView() /var/www/vhosts/nf-project.ru/httpdocs/libraries/joomla/application/component/controller.php:293
8 JError->raiseError() /var/www/vhosts/nf-project.ru/httpdocs/libraries/joomla/application/component/controller.php:470
9 JError->raise() /var/www/vhosts/nf-project.ru/httpdocs/libraries/joomla/error/error.php:171
10 JException->__construct() /var/www/vhosts/nf-project.ru/httpdocs/libraries/joomla/error/error.php:136

If SEO is disabled, then the links have the following form:
http://www.nf-project.ru/index.php?opti ... &Itemid=90
and everything works fine, but without the SEO as it is not very well looked :-(((
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

I will take a look at it, for now it works for me with standard SEF enabled, maybe there needs to be added some new feature into some other SEF :-(

Jan
If you find Phoca extensions useful, please support the project
chenem
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Jan 2010, 10:36

Re: creating a subcategories from UCP / 2.6.0

Post by chenem »

I also have this problem when add subcategory or upload images. my sef is on.
when the return url is like http://www.XXXX.com/component/phocagallery/?tab=X , the 500 error happen.
in my site this return url was wrong, it should be "http://www.XXXX.com/photos/?tab=X ".

I found the subcategory and upload image form has "Itemid" hidden parameter, and it's value always is "1", this value is wrong, so the joomla sef can't get the right url. so i change the code in "default_images.php" , in line 306, change <?php echo JRequest::getVar('Itemid', 1, 'get', 'int') ?>"/> to <?php echo JRequest::getVar('Itemid', 1, 'default', 'int') ?>"/>. and the upload image is ok. no 500 happen. And i also change such code in other php file in tmpl directory.

hope it can help.
Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: creating a subcategories from UCP / 2.6.0

Post by Jan »

Hi, thank you for the info, please let me know where did you make the modifications.

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