directories with images created, sees them, won't access

Phoca Gallery - image gallery extension
lsiemon
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Feb 2016, 19:04

directories with images created, sees them, won't access

Post by lsiemon »

I have two parent categories each with 5 child categories, all with images. When I access CATEGORIES and click NEW, it show me the existing folders. When I click on a directory it says it doesn't exist. and to create a folder. When I name a folder and click create, it _ _ the new folder. I click on that new folder and it says it doesn't exist. I cannot go anywhere with this component.
lsiemon
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Feb 2016, 19:04

Re: directories with images created, sees them, won't access

Post by lsiemon »

This is the error log

Strict Standards: Declaration of PhocaGalleryCpModelPhocaGalleryF::getState() should be compatible with JModelLegacy::getState($property = NULL, $default = NULL) in /home/dpslee/public_html/administrator/components/com_phocagallery/models/phocagalleryf.php on line 88

Strict Standards: Only variables should be passed by reference in /home/dpslee/public_html/administrator/components/com_phocagallery/views/phocagalleryf/view.html.php on line 33

Strict Standards: Only variables should be passed by reference in /home/dpslee/public_html/administrator/components/com_phocagallery/views/phocagalleryf/view.html.php on line 35

Strict Standards: Only variables should be passed by reference in /home/dpslee/public_html/administrator/components/com_phocagallery/views/phocagalleryf/view.html.php on line 36

..

There is no folder
Create Folder
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: directories with images created, sees them, won't access

Post by Jan »

Hi, which version of Phoca Gallery you are using?

I don't understand this: "When I access CATEGORIES and click NEW, it show me the existing folders" Where? Which folder you exactly mean? Can you paste a screenshot of what you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
lsiemon
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Feb 2016, 19:04

Re: directories with images created, sees them, won't access

Post by lsiemon »

Version v4.4.2.2
I uninstalled the component. Renamed the phocagallery image directory I had created with the the 2 parent directories and all the child folders with the images already ftp'd so the new installation could create a new image directory. I then created a new category named family - checked with FTP to see that it created it. Then tried first to create a child as a new category, but when I clicked on parent, it would not show the Family folder I just created.
Image
When I click on the new family folder
Image
When I try new category and try to use the new FAMILY folder as parent - doesn't show up
Image

On my first install, I created the folders in Phocagallery images and the childs inside each parent. It let me select and install half of the child folders and upload the images, then when I tried the other folders, I got the does not exist message. That is why I uninstalled and re-installed.
OLD PARENT FOLDER
Image
OLD CHILDS UNDER PHILIPPINES PARENT
Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: directories with images created, sees them, won't access

Post by Jan »

Hi, see:
https://www.phoca.cz/documents/2-phoca-g ... categories

Folders are not categories, subfolders are not subcategories.

If you use multiple add funtion, it translates folders to categories and subfolders to subcategories. But the category don't have to be paired with folder. It means, you can create a category which do not have any folder and includes images which are stored in other folder.

Sot it does not mean that if there is folders structure: Cat -> SubCat -> SubSubCat that the category tree is the same.

Multiple add function creates the same structure like folder structure for categories. But it is import function, so if you change something, then the folder structure will be not the same like category structure.
To define subcategories or parentcategories - you need to set them in Category edit. If there is no in select box, you need to create some category (e.g. with multiple add function - then the categories will be the same like folders) or with another feature - Categories - New.

In Phoca Gallery, there is an independent way how to handle database and filesystem layer - they are not paired.


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