Fehlermeldung bei falschem Link

  • Also, bei mir lautet die Fehlermeldung

    Code
    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/w00d9ec9/commerce_seo_url.php on line 40
    
    
    Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00d9ec9/commerce_seo_url.php:40) in /www/htdocs/w00d9ec9/commerce_seo_url.php on line 110
    • Offizieller Beitrag

    Noch nicht ganz. Eventuell mal die Tabellen anlegen. Im FP12 wird es eine Lösung geben.

    CREATE TABLE `commerce_seo_url_names` (
    `id` int(4) NOT NULL AUTO_INCREMENT,
    `file_name` varchar(64) NOT NULL,
    `file_name_php` varchar(32) NOT NULL,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

    CREATE TABLE `commerce_seo_url_personal_links` (
    `link_id` int(4) NOT NULL AUTO_INCREMENT,
    `url_text` varchar(128) NOT NULL,
    `file_name` varchar(64) NOT NULL,
    `language_id` int(2) NOT NULL,
    PRIMARY KEY (`link_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;