Problem with SEF URL

Phoca Gallery - image gallery extension
morgantifr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Aug 2010, 11:47

Problem with SEF URL

Post by morgantifr »

Hello,

I use Phocagallery and congratulations ! this s a great plugin !

But, when i activate the SEF url in joomla configuration ,i've this message when i try to go in the gallery:

ERROR_DEFAULT_404
URI:/index.php/component/phocagallery/category/1

I dont know how to do, i modify the file error.php like this:

Code: Select all

function & raiseError($code, $msg, $info = null)
	{
//PHOCAEDIT
if ($code == '404') {
    include_once( JPATH_ADMINISTRATOR.DS.'components'.DS.
      'com_phocasef'.DS.'helpers'.DS.'phocasef.php' );
    PhocaSefHelper::createUrlEntry();
}
//PHOCAEDIT
		$reference = & JError::raise(E_ERROR, $code, $msg, $info, true);
		return $reference;
	}
And i installed the plugin phocagallery SEF, but i don't know how to use this, to fix the problem...

Could you help me please ?

Thanks :)

Arnaud (sorry for my english, i hope you will understand everything :) )
morgantifr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Aug 2010, 11:47

Re: Problem with SEF URL

Post by morgantifr »

Oh my god, 2 hours im on this problem and i fixed it in 5 seconds just now...

To fixed it, i just modify in SEO parameters (in configuration joomla admin):

Apachemod_rewrite = YES
ADD suffix URL = YES

ANd it works !

Wonderfull !!

Thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Problem with SEF URL

Post by Benno »

Well done! :twisted:
Kind regards,
Benno
Post Reply