In administrator site, saving an existing file got the following error on the intermediate page:
Notice: Undefined property: TablePhocaDownload::$texonly in /path/to/site/administrator/components/com_phocadownload/tables/phocadownload.php on line 25
Seems to be missing a character, 'texonly' should read 'textonly'. File info is still saved, with the following exceptions:
"Direct download" or "Display Inaccessible file" options are not being saved when enabled.
Running Joomla! 1.6b15
[BUG] Phoca Download 2.0.0 beta1 bug report
-
mwotton
- Phoca Newbie

- Posts: 5
- Joined: 08 Dec 2010, 06:02
[BUG] Phoca Download 2.0.0 beta1 bug report
Last edited by mwotton on 09 Dec 2010, 07:59, edited 1 time in total.
-
mwotton
- Phoca Newbie

- Posts: 5
- Joined: 08 Dec 2010, 06:02
Re: Phoca Download 2.0.0 beta1 bug report
In addition, it seems the Joomla access levels are not being applied to categories or files the way I would expect.
I have created multiple categories and subcategories within Phoca Download, each with a matching Joomla access level and Joomla user group, with the idea that a user can be assigned to multiple user groups according to their interests. Each Phoca subcategory is linked to through a menu item of type: "List of Files (Category View)". When clicking on the menu item for a subcategory that my user groups should not allow access to, I can still see the list of files and download those files - even if each individual file is assigned an access level I do not have.
I have created multiple categories and subcategories within Phoca Download, each with a matching Joomla access level and Joomla user group, with the idea that a user can be assigned to multiple user groups according to their interests. Each Phoca subcategory is linked to through a menu item of type: "List of Files (Category View)". When clicking on the menu item for a subcategory that my user groups should not allow access to, I can still see the list of files and download those files - even if each individual file is assigned an access level I do not have.
-
mwotton
- Phoca Newbie

- Posts: 5
- Joined: 08 Dec 2010, 06:02
Re: Phoca Download 2.0.0 beta1 bug report
When viewing a category with no visible files:
Notice: Undefined offset: 0 in /path/to/site/components/com_phocadownload/views/category/view.html.php on line 169
Notice: Trying to get property of non-object in /path/to/site/components/com_phocadownload/views/category/view.html.php on line 206
Notice: Trying to get property of non-object in /path/to/site/components/com_phocadownload/views/category/view.html.php on line 214
Edit: TEMPORARY FIX
/components/com_phocadownload/views/category/view.html.php line 169 - CHANGE FROM
TO
Notice: Undefined offset: 0 in /path/to/site/components/com_phocadownload/views/category/view.html.php on line 169
Notice: Trying to get property of non-object in /path/to/site/components/com_phocadownload/views/category/view.html.php on line 206
Notice: Trying to get property of non-object in /path/to/site/components/com_phocadownload/views/category/view.html.php on line 214
Edit: TEMPORARY FIX
/components/com_phocadownload/views/category/view.html.php line 169 - CHANGE FROM
Code: Select all
$this->_prepareDocument($this->category[0]);Code: Select all
if (isset($this->category[0]) && is_object($this->category[0])){
$this->_prepareDocument($this->category[0]);
}
Last edited by mwotton on 08 Dec 2010, 08:52, edited 1 time in total.
-
mwotton
- Phoca Newbie

- Posts: 5
- Joined: 08 Dec 2010, 06:02
Re: Phoca Download 2.0.0 beta1 bug report
The option to not show page title is not available in the component options, yet it is checked for in the view templates. Modifying the database table jos_extensions entry for phocadownload with "show_page_title":0 turns them off.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Phoca Download 2.0.0 beta1 bug report
Hi, thank you for the reports
What you exactly mean with "When viewing a category with no visible files:"
)
Jan
What you exactly mean with "When viewing a category with no visible files:"
This should be taken from menu links parameters ???The option to not show page title is not available in the component options, yet it is checked for in the view templates
Can you describe it in more details. ... The problem of new ACL in Joomla! (for me) I still didn't get it working (for me it is a little bit confusing so I must do a lot of tests there - to learn it betterI have created multiple categories and subcategories within Phoca Download, each with a matching Joomla access level and Joomla user group, with the idea that a user can be assigned to multiple user groups according to their interests. Each Phoca subcategory is linked to through a menu item of type: "List of Files (Category View)". When clicking on the menu item for a subcategory that my user groups should not allow access to, I can still see the list of files and download those files - even if each individual file is assigned an access level I do not have.
Jan
If you find Phoca extensions useful, please support the project
-
mwotton
- Phoca Newbie

- Posts: 5
- Joined: 08 Dec 2010, 06:02
Re: [BUG] Phoca Download 2.0.0 beta1 bug report
Hi Jan,
"When viewing a category with no visible files" means I am viewing a category with either no files in it or no files that I have access to.
The "Show Page Title" option is not in the menu item parameters. There is an option for "Show Page Heading" under "Page Display Options", but this relates to the custom browser title option and not the actual page title.
ACL now seems to be working. I really am not sure what it was but now it is correctly showing me the message I have built into a layout override file. Previously it was showing me the files and letting me download them.
"When viewing a category with no visible files" means I am viewing a category with either no files in it or no files that I have access to.
The "Show Page Title" option is not in the menu item parameters. There is an option for "Show Page Heading" under "Page Display Options", but this relates to the custom browser title option and not the actual page title.
ACL now seems to be working. I really am not sure what it was but now it is correctly showing me the message I have built into a layout override file. Previously it was showing me the files and letting me download them.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Phoca Download 2.0.0 beta1 bug report
Ok, thanks for the additional info, I will take a look at it and will fix it for beta2
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Phoca Download 2.0.0 beta1 bug report
Hi, if you will edit the category, you can assign the rigth for Joomla! group there.
I will take a look at the problem
Unserstand I it correct, this you get while selecting menu link in menu manager?
I will take a look at the problem
Unserstand I it correct, this you get while selecting menu link in menu manager?
If you find Phoca extensions useful, please support the project
-
decite
- Phoca Newbie

- Posts: 1
- Joined: 05 Jan 2011, 11:28
Re: [BUG] Phoca Download 2.0.0 beta1 bug report
Hi Jan,
i'm experiencing the same bug as "margreg" mentioned before.
Whenever I try to create a "List of Files (Category View)" menu item type in the menu manager, the menu item creation crashes with the following message:
Phoca Download 2.0.0 beta1 with
Joomla 1.6 RC1 on
Apache Version : 2.2.11
PHP Version :5.3.0
MySQL Version :5.1.36
Regards,
decite
i'm experiencing the same bug as "margreg" mentioned before.
Whenever I try to create a "List of Files (Category View)" menu item type in the menu manager, the menu item creation crashes with the following message:
My current setup is the following:Required Settings:
Select Category
Fatal error: Class 'PhocaDownloadHelper' not found in <serverpath taken out for privacy>\administrator\components\com_phocadownload\models\fields\phocadownloadcategory.php on line 51
Phoca Download 2.0.0 beta1 with
Joomla 1.6 RC1 on
Apache Version : 2.2.11
PHP Version :5.3.0
MySQL Version :5.1.36
Regards,
decite
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Phoca Download 2.0.0 beta1 bug report
Ok, I will take a look at it.
Jan
Jan
If you find Phoca extensions useful, please support the project