The 500 error appears when is:
Joomla 1.5.18 (global conf)
Search Engine Friendly URLs - yes
Use Apache mod_rewrite - yes
Add suffix to URLs - yes
(When options are switched "NO" error doesn't arise)
htaccess is rename to .htaccess
error_reporting = E_ALL & ~E_NOTICE
php_flag display_errors on
php_value error_reporting 6143
The error appears when user crate new Subcategory (on the front) by contral panel.
http://www.photoshare.ru/photo5471931.html
500 error -> Create Subcategory in the front panel
-
dr.archik
- Phoca Member

- Posts: 23
- Joined: 14 Aug 2009, 23:05
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 500 error -> Create Subcategory in the front panel
Hi, seems like there is a problem with sending controller name in get, I will take a look at it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
dr.archik
- Phoca Member

- Posts: 23
- Joined: 14 Aug 2009, 23:05
Re: 500 error -> Create Subcategory in the front panel
I will wait very much!
-
dr.archik
- Phoca Member

- Posts: 23
- Joined: 14 Aug 2009, 23:05
Re: 500 error -> Create Subcategory in the front panel
Hi Jan! You have found in what problem?
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 500 error -> Create Subcategory in the front panel
Hi, I have tested it and there is problem with the SEF (in fact I didn't find any other way to send the controller name, so if this is cutted by SEF there needs to be done some hack and seems it will be not easy because of conflicting with other parts of the system
)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
dr.archik
- Phoca Member

- Posts: 23
- Joined: 14 Aug 2009, 23:05
Re: 500 error -> Create Subcategory in the front panel
I haven't absolutely understood, problem at my site or problem in gallery component ?
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 500 error -> Create Subcategory in the front panel
Seems like the problem on my site was caused by wrong .htaccess
I have tested the .htaccess and left some wrong settings, now I have uploaded the Joomla! core .htacces and everything is working for me

EDIT:
now I am testing it with .htaccess, without it, with .html suffix, without it and still no problem while creating subcategory.
Jan
I have tested the .htaccess and left some wrong settings, now I have uploaded the Joomla! core .htacces and everything is working for me
EDIT:
now I am testing it with .htaccess, without it, with .html suffix, without it and still no problem while creating subcategory.
Jan
If you find Phoca extensions useful, please support the project
-
dr.archik
- Phoca Member

- Posts: 23
- Joined: 14 Aug 2009, 23:05
Re: 500 error -> Create Subcategory in the front panel
jan you will try to solve this problem? There can be problem in Routing Overview of the your component ?
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 500 error -> Create Subcategory in the front panel
See:

Subcategory was succesfully created and then redirected back with SEF url to the same panel (with standard .htaccess)
The routing should be OK, and in the address there is no ID

Subcategory was succesfully created and then redirected back with SEF url to the same panel (with standard .htaccess)
The routing should be OK, and in the address there is no ID
Code: Select all
case 'user' :
if($count == 1) {
$vars['view'] = 'user';
}
if($count == 2) {
$vars['view'] = 'user';
$vars['id'] = $segments[$count-1];
}
if($count == 3) {
$vars['catid'] = $segments[$count-3];
$vars['view'] = $segments[$count-2];
$vars['id'] = $segments[$count-1];
}
break; If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 500 error -> Create Subcategory in the front panel
Try to enable debug mode, if there is no database error.
but seems that this is not that case as the error is comming from controller:
libraries/joomla/application/component/controller.php - 470 line
This:
if ( $view = & $this->_createView( $name, $prefix, $type, $config ) ) {
seems like it returns false, so maybe you should check all the variables which are comming to this method and compare if they are not empty e.g. - did you try to only disable .htaccess option and run SEF without .htaccess
Jan
but seems that this is not that case as the error is comming from controller:
libraries/joomla/application/component/controller.php - 470 line
This:
if ( $view = & $this->_createView( $name, $prefix, $type, $config ) ) {
seems like it returns false, so maybe you should check all the variables which are comming to this method and compare if they are not empty e.g. - did you try to only disable .htaccess option and run SEF without .htaccess
Jan
If you find Phoca extensions useful, please support the project