Perfect Install, FrontEnd Cannot create Main Category

Phoca Gallery - image gallery extension
mbudwick
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Oct 2009, 20:56

Perfect Install, FrontEnd Cannot create Main Category

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Perfect Install, FrontEnd Cannot create Main Category

Post 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
If you find Phoca extensions useful, please support the project
mbudwick
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Oct 2009, 20:56

Re: Perfect Install, FrontEnd Cannot create Main Category

Post 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-
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Perfect Install, FrontEnd Cannot create Main Category

Post by Jan »

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