Jump to content
V3ct0r

PKOdev.NET website for Tales of Pirates Server

Recommended Posts

i cant even connect to mysql on xampp what is wrong i try to go phpadmin localhost but i get this error.

Namnlös.png

Share this post


Link to post
Share on other sites
3 hours ago, Mesut said:

i cant even connect to mysql on xampp what is wrong i try to go phpadmin localhost but i get this error.

Namnlös.png

You need to run xampp as admin, install/start apache and mysql module first.

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello @Mesut,

 

1) You do not need MySQL for this website, but MSSQL and SQLite;

2) I didn't run the website on XAMPP, but used a manual build of Apache + PHP 7;

3) Put the website files to the htdocs folder.


Share this post


Link to post
Share on other sites

Здравствуйте на Вашем веб сайте не меняется профессия всегда пишет Newbie использую сервер 

PKO 1.38 [RUS] Автор MrSharp 

как поправить?

 

spacer.png

Share this post


Link to post
Share on other sites

Привет, @small666!

 

Открой файл inc.functions.lua (папка include) и отредактируй функции getJobIdByName() и getJobNameById(). В них нужно прописать названия профессий как они у тебя записываются в GameDB в таблицу character.

  • Like 1

Share this post


Link to post
Share on other sites
On 4/15/2022 at 12:10 AM, kenkas15 said:

"

Ooops!

A critical error has occurred!

PDO error when working with database: could not find driver "

 

What's going on? help me pls

 

 

Hello!

 

The error means that there are no some PDO drivers (sqlsrv, sqlite) for PHP installed on the your webserver. These drivers are required for the website functioning.

On 5/29/2021 at 10:23 PM, V3ct0r said:

Requirements

1) Web server;

2) PHP version 7.0 and above;

3) Enabled PDO extension with sqlsrv and sqlite drivers.


Share this post


Link to post
Share on other sites

Привет V3ct0r. Я понимаю что это просто моя лень и можно перевести все но все-же можете выложить и на русском языке раз уж есть на английском в доступе 😉

Edited by small666

Share this post


Link to post
Share on other sites

Hello @dragontechi,

 

Can you describe step by step what you are doing? The date cannot be taken from user's computer, check the timezone in your web server settings.


Share this post


Link to post
Share on other sites
1 hour ago, V3ct0r said:

Hola@dragontechi,

 

¿Puedes describir paso a paso lo que estás haciendo? La fecha no se puede tomar de la computadora del usuario, verifique la zona horaria en la configuración de su servidor web.

 

I will send you the config file that was the only thing that config of the web by private

Share this post


Link to post
Share on other sites

Hello @dragontechi,

 

On 9/6/2022 at 5:45 PM, V3ct0r said:

Can you describe step by step what you are doing?

Can you describe how to get a 404 error when going to the login page?

 

23 hours ago, dragontechi said:

I will send you the config file that was the only thing that config of the web by private

This time on the video can't be user's time.  Open the file inc.block.serverstatus.php and go to line 70:

$smarty->assign('server_time', date('H:i m/d/Y', time()));

This indicates that the time is taken from the server.

 

Check your webserver timezone settings.

 

OR

 

try to put this function at the beggining of the index.php file:

date_default_timezone_set(timezone)

where timezone is the name of one of supported timezones.

 

OR

 

Rewrite the script inc.block.serverstatus.php and use DateTime class instead of date()/time() functions.

  • Thanks 1

Share this post


Link to post
Share on other sites
12 minutes ago, V3ct0r said:

Hello @dragontechi,

 

Can you describe how to get a 404 error when going to the login page?

 

This time on the video can't be user's time.  Open the file inc.block.serverstatus.php and go to line 70:

$smarty->assign('server_time', date('H:i m/d/Y', time()));

This indicates that the time is taken from the server.

 

Check your webserver timezone settings.

 

OR

 

try to put this function at the beggining of the index.php file:

date_default_timezone_set(timezone)

where timezone is the name of one of supported timezones.

 

OR

 

Rewrite the script inc.block.serverstatus.php and use DateTime class instead of date()/time() functions.

ok in a few minutes i will check

 

Share this post


Link to post
Share on other sites
5 hours ago, V3ct0r said:

Hola@dragontechi,

 

¿Puede describir cómo obtener un error 404 al ir a la página de inicio de sesión?

 

Esta hora en el video no puede ser la hora del usuario. Abra el archivo  inc.block.serverstatus.php y vaya a la línea 70 :


 

Esto indica que la hora se toma del servidor.

 

Verifique la configuración de la zona horaria de su servidor web.

 

O

 

intente poner esta función al principio del archivo index.php :


 

donde  timezone es el nombre de una de las zonas horarias admitidas .

 

O

 

Vuelva a escribir el script  inc.block.serverstatus.php  y use la clase DateTime en lugar de las funciones date()/time().

 

 

It works for me only by placing date_default_timezone_set('America/Santo_Domingo');image.png.a171261103337fb63a0746fac2c65d5c.pngMe funciona 

 

 

Edited by dragontechi
farta de infomacion

Share this post


Link to post
Share on other sites

Hello @Mesut,

 

Google -> The error message text. This is not a website-specific error.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...