[phpBB3] Gallery not working
-
- Posts: 9
- Joined: Tue Nov 08, 2011 2:31 pm
[phpBB3] Gallery not working
I have generated .htaccess and imported the rules into iis.
I also have gallery installed. When I click on Gallery - nothing!
http://www.comparethekeepnet.com
Uncomment the SEO line in common.php and fine.
The rest of the site seems fine.
Any ideas? Thanks
-
- Posts: 9
- Joined: Tue Nov 08, 2011 2:31 pm
Re: [phpBB3] Gallery not working
IIS needs a .htaccess rule set to be imported from each sub folder.
How can I generate .htaccess for my /gallery folder?
Thanks
Re: [phpBB3] Gallery not working
-
- Posts: 9
- Joined: Tue Nov 08, 2011 2:31 pm
Re: [phpBB3] Gallery not working
Site works apart from /gallery
-
- Posts: 9
- Joined: Tue Nov 08, 2011 2:31 pm
Re: [phpBB3] Gallery not working
PHPBB3, gallery plugin
http://www.comparethekeepnet.com
http://www.comparethekeepnet.com/gallery
re-write rules in .htaccess imported to IIS for top level domain
there are NO re-write rules in /gallery. I deleted them in .htaccess as it was inheriting them from the top level and they were incorrect.
It seems the Gallery folder needs a .htaccess that works with it so I can import it into IIS or just bypassing but that would defeat the object really
Re: [phpBB3] Gallery not working
Sorry for ignorance... but can you please post us step-by-step instructions how to reproduce the problem on your site? Thank you.
-
- Posts: 9
- Joined: Tue Nov 08, 2011 2:31 pm
Re: [phpBB3] Gallery not working
http://www.comparethekeepnet.com works
http://www.comparethekeepnet.com/gallery doesn't
I have put a workaround on the site by changing the link for /gallery to http://www.comparethekeepnet.com/gallery/index.php
I think what I need is a rule that re-writes /gallery to /gallery.php
If I turn off re-writing it all works. Gallery just operates as a folder with its own index.php in
Thanks
Re: [phpBB3] Gallery not working
Code: Select all
if(!defined('ADMIN_START') && basename(dirname($_SERVER['SCRIPT_NAME'])) != 'gallery') include($phpbb_root_path . 'includes/magic_seo_url.'.$phpEx);
and let us know how it helped.
-
- Posts: 9
- Joined: Tue Nov 08, 2011 2:31 pm
Re: [phpBB3] Gallery not working
It seems like it needs a mix of both. Is it possible to do something like
if(!defined('ADMIN_START')):
include($phpbb_root_path . 'includes/magic_seo_url.'.$phpEx);
elseif(!defined('ADMIN_START') && basename(dirname($_SERVER['SCRIPT_NAME'])) != 'gallery'):
include($phpbb_root_path . 'includes/magic_seo_urls.'.$phpEx);
endif;
Can you check the syntax for me!
Re: [phpBB3] Gallery not working
Please post error messages you see when you apply it. Thanks.