[thelist] os commerce instal
Rich Gray
rich at f1central.net
Wed Nov 6 17:48:01 CST 2002
Hi Andrew :)
The line below would tell me that you're using the current release of
OSCommerce (called the Exchange Project or something)... IIRC the include
module it is looking for is used everywhere to ensure that an include file
is used only once ... the latest CVS v2.2?? cut is IMO much better as it
uses include_once()/require_once() instead...
>Warning: Failed opening 'includes/include_once.php' for inclusion
The problem is that the include path is looking for include files in 2
locations ...
1) My current directory - signified by the '.'
2) The path /usr/local/php-4.2.2/lib/php - which in this case is probably
irrelevant
So the php script -> catalog/includes/application_top.php is trying to bring
in the file catalog/includes/includes/include_once.php which won't exist -
the include('includes/include_once.php') call will only work for scripts in
the catalog directory. Am I making sense? I hope not! :)
The 2nd failure (tep_db_connect) is probably related to the first ...
IMO As you've just installed it I would throw it away and download the
(development v2.2???) CVS version - I found it much easier to customise and
get running... however like the older version it still requires
register_globals to be On...
My 0.02p
Cheers
Rich
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Andrew Maynes
Sent: 06 November 2002 10:39
To: thelist at lists.evolt.org
Subject: [thelist] os commerce instal
any installed oscommerce and received this error
Warning: Failed opening 'includes/include_once.php' for inclusion
(include_path='.:/usr/local/php-4.2.2/lib/php') in
/home3/ray20002/public_html/european-erotique.com/catalog/includes/applicati
on_t
op.php on line 164
Fatal error: Call to undefined function: tep_db_connect() in
/home3/ray20002/public_html/european-erotique.com/catalog/includes/applicati
on_t
op.php on line 167
and know how to solve it?
Andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
More information about the thelist
mailing list