파일이 변경되 적이 없는데 이와 같은 문제가 발생하였다. GET 값이 넘어오지 않으면 OSC는 카테고리를 표시할 수 없다. 카테고리id 값이 get으로 전달되기 때문이다. 또한 관리자 로그인도 불가능하게 된다. 이러한 문제가 발생할 때에는 다음과 같이 조치한다. 위 2개의 파일의 if (!is_array($HTTP_GET_VARS)) $HTTP_GET_VARS = array(); if (!is_array($HTTP_POST_VARS)) $HTTP_POST_VARS = array(); if (!is_array($HTTP_COOKIE_VARS)) $HTTP_COOKIE_VARS = array(); 이 부분을 아래코드로 […]
OSCommerce Function ereg() is deprecated 에러시
Deprecated: Function ereg() is deprecated in admin\configuration.php on line 80 이런 에러가 발생하는 경우 조치법 catalog/includes/application_top.php 와 admin/includes/application_top.php 이 2개의 파일에서 아래 내용을 찾아서 // set the level of error reporting error_reporting(E_ALL & ~E_NOTICE); 밑에 것으로 바꾸어 주면 된다. // set the level of error reporting error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
OSCommerce ENTRY_COMPANY_MIN_LENGTH 위치
ENTRY_COMPANY_MIN_LENGTH 이 값은 DB 테이블 configuration 에 있다. 아마 어드민에서 설정 가능할 것이다.
OSCommerce 에러 Function session_is_registered() is deprecated in
OSCommerce 에서 아래와 같은 에러가 발생한다면 Function session_is_registered() is deprecated in /includes/application_top.php 와 /admin/includes/application_top.php 파일에서 error_reporting(E_ALL & ~E_NOTICE); // 이 부분을 주석처리하고 error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); //이렇게 바꾸면 된다.
OsCommerce MAX_DISPLAY_SEARCH_RESULTS, tep_draw_pull_down_menu()
MAX_DISPLAY_SEARCH_RESULTS 는 숫자값인데 관리자모드 Admin / configuration / maximum values / search results 이곳에 설정되어 있다. MAX_DISPLAY_PAGE_LINKS 또한 그렇다. tep_draw_pull_down_menu() Defined at: /includes/functions/html_output.php -> line 262 /admin/includes/functions/html_output.php -> line 275
Zencart 사용해보니
http://www.zen-cart.com/ Addons: http://goo.gl/R8wEI Zencart를 사용해보니 OsCommerce랑 왜이리 같아 보이는 부분이 많은지. 개인적으로 OsCommerce 정말 안좋다고 생각하는데. 그래도 OSC보단 Zencart가 편의성이 좀 나아보이더군. 아무튼 두 솔루션이 닮은 이유가 있겠지 뭐~
OsCommerce & Paypal IPN 관련
PayPal IPN Notification URL setup. http://forums.oscommerce.com/topic/136147-paypal-ipn-notification-url-setup/ http://www.flashfiredesigns.com/resources/ecommerce/paypal_instant_payment_notification_setup.php http://webglobalnet.net/support/index.php/topic,1802.0.html How to use IPN simulator 관련정보http://goo.gl/3pfhW
OsCommerce 모듈
AJAX Attribute Managerhttp://addons.oscommerce.com/info/4063
OsCommerce Breadcrumb관련
Breadcrumb 참고정보 product_info.php에는 카테고리정보가 없지만Breadcrumb부분에 카테고리 정보와 id가 있다. Breadcrumb는 header.php 라인137에 정의되어 있다.헤더에서 $breadcrumb->trail 부분은 application_top.php의 라인 534 application_top.php 라인525, 540 검토 breadcrumb는 classes/breadcrumb.php
OsCommerce 레퍼런스 및 SQL 쿼리 함수
OsCommerce 레퍼런스 OsCommerce 레퍼런스가 공식사이트에는 안보인다. 도대체… http://www.oscdox.com/crossx/nav.html?_functions/index.html OsCommerce SQL함수 tep_db_close() tep_db_connect() tep_db_data_seek() tep_db_error() tep_db_fetch_array() tep_db_fetch_fields() tep_db_free_result()tep_db_input() tep_db_insert_id() tep_db_num_rows()tep_db_output()tep_db_perform() tep_db_prepare_input() tep_db_query()tep_db_result() /includes/functions/database.php -> line 102/admin/includes/functions/database.php -> line 106
OsCommerce 설치방법 MS2.2
해외 쇼핑몰 솔루션 또는 카트솔루션은 여러가지가 있다. 그중 OsCommerce라는 것이 있는데. 설치는 간단하지만 몇가지 주의해야 할 것이 있다. OsCommerce에서 예전버전인 MS2.2 설치시 에러 발생하면 조치해야 할것 들이다. register global is on 이어야 한다. php.ini를 수정할 수 없다면 .htaccess 파일에 아래와 같이 한줄 넣으면 된다. php_flag register_globals on 그리고 나서 설치과정중 Step2 에서 Continue를 아무리 눌러도 […]