Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Desclaimer Contribution


webwitch2003

Recommended Posts

Hello

 

I have just isntalled the desclaimer contribution. When I go to the admin/tools section i get an error message: Site Updates 1146 - Table 'd60133698.disclaimer' doesn't exist

 

SELECT disclaimer_text FROM disclaimer where disclaimer_id = 1

 

[TEP STOP]

 

I know it is because of my database but before i can work that out can someone please tell me where i should put this script on the /languages/english.php - the instructions don't tell me exactly where to put it and i have tried all different places and it doesn't seem to work:

 

6) Add the following to admin/includes/languages/english.php

 

define('BOX_TOOLS_DISCLAIMER', 'Disclaimer');

 

Anyone know what line on or about i should put this?

 

In my admin tools it doesn't say 'Disclaimer' it says: BOX_TOOLS_DISCLAIMER

 

When i run the SQL do i run all of this just as it appears(as in the insturctions)?

 

#

# Table structure for table 'disclaimer'

#

 

DROP TABLE /*!32200 IF EXISTS*/ disclaimer;

CREATE TABLE /*!32300 IF NOT EXISTS*/ disclaimer (

disclaimer_id tinyint(3) unsigned NOT NULL auto_increment,

disclaimer_text text ,

PRIMARY KEY (disclaimer_id),

INDEX disclaimer_id (disclaimer_id)

);

 

 

#

# Dumping data for table 'disclaimer'

#

INSERT INTO disclaimer VALUES("1","Enter your order disclaimer here including html text if required");

 

Thanks a million

Angi :)

Link to comment
Share on other sites

these items you need to run thru phpmyadmin:

 

 

#

# Table structure for table 'disclaimer'

#

 

DROP TABLE /*!32200 IF EXISTS*/ disclaimer;

CREATE TABLE /*!32300 IF NOT EXISTS*/ disclaimer (

disclaimer_id tinyint(3) unsigned NOT NULL auto_increment,

disclaimer_text text ,

PRIMARY KEY (disclaimer_id),

INDEX disclaimer_id (disclaimer_id)

);

 

 

#

# Dumping data for table 'disclaimer'

#

INSERT INTO disclaimer VALUES("1","Enter your order disclaimer here including html text if required");

Link to comment
Share on other sites

these items you need to run thru phpmyadmin:

 

Thanks, i did this but still get this error: Site Updates 1146 - Table 'd60133698.disclaimer' doesn't exist

 

SELECT disclaimer_text FROM disclaimer where disclaimer_id = 1

 

[TEP STOP]

 

Any idea what that means? I have very limited database knowledge but i have followed the contribution to the letter except for the last step and that is adding a line to /admin/includes/languages/english.php and that line is...

 

define('BOX_TOOLS_DISCLAIMER', 'Disclaimer');

 

but i don't know where to put it, i have tried different places on english.php but it doesn't seem to make a difference.

 

Angi

Link to comment
Share on other sites

OH MY GOSH!!!! :blush: :blush: :blush: :blush: :blush:

 

I am so embarressed! I was running it on the wrong database!

 

I am a dork! Sorry for wasting your time....

 

On a good note, the contribution works really well even if you are a dummy!

 

Angi :blush:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...