Viewing 15 replies - 16 through 30 (of 32 total)
  • <?php
    /* Don’t remove this lines. */
    require(‘./wp-blog-header.php’);
    require_once(“wp-content/plugins/stats/class/Stats.php”);
    get_header();
    $Stats = new Stats();
    $Stats->install();
    ?>
    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Try that for install, or try new link https://blog.noontide.ca/files/wp-advanced-stats.zip lol this is not my day. Sorry about it being so hard to install.

    Thread Starter despach0

    (@despach0)

    WordPress database error: [Table ‘Table’ already exists]
    CREATE TABLE Table (id int(11) unsigned NOT NULL auto_increment,username varchar(100) NOT NULL default ”,ip varchar(15) NOT NULL default ‘127.0.0.1’,time datetime NOT NULL default ‘0000-00-00 00:00:00’,referrer varchar(255) default NULL,keyword varchar(255) default NULL,location varchar(100) NOT NULL default ”,url varchar(100) NOT NULL default ”,page int(11) unsigned NOT NULL default ‘0’,version double default ‘0’,browser varchar(255) NOT NULL default ”,referrercomplete text NOT NULL,OS varchar(255) NOT NULL default ‘Unknown’,PRIMARY KEY (id)) TYPE=MyISAM;

    You have it activated when you try and install?

    Thread Starter despach0

    (@despach0)

    tried both ways…

    I recommend you re-do this whole thing. I ran the installation but my layout was still missing and It didnt say If It installed sucessfully or not and when I put in the php code to my sidebar, I still get this:

    Warning: record(stats\class\Stats.php): failed to open stream: No such file or directory in /home/xerocool/domains/r0x0rz.info/public_html/wp-content/plugins/wp-advanced-stats.php on line 52

    Fatal error: record(): Failed opening required ‘stats\class\Stats.php’ (include_path=’.:/usr/local/lib/php’) in /home/xerocool/domains/r0x0rz.info/public_html/wp-content/plugins/wp-advanced-stats.php on line 52

    Copy the error from when it’s activatied

    Hmm, Still wondering what the problem is.

    ja2000, there is no error when activating it. The error is shown when the plugin is activated and the code is in my sidebar..

    Did you download the new copy? I have that problem fixed. I had my slashes the wrong way.

    or if you want to do it yourself open the wp-advanced-stats in your plugin folder and change all the \ in the require or includes to / specifically in the record function

    <<removed>..

    1 sec. Think I got it.

    Blah, <?php record();?> isnt showing nothing and the plugin is activated..

    So I tried <?php userOnline(); ?> and It says:

    WordPress database error: [Table ‘xerocool_home.stats’ doesn’t exist]
    SELECT count(DISTINCT ip) FROM stats WHERE time > Now() – INTERVAL 300 SECOND

    I ran the install but the layout is still empty but says the table is already created

    Got an instant message service? I think from looking at your server you have it properly install. MSN: [email protected] AIM: DarkPaldin23

    Thread Starter despach0

    (@despach0)

    having the same problem as XeroCool

    Added

    Despach0 I talked to XeroCool and we got it working on his server. Try this file https://blog.noontide.ca/files/wp-advanced-stats.zip as long as your prefix is wp_ it should work,

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Nicer archives for 1.5; Statistics for 1.5’ is closed to new replies.