[thelist] os commerce instal

Andrew Maynes andrew at humanbehaviour.co.uk
Wed Nov 6 17:53:00 CST 2002


Cheers Rich

Uploading the 2.2 version as I received your message :)

you made perfect sense

Andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Rich Gray
Sent: Thursday, November 07, 2002 07:47
To: thelist at lists.evolt.org
Subject: RE: [thelist] os commerce instal


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

--
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.410 / Virus Database: 231 - Release Date: 31/10/2002

---
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




More information about the thelist mailing list