Page 1 of 2

[phpBB3] Gallery not working

Posted: Tue Nov 08, 2011 2:37 pm
by redtogreen
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

Re: [phpBB3] Gallery not working

Posted: Tue Nov 08, 2011 2:48 pm
by redtogreen
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

Re: [phpBB3] Gallery not working

Posted: Tue Nov 08, 2011 2:57 pm
by inveo
We were unable to reproduce this issue on your site. Pleas re-enable MSU and let us know as soon as you do it.

Re: [phpBB3] Gallery not working

Posted: Wed Nov 09, 2011 1:59 am
by redtogreen
OK it's done.

Site works apart from /gallery

Re: [phpBB3] Gallery not working

Posted: Wed Nov 09, 2011 4:24 am
by redtogreen
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

Re: [phpBB3] Gallery not working

Posted: Wed Nov 09, 2011 10:17 am
by inveo
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.

Re: [phpBB3] Gallery not working

Posted: Fri Nov 11, 2011 10:57 am
by redtogreen
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

Re: [phpBB3] Gallery not working

Posted: Fri Nov 11, 2011 4:42 pm
by inveo
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.

Re: [phpBB3] Gallery not working

Posted: Sat Nov 12, 2011 2:56 am
by redtogreen
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!

Re: [phpBB3] Gallery not working

Posted: Sat Nov 12, 2011 8:44 am
by inveo
I do not see a problem with original code. It should work fine.

Please post error messages you see when you apply it. Thanks.

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

I am loving the speed! Hope this helps bounce rate and more sales :)

Andy, the owner of Lipgloss Clubwear

Magic SEO URLs for osCommerce are amazing product, helps my site a lot with SEO. The biggest advance of Magic SEO URLs is excellent service support. I know what I'm talking about because I had already bought web software from about 10 different companies. Magic SEO URLs is the best one. Keep the quality of the product and service and...

Jacek, the owner of Agro-Modele.pl

More Testimonials »