Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    280
    Plugin Contributions
    0

    Default phpBB link has a double //

    Hey there,
    for some reason the phpBB install path has a double // in it so the link is going 404

    /wickedstuff//wickedsymposium/index.php

    any ideas where i can fix this please?
    Thanks
    :imagination:cogitation:realisation:
    www.chalbys.com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: phpBB link

    Probably in the PHPBB setting in your /includes/configure.php file.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    280
    Plugin Contributions
    0

    Default Re: phpBB link has a double //

    the configure.php has this

    define('DIR_WS_PHPBB', '/home/wickedvi/public_html/wickedsymposium/');


    so not sure where the // is coming from

    Any thoughts?
    Thanks

    Actually the phpBB is not under the file folder wickedstuff but under its own folder under /home/wickedvi/public_html/wickedsymposium

    the URL that is 404 is
    http://www.wickedviolin.com/wickedst...sium/index.php

    where as the actual link is

    http://www.wickedviolin.com/wickedsymposium/index.php

    so is there another variable contributing to the incorrect filepath?

    Thanks
    Last edited by Prellyan; 15 Aug 2008 at 05:26 AM.
    :imagination:cogitation:realisation:
    www.chalbys.com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: phpBB link has a double //

    To make the // become just / try removing the trailing / from your DIR_WS_PHPBB define value.

    Or, if you don't like the URL it's generating (because it makes assumptions about being located within your store site), just type in your own direct URL in the template that outputs the link you don't like.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    280
    Plugin Contributions
    0

    Default Re: phpBB link has a double //

    If i put in

    define('DIR_WS_PHPBB', '/home/wickedvi/public_html/wickedsymposium');

    without the trailing / i get

    http://www.wickedviolin.com/wickedst...sium/index.php

    with the double //

    if i replace the ''/home/wickedvi/public_html/wickedsymposium/' with a direct filepath of

    http://www.wickedviolin.com/wickedsymposium/index.php

    the forum link disappears from the Zencart

    is my syntax ok or i have messed that up?

    or do i need to edit the *._tpl file - if so which one?

    Thanks for you help thusfar - hope we can get it sorted
    :imagination:cogitation:realisation:
    www.chalbys.com

  6. #6
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    280
    Plugin Contributions
    0

    Default Re: phpBB link has a double //

    ok i found the sideboxes information and set up a custom folder so now it reads the custom information.php BUT

    the link that is there was

    <a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>

    which i changed to

    <a href="' . zen_href_link($phpBB->phpBB['http://www.wickedviolin.com/wickedsymposium/index.php'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>'

    but this just opens the zencart site index page not the forum page
    :imagination:cogitation:realisation:
    www.chalbys.com

  7. #7
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    280
    Plugin Contributions
    0

    Default Re: phpBB link has a double //

    '<a href="http://www.wickedviolin.com/wickedsymposium/index.php" target="_self">Symposium</a>'

    works instead of

    <a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>

    thanks heaps doc.
    :imagination:cogitation:realisation:
    www.chalbys.com

 

 

Similar Threads

  1. New Cart install has double forward slashes (//)
    By zhenjie in forum General Questions
    Replies: 1
    Last Post: 18 Oct 2010, 07:47 AM
  2. installing PHPBB website address double=404 page not found
    By Makoshark in forum General Questions
    Replies: 2
    Last Post: 28 Mar 2010, 10:17 PM
  3. customer has double gift certificate value
    By etoile03 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 8 Jan 2008, 09:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR