500 error: view not found

Phoca Download - download manager
nononsense
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Jun 2011, 17:17

500 error: view not found

Post by nononsense »

I have installed phoca download on several websites and it all works perfectly.

For one particular website I just cannot get it to work.

I have used Joomla 1.6.0 to 1.6.5 and the phoca downloads component 2.00rc3, 2.00 and now 2.01.
The plugin version 2.0.0 and 2.0.1

When i first installed the rc3 component, I had to change some database tables as listed somewhere else in this forum.

After that, and updates to the latest phoca versions, I was able to upload files and show them in an article.

The problem is that when I click on a download I get the following error (in Dutch):
500 - View niet gevonden [naam, type, voorvoegsel]: section, html, phocadownloadView
In english this would be:
500 - View not found {name, type, presomething]: section, html, phocadownloadView

Does someone have a clue?

Enabling debugging I get the following:
Call stack
# Function Location
1 JSite->dispatch() D:\www\---.com\www\portal16\index.php:43
2 JComponentHelper::renderComponent() D:\www\---.com\www\portal16\includes\application.php:188
3 require_once() D:\www\---.com\www\portal16\libraries\joomla\application\component\helper.php:152
4 JController->execute() D:\www\---.com\www\portal16\components\com_phocadownload\phocadownload.php:35
5 PhocaDownloadController->display() D:\www\---.com\www\portal16\libraries\joomla\application\component\controller.php:649
6 JController->display() D:\www\---.com\www\portal16\components\com_phocadownload\controller.php:34
7 JController->getView() D:\www\---.com\www\portal16\libraries\joomla\application\component\controller.php:574
8 JError::raiseError() D:\www\---.com\www\portal16\libraries\joomla\application\component\controller.php:772
9 JError::raise() D:\www\---.com\www\portal16\libraries\joomla\error\error.php:179
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 500 error: view not found

Post by Jan »

Hi, try to enable php error reporting, if you get some php error?
If you find Phoca extensions useful, please support the project
PGH
Phoca Member
Phoca Member
Posts: 15
Joined: 27 Jul 2011, 09:55

Re: 500 error: view not found

Post by PGH »

i have the same error
Actuall the Version is at 1.6.5 ( i wait for the cb module public update)

My errorlog follows -->

Code: Select all

500 - **View nicht gefunden [Name, Typ, Präfix]: phocadownload, html, phocadownloadView**
 ....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 500 error: view not found

Post by Jan »

Hi, debug mode is OK, it means, there is no error in database, but you need to enable php error reporting, then some php error should be displayed on your site.

Jan
If you find Phoca extensions useful, please support the project
daniel.boettner
Phoca Member
Phoca Member
Posts: 14
Joined: 17 Jun 2011, 08:58

Re: 500 error: view not found

Post by daniel.boettner »

I'll guess this is a SEF problem.

I also ran into this Problem in Joomla 1.7 with latest Phoca Download.
Either Joomla or PhocaDownload seems to have a problem.

With SEF disabled the links work. With SEF enabled the links genrate this 500 error.

example: http://www.example.com/de/component/pho ... atableiter

Is generated.

http://www.example.com/de/datenblaetter ... atableiter would work.

Any ideas? I also will post any php errors I can find later.
Last edited by daniel.boettner on 01 Aug 2011, 11:12, edited 1 time in total.
daniel.boettner
Phoca Member
Phoca Member
Posts: 14
Joined: 17 Jun 2011, 08:58

Re: 500 error: view not found

Post by daniel.boettner »

What helped me was to add a new menu container with a menu item to
"phoca download" - to categories (plural) view which is most likely the base of the component front-end.

I already had a menu item, but this was a pre selected category (with sub categories).

The solution is so to say pretty similar to https://www.phoca.cz/documents/16-joomla ... -in-joomla

Hope this helps others.
PGH
Phoca Member
Phoca Member
Posts: 15
Joined: 27 Jul 2011, 09:55

Re: 500 error: view not found

Post by PGH »

Thx, the hint for SEF helped me. The second hint with the link seems not to work.
May bee i try it again another time,
ZioRiP
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 Jul 2011, 20:38

Re: 500 error: view not found

Post by ZioRiP »

hello :)
I have the same problem, I wanted to subscribe this forum just to keep track if any updates come so that I can turn on SEF back ;)
daniel.boettner
Phoca Member
Phoca Member
Posts: 14
Joined: 17 Jun 2011, 08:58

Re: 500 error: view not found

Post by daniel.boettner »

Have you tried what I said in my last post?
This solved it for me.

It seem you should have at least one menu item which points to PhocaDownload - Categories (as said before not a single one with sub categories, but basicly the standard view to all categories.

Here is how I did it:

Created a new menu called 'container'. Added a new menu item to this container which is type Phoca Download - Categories View.

After that I disabled the created modul (which was generated automatically while creating the 'container' Menu.

And viola, it worked.

Also if it maybe is a not phoca related SEF problem, you may try to edit your htaccess file and uncomment the "RewriteBase /".
ZioRiP
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 Jul 2011, 20:38

Re: 500 error: view not found

Post by ZioRiP »

Thanks, I will :)
Post Reply