Page 1 of 1

Problem with photo authorization

Posted: 02 Jan 2013, 16:22
by TSDreamer
Hello and happy new year.
I have a small problem with phoca gallery version 3.2.1
I have enabled registered users to publish photos from the frontend but I have also disabled them from automatically being authorized.
So the problem is that when a user, tries to open the image (back from the gallery) that he has just uploaded, the following error comes up on a blank page:

Notice: Trying to get property of non-object in /home/landof/public_html/site/components/com_phocagallery/views/detail/view.html.php on line 203
Δεν έχετε άδεια για αυτή την ενέργεια Παρακλώ συνδεθείτε. (you do not have permission for this action. Please login)

Probably because it is not authorized. The thing is that there should be a system message saying that the picture is not yet authorized and not a completely blank screen with the error message.
I have searched with google for this error and a lot of websites seem to have this problem.
I have not tried the 3.2.3 version yet but if this is the solution I would be happy to install it.
Best Regards,
George Angelopoulos

Re: Problem with photo authorization

Posted: 03 Jan 2013, 17:36
by Jan
Hi, please update and let me know if you get the same problem and if yes, let me know the whole notice (because of the line number I need to look at it)

Thank you, Jan

Re: Problem with photo authorization

Posted: 06 Jan 2013, 17:11
by TSDreamer
Sorry to bother you again.
The problem exists after the update.
The notice is exactly this:
Notice: Trying to get property of non-object in /home/landof/public_html/site/components/com_phocagallery/views/detail/view.html.php on line 203
If you want something more, explain me and I'll do my best to inform you.
Regards,
George

Re: Problem with photo authorization

Posted: 17 Jan 2013, 21:21
by Jan
Hi, on that line, you should get data from database - this seems like there is some problem with loading data from database - enabling debug mode in Joomla! should print some sql query error? What happen if you enable debug mode?