globaldirectory
Forum Replies Created
-
If u viewsource the page (CTRL+u) on this url http://jeremy-borderie.com/, u can clearly see that it is not a wordpress theme, it does not have any wordpress related files included there. Try to viewsource any wordpress base site and u will find that it includes files from wp-include , wp-admin folders.
Thanks
Forum: Plugins
In reply to: [Local Business SEO] database error Multiple primary key definedWordprees editor has removed double space between PRIMARY KEY and ().
Try to put double space instead of single space there.
Thanks
Forum: Plugins
In reply to: [Local Business SEO] database error Multiple primary key definedHi,
I have founded the same problem and here are the steps to fix it.Try to locate Create Table statement in your plugin.
the create statement of any table should look something like below.
$invoice_table_query = “CREATE TABLE invoice (
order_id int(11),
invoice_html TEXT NOT NULL,
PRIMARY KEY (order_id)
)”;
dbDelta($gdp_user_detail);in above example, u will see that to make dbDelta function work properly you have to enter each field in new line and to get rid of primary key related issue, you have to put double space between PRIMARY KEY keyword and ().
I have double space here between PRIMARY KEY and (order_id)
PRIMARY KEY (order_id)
along this dont put any space between () and the key inside of these small brackets.
PRIMARY KEY ( order_id ) this is wrong, u will get error.
PRIMARY KEY (order_id) this is right without any space.Hope this will help.