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:
















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


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

Who's Online

234 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

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

Latest GitHub Commits