PHP5に移行してログイン出来なくなったら。
以前はログインできていたZenCartの管理画面に、以下のようなエラーが出てログインできなくなった。
Fatal error: Call to a member function Execute() on a non-object in /○○○○/public_html/zencart/includes/functions/strict_sessions.php on line 66
考えられる要因は、使用しているレンタルサーバがPHP4 → PHP5 に強制的に切り替わったこと。
上記エラーで調べたところ下記の対処法を発見。
includes/functions/strict_sessions.php の55行目
—
【修正前】
function _sess_write($key, $val) {
global $db;
global $SESS_LIFE
【修正後】
function _sess_write($key, $val) {
// The following is only to work around a PHP 5.2.0 bug:
global $db; if (!is_object($db)) {
//PHP 5.2.0 bug workaround …
$db = new queryFactory();
$db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
}
global $SESS_LIFE;
—
エラーに遭遇した環境:バージョン)
- ZenCart 1.3.0.2-l10n-jp-2
- MySQL 4.0.24
- PHP 5.2.6
参考サイト)
- php5の環境でzen cartをインストールすると出るエラー NIPPON MODE BGS WORKS (2008/1/25)
- ZenCartでログイン画面に入れない みんなでねっと!のブログ(2008/8/25)
110件のコメント »
RSS feed for comments on this post. TrackBack URL
buy@generic.LEVITRA” rel=”nofollow”>……
Need cheap generic LEVITRA?…
Order@Cheap.Coral.Calcium” rel=”nofollow”>..…
Buygeneric pills…
Order@Discount.Coral.Calcium” rel=”nofollow”>..…
Buyno prescription…
Purchase@Discount.Coral.Calcium” rel=”nofollow”>..…
Buyit now…
Cheap@Coral.Calcium.Online” rel=”nofollow”>..…
Buygeneric meds…
Purchase@Cheap.Abilify” rel=”nofollow”>..…
Buynow it…
Order@Acai.Without.Prescription” rel=”nofollow”>……
Buynow…
Buy@Coral.Calcium.Online” rel=”nofollow”>.…
Buygeneric drugs…
Purchase@Cheap.Abana” rel=”nofollow”>……
Buywithout prescription…
Buy@Cheap.Coral.Calcium” rel=”nofollow”>.…
Buydrugs without prescription…
Buy@Abana.Online” rel=”nofollow”>.…
Buynow it…
Buy@Acai.Online” rel=”nofollow”>……
Buyno prescription…
Buy@Acai.Online” rel=”nofollow”>.…
Buyit now…
Buy@Cheap.Acai” rel=”nofollow”>……
Buygeneric drugs…
Buy@Discount.Acai” rel=”nofollow”>……
Buyit now…
Order@Discount.Acai” rel=”nofollow”>……
Buynow…
Purchase@Discount.Acai” rel=”nofollow”>……
Buyit now…
Cheap@Acai.Online” rel=”nofollow”>.…
Buygeneric meds…
Order@Acai.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs…
Cheap@Acai.500mg” rel=”nofollow”>..…
Buygeneric drugs…
Order@Energy.Boost.Online” rel=”nofollow”>.…
Buygeneric drugs…
Purchase@Cheap.Energy.Boost” rel=”nofollow”>.…
Buyno prescription…
Get@Accupril.Online” rel=”nofollow”>.…
Buygeneric drugs…
Buy@Aciphex.Online” rel=”nofollow”>.…
Buygeneric pills…
Buy@Generic.Aciphex” rel=”nofollow”>.…
Buygeneric meds…
Buy@Generic.Aciphex.Without.Prescription” rel=”nofollow”>.…
Buyno prescription…
Purchase@Generic.Aciphex.20mg” rel=”nofollow”>.…
Buynow it…
Buy@Generic.Actonel.Without.Prescription” rel=”nofollow”>.…
Buygeneric meds…
Purchase@Actonel.Without.Prescription” rel=”nofollow”>..…
Buynow it vhx…
Purchase@Generic.Actonel.35mg” rel=”nofollow”>..…
Buygeneric drugs krg…
Order@Actos.Online” rel=”nofollow”>..…
Buygeneric pills zdg…
Order@Acular.Online” rel=”nofollow”>..…
Buygeneric meds qmo…
Buy@Discount.Abana” rel=”nofollow”>.…
Buygeneric drugs zfk…
Purchase@Discount.Abilify” rel=”nofollow”>..…
Buywithout prescription dyo…
Order@Generic.Abilify” rel=”nofollow”>.…
Buyno prescription luw…
Generic@Abilify.5mg.10mg.15mg.20mg.30mg.Without.Prescription” rel=”nofollow”>..…
Buydrugs without prescription faj…
Purchase@Acai.Online” rel=”nofollow”>.…
Buyit now ojb…
Buy@Acai.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs itj…
Buy@Generic.Acai.500mg” rel=”nofollow”>.…
Buygeneric drugs nih…
Buy@Energy.Boost.Online” rel=”nofollow”>..…
Buynow it cey…
accupril@and.muscle.pain” rel=”nofollow”>……
Buynow it zdg…
Purchase@Cheap.Accupril” rel=”nofollow”>..…
Buyit now irl…
Purchase@Discount.Accupril” rel=”nofollow”>……
Buygeneric meds svb…
Cheap@Accutane.Online” rel=”nofollow”>.…
Buynow it lmg…
Buy@Cheap.Aciphex” rel=”nofollow”>……
Buywithout prescription ccw…
Cheap@Aciphex.Online” rel=”nofollow”>..…
Buyno prescription gdt…
Buy@Generic.Aciphex.Without.Prescription” rel=”nofollow”>……
Buyit now knc…
Buy@Acomplia.Online” rel=”nofollow”>..…
Buyno prescription wkp…
Purchase@Discount.Acomplia” rel=”nofollow”>..…
Buygeneric drugs ajd…
Cheap@Acomplia.Online” rel=”nofollow”>..…
Buygeneric drugs nvr…
Buy@Generic.Actonel.Without.Prescription” rel=”nofollow”>.…
Buygeneric drugs ouw…
Buy@Cheap.Advair” rel=”nofollow”>.…
Buygeneric drugs hwi…
Purchase@Advair.Online” rel=”nofollow”>..…
Buyno prescription jui…
Buy@Generic.Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>..< …
Buydrugs without prescription hak…
Buy@Generic.Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>..< …
Buyno prescription lka…
Order@Aggrenox.Online” rel=”nofollow”>……
Buyit now sge…
Get@Albenza.Online” rel=”nofollow”>……
Buynow fjl…
abilify@and.weight.gain” rel=”nofollow”>……
Buyno prescription…
aciphex@cancer.buy” rel=”nofollow”>..…
Buygeneric drugs…
can@you.get.acai.berries.in.the.grocery.store” rel=”nofollow”>.…
Buydrugs without prescription…
..…
Buyit now…
ampicillin@500.mg” rel=”nofollow”>.…
Buydrugs without prescription…
buy@real.strong.armour” rel=”nofollow”>.…
Buydrugs without prescription…
mike divorce cancer tiffany…
Buy_generic pills…
methotrexate and tricyclerides side effects…
Buy_generic pills…
cancer tattoos…
Buy_without prescription…
boulder valley asthma and allergy clinic…
Buy_no prescription…
obesity children summer…
Buy_it now…
prostate cancer injection treatment…
Buy_now it…
red wine and lipitor…
Buy_no prescription…
follistim increase estradiol levels…
Buy_generic drugs…
effects of bulimia only sometimes…
Buy_generic meds…
boniva price…
Buy_drugs without prescription…
effexor xr 75…
Buy_generic pills…
genital erection…
Buy_now it…
low fat diets history…
Buy_drugs without prescription…
australia clinical research resume…
Buy_generic drugs…
tests for assessing anxiety…
Buy_now it…
thyroid scan image…
Buy_generic pills…
hives rash from coming off prednisone…
Buy_generic drugs…
side effects of luvox…
Buy_now…
negative thyroid test…
Buy_no prescription…
ic tramadol hcl 50 mg…
Buy_generic meds…
asthmatic inhaller mask for children…
Buy_it now…
household chemicals that kill fleas…
Buy_now it…
atkins diet first week foods…
Buy_without prescription…
fungi amazing facts…
Buy_drugs without prescription…
hot dog hospital diet substitutions…
Buy_generic drugs…
dog hives and what causes them…
Buy_drugs without prescription…
depression amino acids…
Buy_drugs without prescription…
best drug store foundation…
Buy_generic meds…
when develop toxemia pregnancy…
Buy_it now…
acne teens start treatment age…
Buy_it now…
period changes leading up to menopause…
Buy_it now…
allergic reaction to topical miconazole…
Buy_generic meds…
drug additiction symptoms…
Buy_generic meds…
twin pregnancy obstetrician specialist dallas…
Buy_drugs without prescription…
psychotic depression and philadelphia…
Buy_generic meds…
shampoo for people with dog allergies…
Buy_now…
new birth control pill…
Buy_now it…
menopause thyroid cancer…
Buy_without prescription…
zocor orange juice effects…
Buy_no prescription…
boniva and bone thinning and breaks…
Buy_now it…
tsa drug dogs for adoptino…
Buy_generic drugs…
free fast diet tips…
Buy_generic meds…
green@mountain.coffee.cafe.club” rel=”nofollow”>……
Buygeneric meds…
protonix@experience.buy” rel=”nofollow”>……
Buygeneric meds…
children@prozac.buy” rel=”nofollow”>……
Buywithout prescription…
augmentin@duo.buy” rel=”nofollow”>……
Buygeneric pills…
Download@alternative.Rock” rel=”nofollow”>.…
Buy rock US Charts…