Could not see Phoca Gallery as normal visitor
Posted: 05 Jun 2016, 21:43
Hello comunity,
first of all i hope that my englisch is not so bad and someone can help me.
I worked with Joomla 2.5 and Phoca Gallery and after support is run out now i tried Joomla 3.5.1 with Phoca Gallery 4.3.0 on my own pc with xampp.
Everything works fine while installing phoca gallery. I created one user for loading up Images on Login-Front-Panel.
Logged in, created Category named "Bilder" and created subcategory for example 2016-brunch; 2016-football.....and so on.
Uploaded the images in these categories and everything looks good while the user named "pictureuploading" is logged in.
I can also see the list of categories by clicking this with the menu button.
When i log out and looking the website as a normal visitor i cannot see the categories by using the link from the menu button.
Tried some things to fix it and looked up for right configuration on my Joomla and Phocagallery Backend. Everything looks good.
Found by myself now a workaround, but not happy with it because it`s complicated for me.
1. create subcategory and upload images from login-frontpanel by user "pictureuploading" is loged in.
2. Logout from frontpanel and login as superuser in backend.
3. Goto Component - PhocaGallery - Categories
4. pick up the subcategorie for example 2016-football and change the Option "higher category" Bilder into "choose category"
5. click save
6. error occured 3 times with following notice :
Notice: Array to string conversion in C:\xampp\htdocs\joomla351\administrator\components\com_phocagallery\models\fields\phocausers.php on line 23
7. change back the higher category option "choose category" back to category Bilder and save
8. And unbelieveble >> I can see the category 2016-football in frontend as normal user ( no login ) by clicking the Phocagallery category link in menu.
The only thing i did was updating the \components\com_phocagallery\phocagallery.php with the line
phocagalleryimport('phocagallery.image.image');
that i found here in this forum as a workaroung for could not create categories.
So i checked the line 23 from phocausers.php and found the line :
$userId = (string) $this->form->getValue($this->element['name']);
but i didn`t know this because i do not programming.
Searched different posts about this error notice, but didn`d find anything that can help me to solve this problem.
Maybe someone can help me.
Thank you.
first of all i hope that my englisch is not so bad and someone can help me.
I worked with Joomla 2.5 and Phoca Gallery and after support is run out now i tried Joomla 3.5.1 with Phoca Gallery 4.3.0 on my own pc with xampp.
Everything works fine while installing phoca gallery. I created one user for loading up Images on Login-Front-Panel.
Logged in, created Category named "Bilder" and created subcategory for example 2016-brunch; 2016-football.....and so on.
Uploaded the images in these categories and everything looks good while the user named "pictureuploading" is logged in.
I can also see the list of categories by clicking this with the menu button.
When i log out and looking the website as a normal visitor i cannot see the categories by using the link from the menu button.
Tried some things to fix it and looked up for right configuration on my Joomla and Phocagallery Backend. Everything looks good.
Found by myself now a workaround, but not happy with it because it`s complicated for me.
1. create subcategory and upload images from login-frontpanel by user "pictureuploading" is loged in.
2. Logout from frontpanel and login as superuser in backend.
3. Goto Component - PhocaGallery - Categories
4. pick up the subcategorie for example 2016-football and change the Option "higher category" Bilder into "choose category"
5. click save
6. error occured 3 times with following notice :
Notice: Array to string conversion in C:\xampp\htdocs\joomla351\administrator\components\com_phocagallery\models\fields\phocausers.php on line 23
7. change back the higher category option "choose category" back to category Bilder and save
8. And unbelieveble >> I can see the category 2016-football in frontend as normal user ( no login ) by clicking the Phocagallery category link in menu.
The only thing i did was updating the \components\com_phocagallery\phocagallery.php with the line
phocagalleryimport('phocagallery.image.image');
that i found here in this forum as a workaroung for could not create categories.
So i checked the line 23 from phocausers.php and found the line :
$userId = (string) $this->form->getValue($this->element['name']);
but i didn`t know this because i do not programming.
Searched different posts about this error notice, but didn`d find anything that can help me to solve this problem.
Maybe someone can help me.
Thank you.