[phpBB3] Gallery not working

Technical difficulties? Ask for help here.

[phpBB3] Gallery not working

Postby redtogreen » Tue Nov 08, 2011 1:37 pm

I run IIS 7.5 and have installed and activated the SEO pack.

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
redtogreen
 
Posts: 9
Joined: Tue Nov 08, 2011 1:31 pm

Re: [phpBB3] Gallery not working

Postby redtogreen » Tue Nov 08, 2011 1:48 pm

I have partially answered this myself!

IIS needs a .htaccess rule set to be imported from each sub folder.

How can I generate .htaccess for my /gallery folder?

Thanks
redtogreen
 
Posts: 9
Joined: Tue Nov 08, 2011 1:31 pm

Re: [phpBB3] Gallery not working

Postby ~J~ » Tue Nov 08, 2011 1:57 pm

We were unable to reproduce this issue on your site. Pleas re-enable MSU and let us know as soon as you do it.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [phpBB3] Gallery not working

Postby redtogreen » Wed Nov 09, 2011 12:59 am

OK it's done.

Site works apart from /gallery
redtogreen
 
Posts: 9
Joined: Tue Nov 08, 2011 1:31 pm

Re: [phpBB3] Gallery not working

Postby redtogreen » Wed Nov 09, 2011 3:24 am

The setup is as follows:

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
redtogreen
 
Posts: 9
Joined: Tue Nov 08, 2011 1:31 pm

Re: [phpBB3] Gallery not working

Postby ~J~ » Wed Nov 09, 2011 9:17 am

We have checked your site and everything is seems to be working fine.

Sorry for ignorance... but can you please post us step-by-step instructions how to reproduce the problem on your site? Thank you.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [phpBB3] Gallery not working

Postby redtogreen » Fri Nov 11, 2011 9:57 am

It isn't working, it's just a workaround.

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
redtogreen
 
Posts: 9
Joined: Tue Nov 08, 2011 1:31 pm

Re: [phpBB3] Gallery not working

Postby ~J~ » Fri Nov 11, 2011 3:42 pm

Please try to change the installation line in common.php to:

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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [phpBB3] Gallery not working

Postby redtogreen » Sat Nov 12, 2011 1:56 am

When I changed the code url/gallery worked but root url didn't and threw some PHP path not found errors.

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!
redtogreen
 
Posts: 9
Joined: Tue Nov 08, 2011 1:31 pm

Re: [phpBB3] Gallery not working

Postby ~J~ » Sat Nov 12, 2011 7:44 am

I do not see a problem with original code. It should work fine.

Please post error messages you see when you apply it. Thanks.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Next

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 10 guests