トップ «前の日記(2006-03-06) 最新 次の日記(2006-03-08)» 編集

MOMENTS Old Diary

2003|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|

2006-03-07

_ [つれづれ]朝

07:00am起床。

_ [Nucleus]Nucleus + MySQL5系統での不具合ががが

を導入したら、いきなり下記のエラーを吐くようになって焦った。

調べてみると、このエラーはMySQL5系統を使っているときに発生する模様。確かに会社の環境は4系統。XAMPPで一括導入した自宅の環境は5系統。ここがハマりどころだったのかorz

原因は、バージョンが上がったことで、SQLのSELECT文のJOIN部の扱いが変わったこと、らしいです。

Nucleusのでも、5系統は諦めろ的な返答が書かれていたりしてぐんにょり。何とかならないものか、と思ってもうちょっと頑張ったらありました。

というわけで、NP_MultipleCategories.phpの570行目と、750行目前後にある、クエリを生成している部分をちょいと書き換えてみました。

//$query .= ' FROM '.sql_table('item').' as i, '.sql_table('member').' as m, '.sql_table('category').' as c';
$query .= ' FROM '.sql_table('member').' as m, '.sql_table('category').' as c, '.sql_table('item').' as i';

これでOK。まぁ、面倒ならMySQLは4系統を使っておけということですかね。

本日のツッコミ(全5件) [ツッコミを入れる]
_ RicardoRish (2015-07-13 22:46)

[url=http://celexa.science]celexa.science[/url]

_ DwayneRar (2015-07-25 17:11)

Some [url=http://buyaciclovir.se/]zovirax herpes[/url] risperidone negative effects could not need any sort of clinical interest.<br>|

_ RobertSr (2015-07-29 09:01)

{if you have {a history|a past|a record} of {bleeding|hemorrhaging} in #file_links["links/imp_files/test4_4.txt",1,S] your {brain|mind}; or. |, if you have {a history|a past|a record} of {bleeding|hemorrhaging} in your {brain|mind}; or.

_ CharlesSam (2015-08-12 00:56)

Short-term [url=http://amoxicillinonline.science/]amoxicillin online[/url] studies did disappoint an increase in the risk of suicidality with antidepressants compared to placebo in grownups past age 24; there was a reduction with antidepressants compared with placebo in grownups aged 65 as well as older.

_ Danielhib (2015-08-12 01:39)

The medicine has solid anti-arthritic [url=http://buymobic.party/]mobic 50 mg[/url] properties that work to battle joint inflammation. Indicators.


トップ «前の日記(2006-03-06) 最新 次の日記(2006-03-08)» 編集

If you want to delete this message, you move to "preferences" page and edit the footer.

It is better to read README and How to write diary before you write diary.