Page 1 of 1

Perfect Install, FrontEnd Cannot create Main Category

Posted: 30 Oct 2009, 21:25
by mbudwick
I have uninstalled and installed phoca_gallery about three or four times.

i can install without issues on a Fedora 11 Linux Dist, with HTTP2 and Mysql, and PHP

The database tables are created and I can see them in mysql. But they are all empty.
If I login as a user and use a menu to get to the User Control Panel. Then I choose Main Category.
Then I want to add main category, I type: "_ _"

I get following error on top of page: Error while category saving

If I go to the ./images/phocagallery i see the below directory with the following attributes.
drwxr-xr-x. 2 apache apache 4096 2009-10-30 14:32 username-_ _-33f4

what is the issue? it seems to create directory fine, so Im not sure if its permissions related.
phoca gallery doesnt seem to enter anything into mysql.

**** EDIT ***** found these errors in httpd logs. Silly me looking at joomla logs.
Fri Oct 30 15:50:38 2009] [error] [client 7.100.1.9] PHP Notice: Undefined index: id in /var/www/html/components/com_phocagallery/models/user.php on line 818, referer: http://7.100.1.9:12001/index.php?option ... &Itemid=59
[Fri Oct 30 15:50:38 2009] [error] [client 7.100.1.9] PHP Notice: Undefined variable: limitStartUrl in /var/www/html/components/com_phocagallery/controllers/user.php on line 409, referer: http://7.100.1.9:12001/index.php?option ... &Itemid=59
[Fri Oct 30 15:50:38 2009] [error] [client 7.100.1.9] PHP Notice: Trying to get property of non-object in /var/www/html/components/com_phocagallery/controllers/user.php on line 409, referer: http://7.100.1.9:12001/index.php?option ... &Itemid=59
[Fri Oct 30 15:50:38 2009] [error] [client 7.100.1.9] PHP Notice: Undefined variable: limitStartUrl in /var/www/html/components/com_phocagallery/controllers/user.php on line 409, referer: http://7.100.1.9:12001/index.php?option ... &Itemid=59
[Fri Oct 30 15:50:38 2009] [error] [client 7.100.1.9] PHP Notice: Trying to get property of non-object in /var/www/html/components/com_phocagallery/controllers/user.php on line 409, referer: http://7.100.1.9:12001/index.php?option ... &Itemid=59




Any help would be appreciated.

Re: Perfect Install, FrontEnd Cannot create Main Category

Posted: 31 Oct 2009, 15:13
by Jan
Hi, do you use the Alpha version? it is a development version and should be work only for testing.

I will take a look at the limitstart variable but this is not the problem. The problem was bug in Alpha, Now in Alpha 2 this should be solved.

You can download new version here (but be aware, the Alpha is a development version, not stable):
https://www.phoca.cz/download/category/1 ... -component

Jan

Re: Perfect Install, FrontEnd Cannot create Main Category

Posted: 31 Oct 2009, 22:01
by mbudwick
Yes. It was the alpha version. I will be happy to download version 2 of alpha.
Im ok with Alpha version because I want the subcategory feature.

Thank you very much.
-m-

Re: Perfect Install, FrontEnd Cannot create Main Category

Posted: 03 Nov 2009, 11:27
by Jan
Ok