Jump to content

Recommended Posts

I'm using Geria2 CMS (

and some pages are not loading, they just keep "loading.." and dont work.
The pages that are on /users/.... they dont work, as example http://aurora2.com.br/users/register. (this is my website)
If someone has an idea how to fix, send me message.

Link to comment
https://metin2.dev/topic/33307-geria2-cms-not-loading-some-pages/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

On 12/12/2024 at 5:37 PM, dahlemm said:

I'm using Geria2 CMS (

and some pages are not loading, they just keep "loading.." and dont work.
The pages that are on /users/.... they dont work, as example http://aurora2.com.br/users/register. (this is my website)
If someone has an idea how to fix, send me message.

Download the default CMS from metin2cms.cf and take the .htaccess file and put it in your website.

  • 3 weeks later...

The problem is that your table in MySQL account does not have all the columns
also add the web_admin column (so you get access to the admin panel)

path >>  /include/functions/basic.php

	//2.12
	function fix_account_columns()
	{
		global $database;
		global $lang;
		
		$sth = $database->runQueryAccount("DESCRIBE account");
		$sth->execute();
		$columns = $sth->fetchAll(PDO::FETCH_COLUMN);
		
		$fix = array(	"coins" => "ALTER TABLE account ADD coins int(20) NOT NULL DEFAULT 0",
						"jcoins" => "ALTER TABLE account ADD jcoins int(20) NOT NULL DEFAULT 0", 
						"deletion_token" => "ALTER TABLE account ADD deletion_token varchar(40) NOT NULL DEFAULT ''",
						"passlost_token" => "ALTER TABLE account ADD passlost_token varchar(40) NOT NULL DEFAULT ''",
						"email_token" => "ALTER TABLE account ADD email_token varchar(40) NOT NULL DEFAULT ''",
						"new_email" => "ALTER TABLE account ADD new_email varchar(64) NOT NULL DEFAULT ''");
		
		foreach($fix as $column => $query)
			if(!in_array($column, $columns))
			{
				$stmt = $database->runQueryAccount($fix[$column]);
				$stmt->execute();

				print '<div class="alert alert-success alert-dismissible fade show" role="alert"><button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><center>'.$lang['account-new-column'].$column.'</center></div>';
			}
	}

 

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.