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;"> </td>
........................
There is this additional slash in the middle of the url after the www.
http://www./domainname.it/public/themes/default/logo.gifand I can't make it go away, I tryed everything I could think...
Any suggestion?
Thank you in advance