Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    29

    Default Fantastico not working - cpanel logs show mysql error

    Hello,

    I have
    CPanel version 10.9.0-C136
    WHM 10.8.0
    MySQL 4.1.21

    When any user clicks on fantastico link through his cpanel, firefox prompts with downloading of index.php file.

    To diagnose this matter I re-installed fantastico and also ran /scripts/fixcommonproblems. To check whether it was a PHP issue, I put a test.php file in fantastico folder and it worked as expected.

    Eventually when I looked into /usr/local/cpanel/logs/error_log. There I found

    DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE_TMP_TABLE, INDEX, ALTER, SELECT, LOCK_TABLES, INSERT ON `user_osc1`.* TO ' at line 1 at /usr/local/cpanel/Cpanel/Mysql.pm line 938.

    Upon further diagnosing I found it was executing this mysql statement

    GRANT CREATE, DROP, REFERENCES, UPDATE, DELETE, CREATE_TMP_TABLE, INDEX, ALTER, SELECT, LOCK_TABLES, INSERT ON `user\_osc1`.* TO 'user_osc1'@'192.168.1.%'

    Above statement I think is valid for MySQL 5 version. Could this be source of problem?

    Any help is appreciated.

    K Singh

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You need to get support for Fantastico from the developers over at www.netenberg.com
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 03-12-2008, 01:40 PM
  2. Cpanel Fantastico not working
    By innovative2001 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-19-2006, 04:14 AM
  3. Fantastico not working: PHP not working in cPanel/WHM
    By softwareguy in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-25-2006, 02:38 AM
  4. mysql error logs
    By GandalfDDUK in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-14-2006, 08:24 PM
  5. Error logs not working
    By kipper3d in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-07-2003, 05:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube