1
arrakis
Weird slash in the middle of the xoops url
  • 2004/10/1 12:38

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hi all, i did a migration of a XOOPS portal from a server to another server, I was worring much for the MySQL export-import but it was all fine, and now I got blocked in very strange problem that I can't find the solution.

In mainfile.php i have this:

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', 'd:/inetpub/webs/domainname/public');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.domainname.com/public');

"public" is the only directory where I, as user of a shared hosting, can change chmod to dirs so i have to work there.

Of course instead of "domainname" i have the real name of the site.

Everything works fine, the db connection is ok, I get the first page of the site, but after the first page the whole site (even the login) cannot be used, because every url inside the html code has a slash inside, like that:

<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="content-language" content="it" />
<title></title>
<link rel="stylesheet" type="text/css" media="all" href="http://www./domainname.it/public/xoops.css" />

</head>
<body>
<table cellspacing="0">
<tr id="header">
<td style="width: 150px; background-color: #2F5376; vertical-align: middle; text-align:center;"><a href="http://www./domainname.it/public/"><img src="http://www./domainname.it/public/themes/default/logo.gif" width="150" alt="" /></a></td>
<td style="width: 100%; background-color: #2F5376; vertical-align: middle; text-align:center;">&nbsp;</td>

........................


There is this additional slash in the middle of the url after the www.

http://www./domainname.it/public/themes/default/logo.gif

and I can't make it go away, I tryed everything I could think...

Any suggestion?

Thank you in advance


2
Herko
Re: Weird slash in the middle of the xoops url
  • 2004/10/1 12:56

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


have you updated the system module? (system admin -> modules, clik 'update icon' behind system module...)

herko

3
arrakis
Re: Weird slash in the middle of the xoops url
  • 2004/10/1 13:00

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Quote:

Herko Coomans wrote:
have you updated the system module? (system admin -> modules, clik 'update icon' behind system module...)

herko

I can't update because I can't make the login. If i try to send user and password when it redirects me XOOPS uses the strange url http://www./domain... so I can't do anything

I think (as intuition) that it has something to do to mainfile.php but I cannot find the solution.

4
arrakis
FIXED: Weird slash in the middle of the xoops url
  • 2004/10/1 14:07

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Funny, I only went away from office and came back after 1 hour, leaving everything exactly as explained before, I did "reload" the page and everything was fine. Now I have really no idea of what could be the cause of that very strange thing, but I guess now that was not my or XOOPS fault, since, with the exact same files and conf, before there was a problem and now is disappeared... maybe was some strange setting on the server or something like that...

Login

Donat-O-Meter

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