1
virusexpert
Trailing Slash Needed
  • 2004/6/16 14:19

  • virusexpert

  • Just popping in

  • Posts: 3

  • Since: 2004/6/16


I was able to install and configure XOOPS 2.06, but am having an issue with the redirection to the homepage when users click on the top left graphic. Example on this site is the XOOPS Just use it! graphic, as you can see it points tohttps://xoops.org/. On my site it does not have the trailing slash. So I havehttp://www.mysite.com/xoops with no slash. This causes HTTP 500 - Internal server error
Internet Explorer
The page cannot be displayed

With the trailing slash,http://www.mysite.com/xoops/ everything works great. Where do I add the / so my page will load when users click the graphic?

Thanks

2
tl
Re: Trailing Slash Needed
  • 2004/6/16 14:27

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

<body>
<table cellspacing="0">
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>

Check your theme.html to see if there is a slash after <{$xoops_url}>

Based on what have described, your server seems to be misconfigured.

3
virusexpert
Re: Trailing Slash Needed
  • 2004/6/16 14:36

  • virusexpert

  • Just popping in

  • Posts: 3

  • Since: 2004/6/16


It seems to, I'm using the default theme.

<table cellspacing="0">
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>

The only difference may be that I have XOOPS in a subdirectory so it's www.mysite.com/xoops


4
tl
Re: Trailing Slash Needed
  • 2004/6/16 14:43

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


If everything else works fine, then your server is likely misconfigured. You need to sort it out with your host.

5
virusexpert
Re: Trailing Slash Needed
  • 2004/6/16 14:54

  • virusexpert

  • Just popping in

  • Posts: 3

  • Since: 2004/6/16


I was wrong, I had x2t theme selected. The default theme works perfect, it's the x2t theme that does not. I edited the themes.html and added the missing /, but it did not seem to help.

The problem seems to only be with x2t.

Thanks

6
sunsnapper
Re: Trailing Slash Needed

This reminds me of an installation problem I just had.

The install asks for a virtual path with no trailing slash. The particular server I was using had no physical path, so it was at the root. But, since a "/" was not supposed to be entered... and since the install would not allow me to leave it blank, I input a "space" character.

Then, after the install was done, I edited the mainfile to so that the physical path was ""

I thought that's what this thread was going to be about.

Anyways, mainfile.php is the file to edit.

7
tl
Re: Trailing Slash Needed
  • 2004/6/16 15:03

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


I don't know what else to suggest. With or without the slash should not make a difference.

You can tell there is no differences in the following URls
www.xoops.org/modules/news/
www.xoops.org/modules/news

www.xoops.org
www.xoops.org/


8
Stewdio
Re: Trailing Slash Needed
  • 2004/6/16 15:12

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Quote:

virusexpert wrote:
I edited the themes.html and added the missing /, but it did not seem to help.

The problem seems to only be with x2t.

Thanks


Update module template .html files from themes/your theme/templates directory. You can set this is System Admin->Preferences->General

View Image

If this option is enabled, module template .html files will be updated automatically if there are newer files under the themes/your theme/templates directory for the current theme. This should be turned off once the site goes public. Remember: If you are editing the theme.html and style.css files in your themes folder and nothing appears to change, you must set this option to Yes


Login

Who's Online

211 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits