1
jonathon
Fatal Errors from osCommerse modual
  • 2006/8/7 22:30

  • jonathon

  • Just popping in

  • Posts: 8

  • Since: 2006/7/25


RE: xoops2-mod osCommerse_v0_2b_michael baecker

Installation was no problem, the following is my "action and result" log from articles found here in the Forum of similar issues. I cannot resolve this on my own. Anyone to help. Thank you

Fatal error: Call to undefined function: tep_db_query() in /hsphere/local/home/jonathon/icommarket.com/xoops-2.0.14/htdocs/modules/shop/blocks/best_seller.php on line 10

1. "Failed opening required..." or "Undefined function..."

This most likely indicates that a required file could not be loaded. First check if the file is there and in the correct location; if it is, then check the permissions of the file to make sure the webserver can READ it. It is also possible that the file is corrupted, or that your FTP program changed file/directory names. Check your FTP program settings (make sure you "preserve directory structure", and do NOT "force lowercase", etc...) and try again installing/uploading the files again.


Solution Attempt Action:
Reuploaded best_seller.php Problem remains the same


Result:
Fatal error: Call to undefined function: tep_db_query() in /hsphere/local/home/jonathon/icommarket.com/xoops-2.0.14/htdocs/modules/shop/blocks/best_seller.php on line 10


My Solution Attempt Action:
Chmod Blocks folder to 777

Result:
Fatal error: Call to undefined function: tep_db_query() in /hsphere/local/home/jonathon/icommarket.com/xoops-2.0.14/htdocs/modules/shop/blocks/best_seller.php on line 10

Here is my list "errors" produced by "debug Smartie pop-up"
Notice: Use of undefined constant _MI_FUNPICTURES_NAME - assumed '_MI_FUNPICTURES_NAME' in file /modules/funpictures/xoops_version.php line 28
Notice: Use of undefined constant _MI_FUNPICTURES_DESC - assumed '_MI_FUNPICTURES_DESC' in file /modules/funpictures/xoops_version.php line 30
Notice: Constant _DB_POSLINE_DESC already defined in file /modules/backup/language/english/modinfo.php line 24
Notice: Constant _MI_WHATSNEW_DESC already defined in file /modules/blockutils/language/english/modinfo.php line 13
Notice: Use of undefined constant _MI_BLOCKUTILS_DESC - assumed '_MI_BLOCKUTILS_DESC' in file /modules/blockutils/xoops_version.php line 4

My Solution Attempt Action:
Re-upload "SQL" Database file
Chmod Modual folder to 777

Result:
Fatal error: Call to undefined function: tep_db_query() in /hsphere/local/home/jonathon/icommarket.com/xoops-2.0.14/htdocs/modules/shop/blocks/best_seller.php on line 10

Here is my list "errors" produced by "debug Smartie pop-up"
Notice: A session had already been started - ignoring session_start() in file /modules/shop/includes/functions/sessions.php line 67
Notice: Constant FILENAME_AFFILIATE_LOGOUT already defined in file /modules/shop/includes/affiliate_application_top.php line 90
Notice: Undefined index: affiliate_ref in file /modules/shop/includes/affiliate_application_top.php line 105
Notice: Undefined index: ref in file /modules/shop/includes/affiliate_application_top.php line 108
Notice: Undefined index: ref in file /modules/shop/includes/affiliate_application_top.php line 108
Notice: Undefined index: affiliate_ref in file /modules/shop/includes/affiliate_application_top.php line 150
Notice: Use of undefined constant breadcrumb - assumed 'breadcrumb' in file /modules/shop/includes/affiliate_application_top.php line 162

Smarti Debug Results as of 8-7-06
Notice: Constant _DB_POSLINE_DESC already defined in file /modules/backup/language/english/modinfo.php line 24
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in file /class/logger_render.php line 58

MyHosting System Info.
http://icommarket.com/xoops-2.0.14
PHP version = 4.3.11 apache
Webserver = Apache/1.3.31 (Unix) PHP/4.3.11 mod_ssl/2.8.18 OpenSSL/0.9.6b
Database = MySQL 4.1.20-max-log, lock.system=flock
Operating system = Linux web125.opentransfer.com 2.6.14.4 #2 Wed Jan 4 22:51:21 CST 2006 i686
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

2
jensclas
Re: Fatal Errors from osCommerse modual

This is a fantastic lot of information - you are really trying! One question though...can't see a reference to which XOOPS version you are using. For example 2.0.14 is suited to php 5 versions...

Have done a quick search on the call to undefined function and found someone else has had the same problem:
here...but they haven;t indicated if they managed to resolve the problem.

This FAQ may give you a clue

These were two things i found with a search on 'Call to undefined function' - there were plenty more to browse through.

Finally what does your research show about the development of os commerce module- can the module writer be contacted? when was the last update?

HTH


3
McNaz
Re: Fatal Errors from osCommerse modual
  • 2006/8/8 9:21

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Last time I tried the OSC module in XOOPS I found the major problem to be that OSC Blocks do not work outside of the module itself.

What this means that if you do display OSC related modules, these will only work when you are in the OSC module itself. Displaying Top Products, for example, on your top page will not work and will generate the errors you are experiencing.

HTH.

Cheers.

Login

Who's Online

360 user(s) are online (261 user(s) are browsing Support Forums)


Members: 0


Guests: 360


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits