Error loading component: com_phocagallery, 1

Phoca Download - download manager
toemon
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Jul 2011, 12:13

Error loading component: com_phocagallery, 1

Post by toemon »

Hi,
First, i appologize to my poor English.

I got the error while testing the 'com_phocadownload_v2.1.0_beta'.
It occurs when
press the 'Select Filename' button in the 'File:[New or Edit]' screen,
or press the 'Select Icon' button in the 'File:[New or Edit]' screen,
or press the 'Select Image' button in the 'File:[New or Edit]' screen,
or show the 'Multiple Add' screen.

Displays error is "Error loading component: com_phocagallery, 1" .

Debug messages are as follows:

Code: Select all

Errors

Error loading component: com_phocagallery, 1
Information


Backtrace

Call stack
#	Function	Location
1	JAdministrator->dispatch()	D:\Zend\Apache2\htdocs\joomla17\administrator\index.php:47
2	JComponentHelper::renderComponent()	D:\Zend\Apache2\htdocs\joomla17\administrator\includes\application.php:153
3	require_once()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\helper.php:156
4	JController->execute()	D:\Zend\Apache2\htdocs\joomla17\administrator\components\com_phocadownload\phocadownload.php:29
5	PhocadownloadCpController->display()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\controller.php:679
6	JController->display()	D:\Zend\Apache2\htdocs\joomla17\administrator\components\com_phocadownload\controller.php:47
7	PhocaDownloadCpViewPhocaDownloadManager->display()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\controller.php:645
8	JView->get()	D:\Zend\Apache2\htdocs\joomla17\administrator\components\com_phocadownload\views\phocadownloadmanager\view.html.php:39
9	PhocaDownloadCpModelPhocaDownloadManager->getFolderState()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\view.php:348
10	JModel->getState()	D:\Zend\Apache2\htdocs\joomla17\administrator\components\com_phocadownload\models\phocadownloadmanager.php:66
11	JModelAdmin->populateState()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\model.php:369
12	JComponentHelper::getParams()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\modeladmin.php:665
13	JComponentHelper::getComponent()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\helper.php:84
14	JComponentHelper::_load()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\helper.php:41
15	JError::raiseWarning()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\application\component\helper.php:201
16	JError::raise()	D:\Zend\Apache2\htdocs\joomla17\libraries\joomla\error\error.php:235
To fix this error, I made ​​the following changes:

administrator/components/com_phocadownload/models/phocadownloadmanager.php Diff

Code: Select all

19,20c19,20
< 	protected	$option 		= 'com_phocagallery';
< 	protected $text_prefix 		= 'com_phocagallery';
---
> 	protected	$option 		= 'com_phocadownload';
> 	protected $text_prefix 		= 'com_phocadownload';
This fix the wrong?

Some other files also include a description of the 'phocagarrary'.
It is because of what Integration with phocagarrary?
thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error loading component: com_phocagallery, 1

Post by Jan »

Hi, yes, it is a known typo error, will be fixed in the stable.

Thank you for the info.

phocagarrary - it is only a name of variable so there is no problem with function.

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