Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] ENGLISH PowerWeb 3.0 - Updated for 4.7.5 server files

Newbie Spellweaver
Joined
Jul 18, 2012
Messages
30
Reaction score
6
Error 500
Error 500 mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

everytime try to use reg php
 
Put Community First
Loyal Member
Joined
Oct 2, 2014
Messages
1,113
Reaction score
832
Error 500
Error 500 mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

everytime try to use reg php

Do you have a PHP mail server set up? If not it won't send the mail by that method. Just comment out the mail line, the actual account creation should still process.
 
Newbie Spellweaver
Joined
Oct 22, 2013
Messages
54
Reaction score
9
hi, i have a question, about the webshop, for why only add items to admin players? when you buy with normal player you get the mail in game but whithout items..... maybe need to edit some file on the pow 3.0 files? if true, what file need to edit for webshop for normal players?
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
How to remove email activation? Beacuse email is not comming...
 
Newbie Spellweaver
Joined
Jan 29, 2014
Messages
8
Reaction score
0
someone can give picture how to use power web?



tutorial



where do i need to put pow folder?
 
Newbie Spellweaver
Joined
Oct 23, 2011
Messages
28
Reaction score
1
remove email activation

-- ----------------------------
-- Table structure for settings
-- ----------------------------
CREATE TABLE `settings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`access_level_admin` int(4) NOT NULL,
`access_level_editor` int(4) NOT NULL,
`hide_top` int(4) NOT NULL,
`page_news` int(4) NOT NULL,
`page_shop` int(4) NOT NULL,
`page_top` int(4) NOT NULL,
`referal_bonus` int(4) NOT NULL,
`referal_bonus_ref` int(4) NOT NULL,
`referal_enable` int(4) NOT NULL,
`referal_level` int(4) NOT NULL,
`trial_days` int(4) NOT NULL,
`trial_enable` int(4) NOT NULL,
`trial_type` int(4) NOT NULL,
`email_activation` int(4) NOT NULL,
`Players.show_inventory` varchar(16) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

/////////////////
ALTER TABLE `Players`ADD COLUMN `show_location` int(1) NOT NULL DEFAULT 1

ALTER TABLE `account_data`ADD COLUMN `activation` int(1) NOT NULL DEFAULT 1


fixed
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
Tracker, your solution doesnt fix anything.
Account successfully created! Please check your email inbox for the activation link.
Error - incorrect details, or your account is not activated.


How to remove activation from this website? There is no chance to get email from uniserverz.

 
Last edited:
Newbie Spellweaver
Joined
Oct 23, 2011
Messages
28
Reaction score
1
ALTER TABLE `account_data`ADD COLUMN `activation` int(1) NOT NULL DEFAULT 0
Database table "settings" column "activation" Value = 0

fixed
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
Thanks, it works. :)
But looks like my website have something wrong, beacuse full with [h=2]Error 500[/h] Trying to get property of non-object.

Looks like there have to be some kind of php version, cuz i'm using uniserverz.
 
Newbie Spellweaver
Joined
Oct 23, 2011
Messages
28
Reaction score
1
no xml make all manually
C:\xampp\htdocs\themes\default\views\broker.php
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
I have that error in every page... not only in broker.

But, what i have to create manualy...?
I have experience with websites, but something like this i saw first time. :/
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
1. screen is all pages in my account
2. screen is in my account where i click on, "Account"
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Oct 23, 2011
Messages
28
Reaction score
1
query account_data
to 1 by 1

ALTER TABLE `account_data`ADD COLUMN `donatemoney` int(1) NOT NULL DEFAULT 1

ALTER TABLE players ADD `show_inventory` int(1) NOT NULL DEFAULT '1';

ALTER TABLE players ADD `show_location` int(1) NOT NULL DEFAULT '1';
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
Done, but 1st screen error is still in all pages in my account.
 
Newbie Spellweaver
Joined
Oct 23, 2011
Messages
28
Reaction score
1
you had done right the config?
C:\xampp\htdocs\protected\config\config.php
 
Newbie Spellweaver
Joined
Oct 10, 2014
Messages
54
Reaction score
6
Code:
<?php


return array(
    'homeUrl'=>'http://localhost/', // Homepage URL, the slash at the end is required
    'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
    'name'=>'Aion',
    'language' => 'en',
    'theme' => 'default', // Name of the themes folder being used
    
    
    'preload'=>array('log'),
    'import'=>array(
        'application.models.*',
        'application.components.*',
    ),
    'defaultController'=>'news',
    'modules'=>array(
        /*'gii'=>array(
            'class'=>'system.gii.GiiModule',
            'password'=>'aaa',
            'ipFilters'=>array('127.0.0.1','::1'),
        ),*/
    ),
    'components'=>array(
        'user'=>array(
            'allowAutoLogin'=>true,
        ),
        'ih'=>array(
            'class'=>'CImageHandler',
        ),
        'urlManager'=>array(
            'urlFormat'=>'path',
            'showScriptName'=>false,
            'rules'=>require(dirname(__FILE__).'/routes.php'),
        ),
        
        // Cache
        //'cache'=>array(
        //    'class'=>'CDbCache',
        //),
        
        // Database connection settings
        'db'=>array(
            'connectionString' => 'mysql:host=localhost;dbname=pow', // Database connection string
            'emulatePrepare' => true,
            'username' => 'root',
            'password' => 'mypassword',
            'charset' => 'utf8',
            'enableProfiling' => true,
            'enableParamLogging'=>true,
            //'schemaCachingDuration'=>3600, // cache time, sec
        ),
        'gs'=>array(
            'class'=>'CDbConnection',
            'connectionString' => 'mysql:host=localhost;dbname=ac47_server_gs', // Database gameserver connection string
            'emulatePrepare' => true,
            'username' => 'root',
            'password' => 'mypassword',
            'charset' => 'utf8',
            'enableProfiling' => true,
            'enableParamLogging'=>true,
            //'schemaCachingDuration'=>3600, // cache time, sec
        ),
        // Логинсервер
        'ls'=>array(
            'class'=>'CDbConnection',
            'connectionString' => 'mysql:host=localhost;dbname=ac47_server_ls', // Database loginserver connection string
            'emulatePrepare' => true,
            'username' => 'root',
            'password' => 'mypassword',
            'charset' => 'utf8',
            'enableProfiling' => true,
            'enableParamLogging'=>true,
            //'schemaCachingDuration'=>3600, // cache time, sec
        ),
        'session' => array(
            'class' => 'application.components.MyCDbHttpSession',
            'connectionID' => 'db',
            'sessionTableName'  =>  'session',
            'autoCreateSessionTable' => false,
            'compareIpAddress'=>true,
            'compareUserAgent'=>true,
            'compareIpBlocks'=>0
        ),
        
        'errorHandler'=>array(
            'errorAction'=>'site/error',
        ),
        
        'log'=>array(
            'class'=>'CLogRouter',
            'routes'=>array(
                array(
                    'class'=>'CFileLogRoute',
                    'levels'=>'error, warning',
                    //'class'=>'CProfileLogRoute',  // Log
                    //'report'=>'summary', // Log
                ),
                /* Log
                array(
                    'class'=>'CWebLogRoute',
                ),
                */
            ),
        ),
    ),
    
    
    // Прочие настройки
    'params'=>array(
        'adminEmail' =>        'admin@myemail.com',    // Admin email address
        'money' =>            'donatemoney',        // Database column for donations
        'version' =>        '3.0',
    ),
);
 
Newbie Spellweaver
Joined
Oct 23, 2011
Messages
28
Reaction score
1
the database is correct ?
dbname=pow
dbname=ac47_server_gs
dbname=ac47_server_ls
in navicate
 
Back
Top