ezPortal guide stämmer ej, behöver hjälp.
Moderatorer: Moderatorgrupp, Supportgrupp
ezPortal guide stämmer ej, behöver hjälp.
Jag har lyckats installera phpBB2 och nu vill jag använda mig av ezPortal som första sida.
Men när jag följer guiden så upptäcker jag att koden inte är den samma som i guiden och det ställer till det lite för mig. Har grundläggande HTML kunskaper men inga PHP kunskaper.
Vad jag undrar är om någon kan fixa filerna åt mig enligt den här guiden eller förklara för mig vart jag ska ändra så det inte blir fel.
Prova detta istället:
http://smartor.is-root.com/viewtopic.php?t=1860
Ingen support via PM!
Har följt guiden och lagt en index.html fil i /public_html mappen på ftp servern. I html filen la jag till texten:
<html>
<head>
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;url=phpBB2/portal.php">
</head>
<body>
</body>
</html>
Enligt guiden. Min ftp ser ut som så att phpBB2 root mappen ligger i /public_html mappen. Enligt guiden skulle jag skriva det som står övanför. Så här står det:
HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
# You can use one of the following methods! Lots of luck!
#
#
# o Method 1: (for Apache server)
# create/modify file .htaccess in phpBB root directory
# add/edit this line:
#
# DirectoryIndex index.html index.htm portal.php index.php
#
#
# o Method 2: {use META tag - if you cannot apply the 1st method)
# create file index.html in phpBB root directory (without #)
#
# <html>
# <head>
# <title>Redirecting...</title>
# <meta http-equiv="refresh" content="0;url=portal.php">
# </head>
# <body>
# </body>
# </html>
#
# if your phpBB was placed in a subdirectory to the
# webroot, like: http://something.com/forum
# you could create index.html in the webroot and modify the
# line 4 to <meta http-equiv="refresh" content="0;url=forum/portal.php">
Metod 1 förstod jag inte riktigt men tror att det är metod 2 jag ska gå på så har gjort som dem sagt men problemet kvarstår.
Tacksam för hjälp.
Edit: Jag hittade .htaccess i kontrollpanelen på webkontot och la till texten:
DirectoryIndex index.html index.htm portal.php index.php
Sen testade jag igen med hemsidan och det funkade inte utan kom till samma sida som innan. Testade med att ta bort index.html men det är som innan
Kod: Markera allt
<html>
<head>
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;url=http://www.adress.se/phpBB2/portal.php">
</head>
<body>
</body>
</html>
Ingen support via PM!
Edit: Om jag skriver http://adress.se/phpBB2 så pch klickar enter kommer jag till http://adress.se/phpBB2/phpBB2/portal.php skumt?
Kod: Markera allt
DirectoryIndex phpBB2/portal.php index.html index.htm index.phpOm det inte funkar så ta bort portal.php ur .htaccess och prova med mitt förslag en gång till ...
Se till att det endast finns ANTINGEN
index.html
ELLER
index.htm
ELLER
index.php
med redirect i /public_html/ mappen
Ingen support via PM!
Vilka är online
Användare som besöker denna kategori: 6 och 0 gäster


