JTCrimmel wrote:ISSUE 1:Fatal error: Class 'PhocaDownloadTagHelper' not found in {SITEROOT}/administrator/components/com_phocadownload/models/phocadownloadfile.php on line 272
I get the above error when trying to saving edits to a file. I can change the title name or category and whatever else I need to change in the backend, but this error is shown once I click Save / Save & New / Save & Close. The changes are saved to the file, but not without showing this error first.
I encountered this error as well. The quickest fix I could find was to require the "tag.php" file in administrator/components/com_phocadownload/libraries/tag (which appears to contain the storeTags function), and change the name of the requested class from PhocaDownloadTagHelper to PhocaDownloadTag. I essentially replaced line 272 of phocadownloadfile.php (located at /administrator/components/com_phocadownload/models/phocadownloadfile.php) with the following 2 lines of code:
- Code: Select all
require_once(JPATH_ADMINISTRATOR.DS.'components/com_phocadownload/libraries/phocadownload/tag/tag.php');
PhocaDownloadTag::storeTags($data['tags'], (int)$table->id);
I could be completely incorrect in doing this, as I did not root around in the code too long, but it got rid of the error.
Also, in regards to univer's bug report, I ran into that too:
univer wrote:I wanted to report a bug, when I create a new menu item, and as I select item type:
List of Files (Category View) This view displays list of files
not return to the page of creating the menu, but a blank page with the first fields of the form
I hope I was of help
There appears to have simply been a missing portion of the filepath in the phocadownloadcategory.php file located at administrator/components/com_phocadownload/models/fields/phocadownloadcategory.php. I changed line 14 from:
- Code: Select all
require_once( JPATH_ADMINISTRATOR.'/components/com_phocadownload/libraries/category/category.php');
to
- Code: Select all
require_once( JPATH_ADMINISTRATOR.'/components/com_phocadownload/libraries/phocadownload/category/category.php');
and it located the missing class just fine.
I hope this helps! Thank you for all of your great work, Jan.
Regards,
-Harrison