Muito bom tutorial, parabéns!
- Fórum
- OTServ
- Tutoriais
- Tutoriais de Websites
- [Tutorial]Criando Website Com Xampp
[Tutorial]Criando Website Com Xampp
Por ultimate1996, 04 de jun. de 2011 em Tutoriais de Websites
info
Grupo: Marquês
Registrado: 26/02/12
Posts: 1.1k
Reputação: +369
Gênero: Masculino
Char no Tibia: Tibjohiand Tito

o Xampp ta dando um erro na parte do Achape, tipo eu boto em start aparece Running depois de uns 3 segundos o running sai :s
se Alguem puder postar a pasta do seu xampp no 4shared ficarei grato !
Certifique-se se você mudou as portas do 80 pro 8090.
Caso não queia, tem que ver se o TeamViewer ou Skype esta aberto em seu computador, esses são os programas que eu conheço que impedem o uso da porta 80 no apache.
Editado Setembro 19 por Spectrusz
info
Grupo: Campones
Registrado: 09/09/12
Posts: 28
Reputação: 0
Char no Tibia: Bluetone Devay

eu tava com o skype mesmo IRAIRIAIRAIR !
Agora é o Mysql @#$% MERDA !
ja reinstalei e agora ta tudo certinho valeu
Ai Rapaziada eu já criei meu site mas não sei editar fazer modificações nele e etc,,, se alguém puder me ajudar ficarei grato !
msn:elvis_piriquito@hotmail.com
Skype:Elvis.Rullez
Editado Setembro 19 por Elviis
Pessoal,
fiz tudo agora da esse erro.
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reason' in 'field list'' in C:\xampp\htdocs\pot\OTS_AccountBan.php:55 Stack trace: #0 C:\xampp\htdocs\pot\OTS_AccountBan.php(55): PDO->query('SELECT `id`, `t...') #1 C:\xampp\htdocs\pot\OTS_Account.php(955): OTS_AccountBan->find('1') #2 C:\xampp\htdocs\characters.php(295): OTS_Account->isBanned() #3 C:\xampp\htdocs\index.php(93): include('C:\xampp\htdocs...') #4 {main} thrown in C:\xampp\htdocs\pot\OTS_AccountBan.php on line 55
info
Grupo: Campones
Registrado: 03/09/12
Posts: 92
Reputação: +5

cara ja ta dando vontade de puxar os cabelos da cabeça :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
qd eu instalo a versao 1.6.5 a porra do MySQL nao liga ! cliko pra instalar mais nao liga !
Instalei a versao 3.0.12 funfou tudo lindo '*-* MAIS QD EU DIGITO LOCALHOST NA PORRA DO BAGUI VAI DIRETAMENTE PRA PAGINA DA XAMPP COMO SE EU VOLTASSE TUDO DO INICIO PRA ARRUMAR AS SENHAS, SENDO QUE SE EU FOR LÁ JA TA TUDO CONFIGURADO CERTO, DESISTALEI ESSE 3.0.12, COLOQUEI O 1.6.5, FUNFOU. MAIS QD ABRO O MYSQL ABRE TIPO UM BAGUI DE SEMAFORO PQP COMO UMA VERSAO ANTIGA DO MYSQL, NAO PEGA SENHA E FICA DANDO ERRO SEM PARAR VOLTEI PRA 3.0.12 AGORA TOU COM ESSA E NAO SEI NEM SE VAI DA O ERROR DO QUE C POSTOU LÁ EM CIMA, JA MUDEI O HTDOCS COLOQUEI DO MEU OT MAIS MESMO ASSIM NAO VAI :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ VONTADE DE PUXAR OS CABELOOOOOOOOOOOOS :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
info
Grupo: Herói
Registrado: 23/12/08
Posts: 2.4k
Reputação: +359
Gênero: Masculino
Char no Tibia: Gordo Warlike

Fixado por ser o melhor tutorial de instalação de Gesior do Forum!
Espero que ajude muitos outros, como já vem ajudado!
cara ja ta dando vontade de puxar os cabelos da cabeça :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
qd eu instalo a versao 1.6.5 a porra do MySQL nao liga ! cliko pra instalar mais nao liga !
Instalei a versao 3.0.12 funfou tudo lindo '*-* MAIS QD EU DIGITO LOCALHOST NA PORRA DO BAGUI VAI DIRETAMENTE PRA PAGINA DA XAMPP COMO SE EU VOLTASSE TUDO DO INICIO PRA ARRUMAR AS SENHAS, SENDO QUE SE EU FOR LÁ JA TA TUDO CONFIGURADO CERTO, DESISTALEI ESSE 3.0.12, COLOQUEI O 1.6.5, FUNFOU. MAIS QD ABRO O MYSQL ABRE TIPO UM BAGUI DE SEMAFORO PQP COMO UMA VERSAO ANTIGA DO MYSQL, NAO PEGA SENHA E FICA DANDO ERRO SEM PARAR VOLTEI PRA 3.0.12 AGORA TOU COM ESSA E NAO SEI NEM SE VAI DA O ERROR DO QUE C POSTOU LÁ EM CIMA, JA MUDEI O HTDOCS COLOQUEI DO MEU OT MAIS MESMO ASSIM NAO VAI :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ VONTADE DE PUXAR OS CABELOOOOOOOOOOOOS :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Conselho use Xampp 1.7.3!
info
Grupo: Campones
Registrado: 14/11/11
Posts: 10
Reputação: 0
Char no Tibia: Paladin Faster

ake ta dando este erro alguem sabe como arrumar?
Warning: Error parsing C:/Refugia/config.lua on line 17 in C:\xampp\htdocs\install.php on line 135
File config.lua loaded from C:/Refugia/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.
È erro do config.lua?
Editado Setembro 30 por williamsd
ake ta dando este erro alguem sabe como arrumar?
Warning: Error parsing C:/Refugia/config.lua on line 17 in C:\xampp\htdocs\install.php on line 135
File config.lua loaded from C:/Refugia/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.
È erro do config.lua?
Tente por somente C:/Refugia/
Ou verifique-se se você retirou os --- (traços) do seu config.lua
info
Grupo: Campones
Registrado: 14/11/11
Posts: 10
Reputação: 0
Char no Tibia: Paladin Faster

olhe como esta meu config.lua...está correto? tem q apagar todos os traços (--) antes das linhas?
accountManager = "yes"
namelockManager = "no"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 0
newPlayerSpawnPosY = 0
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 4
generateAccountNumber = "no"
-- NOTE: *Banishment and *BlackSkull variables are >summed up<
-- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
-- *RedSkull equivalents.
-- Auto banishing works only if useBlackSkull set to negative.
-- advancedFragList is not advised if you use huge frags
-- requirements.
redSkullLength = 4 * 17 * 17 * 17
blackSkullLength = 4 * 24 * 60 * 60
dailyFragsToRedSkull = 5
weeklyFragsToRedSkull = 25
monthlyFragsToRedSkull = 100
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 100
blackSkulledDeathMana = 35
useBlackSkull = true
useFragHandler = true
advancedFragList = false
-- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment
-- killsBanLength works only if useBlackSkull option is disabled.
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 1 * 24 * 60 * 60
killsBanLength = 1 * 24 * 60 * 60
finalBanLength = 1 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = true
-- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
-- loginProtectionPeriod is the famous Tibia anti-magebomb system.
-- deathLostPercent set to nil enables manual mode.
worldType = "pvp"
protectionLevel = 300
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 30 * 500
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = false
removeWeaponCharges = false
removeRuneCharges = "no"
whiteSkullTime = 15 * 60 * 100
noDamageToSameLookfeet = false
showHealingDamage = true
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 100
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 100
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 11237
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true
worldId = 0
ip = "177.4.127.131"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 1000
retryTimeout = 50000 * 100000000
loginTimeout = 60000 * 10000000
maxPlayers = 223
motd = "Refugia OTSERV"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = false
allowClones = false
serverName = "Refugia"
loginMessage = "Bem Vindo ao servidor Refugia"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = true
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "m99p927b"
sqlDatabase = "refugiaserv"
sqlFile = "refugiaserv.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5
ingameGuildManagement = true
levelToFormGuild = 100
premiumDaysToFormGuild = 0
guildNameMinLength = 1
guildNameMaxLength = 200
highscoreDisplayPlayers = 200
updateHighscoresAfterMinutes = 1
buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 200
housesPerAccount = 1
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 1000
houseRentPeriod = "never"
houseCleanOld = 1
guildHalls = false
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500
-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
-- useHouseDataStorage usage may be found at README.
mapName = "xedegux"
mapAuthor = "GeeH"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"
-- NOTE: defaultPriority works only on Windows and niceLevel on *nix
-- coresUsed are seperated by comma cores ids used by server process,
-- default is -1, so it stays untouched (automaticaly assigned by OS).
defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false
maxMessageBuffer = 15
bufferMutedOnSpellFailure = false
-- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
-- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)
dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
addonsOnlyPremium = false
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = true
spellNameInsteadOfWords = false
emoteSpells = false
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 24
separateViplistPerCharacter = false
ghostModeInvisibleEffect = false
ghostModeSpellEffects = true
idleWarningTime = 899 * 420 * 4000
idleKickTime = 900 * 400 * 4000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0
freePremium = true
premiumForPromotion = true
-- NOTE: blessingReduction* regards items/containers loss.
-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
blessingOnlyPremium = false
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 10
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
-- rateExperienceFromPlayers 0 to disable.
experienceStages = "yes"
rateExperience = 2000
rateExperienceFromPlayers = 0.1
rateSkill = 1000.0
rateMagic = 500.0
rateLoot = 2
rateSpawn = 2
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0
-- NOTE: min~Threshold* set to 0 will disable the minimum threshold:
-- player will gain experience from every lower leveled player.
-- max~Threshold* set to 0 will disable the maximum threshold:
-- player will gain experience from every higher leveled player.
minLevelThresholdForKilledPlayer = 0
maxLevelThresholdForKilledPlayer = 0
-- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
-- rateStaminaHits multiplies every hit done a creature, which are later
-- multiplied by player attack speed.
-- rateStaminaGain is divider of every logged out second, eg:
-- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.
-- rateStaminaThresholdGain is divider for the premium stamina.
-- staminaRatingLimit* is in minutes.
rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true
-- NOTE: experienceShareLevelDifference is float number.
-- experienceShareLevelDifference is highestLevel * value
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 1 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 10
experienceShareActivity = 20 * 600 * 10000
-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system please check out data/globalevents/globalevents.xml.
globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false
deSpawnRange = 2
deSpawnRadius = 50
maxPlayerSummons = 2
teleportAllSummons = true
teleportPlayerSummons = true
serverNameInScroll = "RiotServer"
hostNameInScroll = "Gean Riot"
Account = "admin"
Password = "god"
IpHost = "184.82.89.59"
Account = "GOD"
Password = "GOD"
Name = "GOD Jack"
ID = "2"
Health = "1,000,00"
ownerName = "[GOD] Rock Slayer"
ownerEmail = "gean_riot@hotmail.com"
url = "www.perdicharglobal.com"
location = "Brazil"
displayGamemastersWithOnlineCommand = true
-- Logs
-- NOTE: This kind of logging does not work in GUI version.
-- For such, please compile the software with __GUI_LOGS__ flag.
adminLogsEnabled = true
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false
info
Grupo: Campones
Registrado: 03/09/12
Posts: 92
Reputação: +5

retire todos os " -- " só os traços,
mais ou menos assim
ownerName = "[GOD] Rock Slayer"
ownerEmail = "gean_riot@hotmail.com"
url = "www.perdicharglobal.com"
location = "Brazil"
displayGamemastersWithOnlineCommand = true
Logs
NOTE: This kind of logging does not work in GUI version.
For such, please compile the software with __GUI_LOGS__ flag.
adminLogsEnabled = true
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false
vou da um tempo com o site, vou terminar o mapa primeiro pra depois mexer no web site, pois me deu uma raiva com todos os bugs e etc que nem tao cedo quero tocar nisso dinovo '-'
Editado Setembro 30 por ewertonsilva157
info
Grupo: Campones
Registrado: 14/11/11
Posts: 10
Reputação: 0
Char no Tibia: Paladin Faster

continua dando o msm erro.... ![]()
Alguém sabe como resolver?
info
Grupo: Campones
Registrado: 27/08/12
Posts: 12
Reputação: 0
Char no Tibia: Lord Matador

GENTE POR FAVOR ALGUEM ME AJUDA AEW DOU 2 REP+
TA DANDO ESSE ERRO AKI ALGUEM ME AJUDA AI O ERRO
ERRO: A string para o nome de usuário e a senha devem ter pelo menos três (3) characteres e não mais que quinze (15) caracteres. Caracteres especiais tal como <öäü (usw.) e caracteres em branco não são permitidos!
GENTE POR FAVOR ALGUEM ME AJUDA AEW DOU 2 REP+
TA DANDO ESSE ERRO AKI ALGUEM ME AJUDA AI O ERRO
ERRO: A string para o nome de usuário e a senha devem ter pelo menos três (3) characteres e não mais que quinze (15) caracteres. Caracteres especiais tal como <öäü (usw.) e caracteres em branco não são permitidos!
ALGUEM SABE COMO ARRUMA ADD MSN AEW
GUSTAVINHOMALANDRO@LIVE.COM
info
Grupo: Herói
Registrado: 23/12/08
Posts: 2.4k
Reputação: +359
Gênero: Masculino
Char no Tibia: Gordo Warlike

GENTE POR FAVOR ALGUEM ME AJUDA AEW DOU 2 REP+
TA DANDO ESSE ERRO AKI ALGUEM ME AJUDA AI O ERRO
ERRO: A string para o nome de usuário e a senha devem ter pelo menos três (3) characteres e não mais que quinze (15) caracteres. Caracteres especiais tal como <öäü (usw.) e caracteres em branco não são permitidos!
GENTE POR FAVOR ALGUEM ME AJUDA AEW DOU 2 REP+
TA DANDO ESSE ERRO AKI ALGUEM ME AJUDA AI O ERRO
ERRO: A string para o nome de usuário e a senha devem ter pelo menos três (3) characteres e não mais que quinze (15) caracteres. Caracteres especiais tal como <öäü (usw.) e caracteres em branco não são permitidos!
ALGUEM SABE COMO ARRUMA ADD MSN AEW
GUSTAVINHOMALANDRO@LIVE.COM
Conteudo auto explicativo, nao pode conter menos de 3 caracteres e nem mais de 15 para nome de char! ¬¬
info
Grupo: Campones
Registrado: 03/09/12
Posts: 92
Reputação: +5

pior que nao é nome do char, é o do xampp qd vc entra no site pra por uma senha...





info
Grupo: Campones
Registrado: 09/09/12
Posts: 28
Reputação: 0
Char no Tibia: Bluetone Devay
o Xampp ta dando um erro na parte do Achape, tipo eu boto em start aparece Running depois de uns 3 segundos o running sai :s
se Alguem puder postar a pasta do seu xampp no 4shared ficarei grato !