CubeCart Problem [Memo]

posted on 31 Aug 2008 23:55 by maxtrix

บันทึกกันลืมการแก้ปัญหาเบื้องต้น CubeCart™

ปัญหา

Security Warning

Parsed array keys can not contain illegal characters! Script execution has been halted.

It may be possible to fix this error by deleting your browsers cookies and refresh this page.

แก้โดย

The problem seems to occur because line 76 in /includes/ini.inc.php

if (eregi('[^a-z0-9\-_\:\@\|]', urldecode($key)))

still returns true for upper case alpha (ABCDEF etc) on some servers.

I fixed the problem by replacing the above line with

if (preg_match('/[^a-zA-Z0-9\-_\:\@\|]/', urldecode($key)))

which works around whatever bug causes the false positives. As there's virtually no difference (except marginally more server processing) can't see why it can't be changed in a release.

Refer : http://forums.cubecart.com/index.php?showtopic=27276

 

ปัญหา

Your store will not function until the install directory and/or upgrade.php is deleted from the server.

แก้โดย

Delete the install folder (use an ftp client or through the file manager in your hosting control panel)

Refer : http://forums.cubecart.com/index.php?showtopic=20302 

Comment



smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry

Thanks..confused smile confused smile confused smile
.
.
จำๆๆๆๆๆๆๆ...

#1 By ~*MaGiC_GirL*~ on 2008-09-01 08:17

ตอบโต้..
.
.
น่ารักจริงเลยค่ะคุณ Maxtrix™..
จุ๊บบบบบบบบbig smile confused smile confused smile

#2 By ~*MaGiC_GirL*~ on 2008-09-01 16:35

ที่รักคะ แวะมาทักทาย
มากอดๆ หายคิดถึงยัง

#3 By MaNowZaa™ on 2008-09-01 21:49