Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

More problems for Game Zone3000  Bottom

  • I have no idea where I should put this, and I doubt anybody will answer my pleas for help as nobody ever does.

    I was recently adding a block from PortelZine.de called Last_Seen 1.62. With the included files came the SQL insert:

    Quote

    CREATE TABLE nuke_lastseen (
    id int(15) NOT NULL auto_increment,
    username text NOT NULL,
    date int(15) NOT NULL default '0',
    ip varchar(50) default NULL,
    tag text NOT NULL,
    PRIMARY KEY (id),
    UNIQUE KEY id (id)
    )


    I added that after changing the prefix to the suitable one for mine and backed up before i ran it. It all seemd fine and i installed and initialised the module. I was then looking through my databse in phpMyAdmin and saw many tables for modules i was not using.

    I deleted them and backed up afterwards as all still seemed fine.

    Now I get this on every darn page

    Quote

    ERROR: (getting user listYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Guest' at line 1


    Chances are i deleted a table i should not have deleted, but then surely it would tell me that one was missing. I dont know how i could have messed up the code as i havent touched it!

    Any help would be GREATLY appritiated as my site is rendered totally useless without a fix icon_lol

    - Phil
  • ThePyromaniac

    I have no idea where I should put this, and I doubt anybody will answer my pleas for help as nobody ever does.



    I'll answer....

    Have you tried re-loading a backup (maybe on a test site?) from a time when it worked?

    Also try deleting the block from your prefix_blocks table, and see if your site comes up then.

    Lastly, if the above does not help, ask portalzine

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • I looked in blocks table but couldnt see that block.

    I then (accidently) dropped the table and now i get

    Quote

    Fatal error: Call to a member function on a non-object in /home/phil/public_html/includes/advblocks.php on line 72


    Anymore ideas?
  • Well thanks anyway mate. Problem seemed to vanish. I restored the _blocks table minus the recent visits block and it seemed to be okay. Now i have the block working fine.

    All very strange...

    Moderator: Feel free to lock/delete this ;)
  • well, I am glad you got it fixed :)

    We dont lock or delete threads, others might find them useful.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide

This list is based on users active over the last 60 minutes.