Problem on backend after update

Phoca Download - download manager
niqs
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Mar 2011, 13:50

Problem on backend after update

Post by niqs »

Hi,

I've update a clients' website today and unfortunately there is a problem with phoca download. On the frontend everything works fine, but on the backend I can't view the files or categories.
The control panel looks fine, but when clicking on Files I get this:
Image

Clicking on Categories produces this error: Fatal error: Class 'PhocaDownloadBatch' not found in /home/nvvccongr/domains/nvvc-congres.nl/public_html/administrator/components/com_phocadownload/views/phocadownloadcats/tmpl/default_batch.php on line 20

I've had similar problems before, and just went on without using phoca download. But on this website we've invested in creating a large archive of files.



So any help will be highle appreciated. Thanks.
Niqui
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48580
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem on backend after update

Post by Jan »

Hi, check if you run the right version and try to reinstall the component.

Jan
If you find Phoca extensions useful, please support the project
niqs
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Mar 2011, 13:50

Re: Problem on backend after update

Post by niqs »

I'm using version 2.1.9 with Joomla 2.5.14. Installing again doesn't help. Or should I first delete the component and then re-install? Is my data gone if I delete the component?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48580
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem on backend after update

Post by Jan »

Hi, there must be some problem on the server, testing now with 2.1.9 without any problem (and of course, if there will be such large problem like not possible to go to categories view, it will be known in seconds as phoca download is used by many users :idea:)

Try to check if these files are stored on your server (they included the class which is mission in your error):
administrator\components\com_phocadownload\views\phocadownloadcats\tmpl\default_batch.php
administrator\components\com_phocadownload\helpers\html\batch.php

and open:
administrator\components\com_phocadownload\phocadownload.php

and check if this file include such string:
require_once( JPATH_COMPONENT.DS.'helpers'.DS.'html'.DS.'batch.php' );

(if this file includes this string and the above mentioned files are included, this means, everything is Ok and in such case you cannot get such error message, but if you get this message, then it seems, files are missing or they cannot be read on your server :idea: )

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