Category not showing on other languages and lightbox

Phoca Gallery - image gallery extension
almarjin
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Nov 2011, 06:59

Category not showing on other languages and lightbox

Post by almarjin »

Hi,

I'm getting error message on lightbox display for Danish and German languages pages. On the default language(English) it's working perfectly. The error message is 'You are not authorized to do this action Please login.'

Also categories pages are not showing on other languages. If I create new menu item and set it to load Phoca category images, it only shows on the default language.

Thanks,
almarjin
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Nov 2011, 06:59

Re: Category not showing on other languages and lightbox

Post by almarjin »

Hi,

I set the error reporting in Joomla to Development and got error messages:

Code: Select all

trict Standards: Only variables should be assigned by reference in \components\com_phocagallery\views\categories\view.html.php on line 31

Strict Standards: Only variables should be assigned by reference in \components\com_phocagallery\views\categories\view.html.php on line 32

Strict Standards: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in \components\com_phocagallery\views\categories\view.html.php on line 33

Strict Standards: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in \administrator\components\com_phocagallery\libraries\phocagallery\path\path.php on line 36

Strict Standards: Only variables should be assigned by reference in \components\com_phocagallery\views\categories\view.html.php on line 33

Strict Standards: Only variables should be assigned by reference in \components\com_phocagallery\views\categories\view.html.php on line 67

Strict Standards: Non-static method PhocaGalleryLibrary::getLibrary() should not be called statically, assuming $this from incompatible context in \components\com_phocagallery\views\categories\view.html.php on line 68

Strict Standards: Non-static method PhocaGalleryLibrary::getInstance() should not be called statically, assuming $this from incompatible context in \administrator\components\com_phocagallery\libraries\phocagallery\library\library.php on line 44

Strict Standards: Only variables should be assigned by reference in \components\com_phocagallery\views\categories\view.html.php on line 68

Strict Standards: Non-static method PhocaGalleryImageFront::getCategoriesImageBackground() should not be called statically, assuming $this from incompatible context in \components\com_phocagallery\views\categories\view.html.php on line 109

Strict Standards: Non-static method PhocaGalleryImage::getFormatIcon() should not be called statically, assuming $this from incompatible context in \administrator\components\com_phocagallery\libraries\phocagallery\image\imagefront.php on line 23

Strict Standards: Only variables should be assigned by reference in \administrator\components\com_phocagallery\libraries\phocagallery\image\imagefront.php on line 23

Strict Standards: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in \administrator\components\com_phocagallery\libraries\phocagallery\image\imagefront.php on line 24
There are other error messages but I can't add to post because of character limit

Thanks,

almarjin
almarjin
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Nov 2011, 06:59

Re: Category not showing on other languages and lightbox

Post by almarjin »

Installed clean Joomla 2.5.14 then installed Joomfish with Danish and German languages then installed Phoca Gallery.

When setting Error Reporting to Development still show errors but the component is working. Compared tables #__phocagallery_categories and noticed that language field entries for clean install is set to * and my old site is en-GB. I changed the values of language field for all entries and Category is now showing.

I've seen this solution from ligrex post here and stackoverflow, tried it but only changed 3 entries to test.

I still have problem because when clicking on category image, it shows blank page and 'You are not authorized to do this action Please login.' is still not fixed.

Thanks,

almarjin
almarjin
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Nov 2011, 06:59

Re: Category not showing on other languages and lightbox

Post by almarjin »

It's now showing on all languages. I just need to manually set all images to appear on all languages using this query in MySQL update #__phocagallery set language = '*' where id > 0

I think the migration from Joomla 1.5.26 to 2.5.14 caused this issues.

Thanks,

almarjin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category not showing on other languages and lightbox

Post by Jan »

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