1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

1.0.9.8 Ranking Cron dont work

Discussion in 'General Support & Questions' started by justicebz, Jan 12, 2018.

  1. justicebz

    justicebz New Member

    Hi.

    I have a problem with Ranking Cron job, the output is this:
    Code:
    PHP Fatal error:  Class 'Rankings' not found in /public_html/includes/cron/resets_ranking.php on line 18
    
    i didn't make any modification to the original code

    Thanks for your help
     
  2. Lautaro

    Lautaro Administrator Developer

    Do you get that same error when you go to any rankings page?

    Also, are you running the website on XAMPP or linux hosting?
     
  3. justicebz

    justicebz New Member

    No, the rankings pages shows but no data in it, like's the server have no characters (i dont speak very good english, sorry)

    Linux Hosting
     
  4. Lautaro

    Lautaro Administrator Developer

    Got any error_log files in your /includes/cron/ folder?
     
  5. justicebz

    justicebz New Member

    a lot of:
    Code:
    PHP Fatal error:  Class 'Rankings' not found in /public_html/includes/cron/resets_ranking.php on line 18
     
  6. Lautaro

    Lautaro Administrator Developer

    My only guess is that you added cron jobs for each file in the /includes/cron/ directory maybe, am I correct?
     
  7. justicebz

    justicebz New Member

    Yes i added it, but when i are cron_jobs.php the log its the html of the web:

    Code:
    <!DOCTYPE html>
    <html>
            <head>
                    <meta charset="utf-8"/>
                    <title></title>
                    <meta name="generator" content="WebEngine 1.0.9.8"/>
                    <meta name="author" content="Lautaro Angelico"/>
                    <meta name="description" content="Join MU Online! the free-to-play fantasy RPG based on the legendary Continent of MU! Feel the power of forbidden magic! Explore and fight!"/>
                    <meta name="keywords" content="MU, MU online, private server,  private MU online, free to play, mmorpg, auto play, free rpg, Free2Play, PVP, multi client and jewels"/>
                    <link rel="shortcut icon" href="http://CLI/templates/legendary/favicon.ico"/>
                    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
                    <link href="https://fonts.googleapis.com/css?family=Roboto:400,700,300" rel="stylesheet" type="text/css">
                    <link href="https://fonts.googleapis.com/css?family=Cinzel" rel="stylesheet">
                    <link href="http://CLI/templates/legendary/css/style.css" rel="stylesheet" media="screen">
                    <link href="http://CLI/templates/legendary/css/profiles.css" rel="stylesheet" media="screen">
                    <link href="http://CLI/templates/legendary/css/override.css" rel="stylesheet" media="screen">
                    <script>
                            var baseUrl = 'http://CLI/';
                    </script>
            </head>
            <body>
                    <div id="fb-root"></div>
                    <script>(function(d, s, id) {
                      var js, fjs = d.getElementsByTagName(s)[0];
                      if (d.getElementById(id)) return;
                      js = d.createElement(s); js.id = id;
                      js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=1439010682981422&version=v2.0";
                      fjs.parentNode.insertBefore(js, fjs);
                    }(document, 'script', 'facebook-jssdk'));</script>
                    <div id="header">
                            <div id="headerLogo">
                                    <img src="http://CLI/templates/legendary/img/logo.png">
                            </div>
                            <div id="headerTime">
                                    <div id="serverTime_Wrap">
                                            <div class="serverTime_BoxOn" id="gstYourTime">
                                                    <span>Your Time</span><time id="tLocalTime"></time>
                                            </div>
                                            <div class="serverTime_BoxOff">
                                                    <span>Server Time</span><time id="tServerTime"></time>
                                            </div>
                                    </div>
                            </div>
                    </div>
                    <div id="container">
                            <div id="navbar">
                                    <ul><li><a href="http://CLI/">Home</a></li><li><a href="http://forum.muengine.net/" target="_blank">Forums</a></li><li><a href="http://CLI/downloads">Downloads</a></li><li><a href="http://CLI/donation">Donate</a></li><li><a href="http://CLI/usercp/vote">Vote & Reward</a></li><li><a href="http://CLI/rankings">Rankings</a></li><li><a href="http://CLI/register">Register</a></li><li><a href="http://CLI/login">Login</a></li></ul>                    </div>
    
                            <!-- CASTLE SIEGE BANNER -->
    
                            <div id="content">
                                    <div class="col-xs-8">
                                            <div class="alert alert-warning" role="alert">There are no news to display.</div>                               </div>
                                    <div class="col-xs-4">
                                            <div class="panel panel-sidebar"><div class="panel-heading"><h3 class="panel-title">Account Login</h3></div><div class="panel-body"><form action="http://CLI/login" method="post"><div class="form-group"><label for="loginBox1">Username:</label><input type="text" class="form-control" id="loginBox1" name="webengineLogin_user" required></div><div class="form-group"><label for="loginBox2">Password:</label><input type="password" class="form-control" id="loginBox2" name="webengineLogin_pwd" required><span id="helpBlock" class="help-block"><a href="http://CLI/forgotpassword">forgot your password?</a></span></div><button type="submit" name="webengineLogin_submit" value="submit" class="btn btn-primary">Sign In</button></form></div></div><div class="sidebar-banner"><a href="http://CLI/register"><img src="http://CLI/templates/legendary/img/register_sidebar_banner.jpg"/></a></div><div class="panel panel-sidebar"><div class="panel-heading"><h3 class="panel-title">Server Info</h3></div><div class="panel-body"><table class="table"><tr><td>Total Accounts</td><td>0</td></tr><tr><td>Total Characters</td><td>0</td></tr><tr><td>Total Guilds</td><td>0</td></tr><tr><td>Online Users</td><td style="color:#00ff00;">0</td></tr></table></div></div><div class="panel panel-sidebar"><div class="panel-body"><iframe width="271" height="152" src="https://www.youtube.com/embed/H5QQDvgU-hE" frameborder="0" allowfullscreen></iframe></div></div><div class="panel panel-sidebar"><div class="panel-body"><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FMUE.WebEngine&tabs=timeline&width=271&height=300&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=false" width="271" height="300" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe></div></div>                              </div>
                            </div>
                    </div>
                    <div id="footer">
                            <p>&copy; 2018 MuOnline</p>
    <p>This site is in no way associated with or endorsed by Webzen Inc.</p>                        <div class="webengine-powered" style="text-transform:uppercase;"><a href="https://webenginecms.org/" target="_blank" style="color:#ff0000;">Powered by WebEngine 1.0.9.8</a></div>              </div>
                    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
                    <script src="http://CLI/templates/legendary/js/main.js"></script>
                    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
            </body>
    </html>
    and the Ranking doesnt update
     
  8. Lautaro

    Lautaro Administrator Developer

    You just need to add 1 cron job in cPanel:
    /includes/cron/cron.php

    And that's it, WebEngine will take care of the rest of the crons.
     
  9. justicebz

    justicebz New Member

    i only added that and still without work
     
  10. Lautaro

    Lautaro Administrator Developer

    upload a screenshot of your cron jobs (cpanel)
     
  11. justicebz

    justicebz New Member

  12. Lautaro

    Lautaro Administrator Developer

    Try with this:
    Code:
    /usr/bin/php -q /home/muozcl/public_html/includes/cron/cron.php >/dev/null
     

Share This Page