If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Pricelist For Printing

Pricelist For Printing

Locked

Started by paulm on 8 Jun 2004, 10:44 PM · Views: 48,373

Results 141 to 160 of 326
This thread is locked. New replies are disabled.
25 Apr 2005, 7:42 AM
#141
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Pricelist For Printing

BlessIsaacola:

Is there another SQL I am suppose to use or what's the problem with SQL pasted below. I am getting error when I try to install in the database.
What's the error message you get?
How do you try to write it to the databse, do you use phpMyAdmin or something else?

25 Apr 2005, 6:13 PM
#142
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Pricelist For Printing

The error message I get is > 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1', '2', '3' ),' )' at line 1

I am using the Install SQL Patches from Admin side.

Thanks!

25 Apr 2005, 7:08 PM
#143
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Pricelist For Printing

BlessIsaacola:

I am using the Install SQL Patches from Admin side.
it indeed doesn't work with the zen sql tool, probably it's possible to create some sql for the pricelist that does work (but I'm afraid can't).

Better use phpMyAdmin (or something alike), that should work fine.

25 Apr 2005, 8:26 PM
#144
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Pricelist For Printing

Thanks! It worked! You might want to update the read me file to let people know not to use Install SQL Patch in Admin.

26 Apr 2005, 7:32 PM
#145
erwin avatar

erwin

New Zenner

Join Date:
Apr 2005
Posts:
6
Plugin Contributions:
0

Re: Pricelist For Printing

I was able to have yet set pricelist with me installed. unfortunately I werder one left to the start side I in the admin something. and in the sql, I receive following error message:

Fehler

SQL-Befehl :

INSERT INTO wdf_configuration_group
VALUES (
'', 'Printable Price-list', 'The main options for the printable price-list module are stored here.', @sortorder +1, 1
)

MySQL meldet:
#1136 - Column count doesn't match value count at row 1

What make I there incorrectly? can me someone help?

greeting erwin

"Wer denkt, etwas zu sein,
hat aufgehört, etwas zu werden."

Version von Zen Cart 1.2.4.1.d
Server:Linux srv14 2.4.26-vs1.27
PHP Version 4.3.11
MYSQL 4.0.24
SAFE_MOD auf "on"

4 May 2005, 4:25 PM
#146
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Pricelist For Printing

Hi Erwin,

I don't know much about mysql, but I see "wdf_configuration_group" in your post. Does this mean you are using "wdf_" as prefix for the database tables? If so, did you edit the sql file (correctly) to match this prefix?

5 May 2005, 3:30 PM
#147
somatics avatar

somatics

New Zenner

Join Date:
Apr 2005
Posts:
8
Plugin Contributions:
0

Re: Pricelist For Printing

I want to install PriceList for Printing. The instructions say to use phpMyAdmin to "load pricelist-3.sql" to the zen-cart database.

I've installed the latest version of phpMyAdmin, and it seems to run just fine, but I can't find any option to "load" a new table or database. The only thing I can find is the option to add a new table, but that just allows me to enter a name and other specs, not to upload an existing table.

How do I load the pricelist-3.sql etc. tables in to the zen-cart database, using phpMyAdmin or otherwise?

Thanks

5 May 2005, 3:57 PM
#148
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Pricelist For Printing

Look for an option to 'run' or 'enter' a MySQL query in phpMyAdmin - the contents of the .sql file is the MySQL query you want to enter or run. When you find the option/window to enter or run a query in phpMyAdmin, copy and paste the contents of the .sql file into that window.

Sorry, can't tell you exactly, don't use phpMyAdmin myself, but you should find it from that :)

5 May 2005, 6:07 PM
#149
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Pricelist For Printing

kelvyn:

Or you could just go to the "install SQL patches" section of Zen admin under the TOOLS section
That should be possible, but unfortunately it is not! (it didn't work the last time I tried it a couple of months ago) Probably the price-list sql should be rewritten to work with the zen tool (or the zen tool needs an update?). It would be nice if someone could figure this out ;)

With the version of phpMyAdmin I use it's just:

  1. select database
  2. click on SQL
  3. copy and paste the sql into the text area, or browse to the file and open it
  4. hit GO, and you're done
11 May 2005, 3:10 PM
#150
erwin avatar

erwin

New Zenner

Join Date:
Apr 2005
Posts:
6
Plugin Contributions:
0

Re: Pricelist For Printing

hi paul,
yes i have wdf_ as new präfix.

and my problem is the same:

Fehler

SQL-Befehl :

INSERT INTO wdf_configuration_group
VALUES (
'', 'Ausdruckbare Preisliste', 'Die Hauptoptionen für druckbare Preislisten sind hier gespeichert.', @sortorder +1, 1
)

MySQL meldet:
#1136 - Column count doesn't match value count at row 1

can you tell me, wath i can do??

greeting erwin

"Wer denkt, etwas zu sein,
hat aufgehört, etwas zu werden."

Version von Zen Cart 1.2.4.1.d
Server:Linux srv14 2.4.26-vs1.27
PHP Version 4.3.11
MYSQL 4.0.24
SAFE_MOD auf "on"

11 May 2005, 6:11 PM
#151
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Pricelist For Printing

**

#1136 - Column count doesn't match value count at row 1

**

I might have a possible explanation on this one. To make sure, which version of PHP are you using ?

11 May 2005, 7:58 PM
#152
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Pricelist For Printing

According to his sig, he's using PHP Version 4.3.11

12 May 2005, 9:13 AM
#153
erwin avatar

erwin

New Zenner

Join Date:
Apr 2005
Posts:
6
Plugin Contributions:
0

Re: Pricelist For Printing

hello theoracel,
I have following basic outlooks:

Version of Zen Cart 1.2.4.1.d
Server:Linux srv14 2.4.26-vs1.27
PHP Version 4.3.11
MYSQL 4.0.24
SAFE_MOD on "on"

it would be help could me really crazy, if you. thanks

greeting erwin

"Wer denkt, etwas zu sein,
hat aufgehört, etwas zu werden."

Version von Zen Cart 1.2.4.1.d
Server:Linux srv14 2.4.26-vs1.27
PHP Version 4.3.11
MYSQL 4.0.24
SAFE_MOD auf "on"

12 May 2005, 12:18 PM
#154
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Pricelist For Printing

Das ist die Version Ich habe z.Z (für PHP).

Jedoch, SAFE_MODE muß sein entfernt zuerst. ;)

Raten Sie bitte.

14 Jun 2005, 2:31 AM
#156
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Pricelist For Printing

Being very new to Zen/PHP and SQL I am wondering if it would be a good idea for me to tackle this.

In looking at the read me it states to copy (or load if you will) the pricelist-3.sql file. Yet, I don't see one in the zip file.

Just knowledgeable enough to be dangerous.

14 Jun 2005, 8:46 AM
#157
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Pricelist For Printing

There is a dir in the zip called "sql-files", it contains a file "no_prefix_pricelist-3.sql" and a file "zen_prefix_pricelist-3.sql" and a readme.txt file about the sql.

(The name of the sql has changed, but it looks like I forgot to update the main readme.txt file)

14 Jun 2005, 4:38 PM
#158
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: Pricelist For Printing

Ok, got that.

What remains is my (questionable) programming skills.

#2 in the read me states: "load pricelist-3.sql (includes three profiles) to your zen-cart database (i.e. using phpMyAdmin)
(or load pricelist-8.sql to start with 8 profiles)
use pricelist_remove.sql to remove any pricelist database settings again also see sql-files directory"

I'm not sure I have phpMyAdmin and if I did probably wouldn't know how to use it.

Backing up isn't a problem, I just ftp my complete directory to my pc.

And where would I find my ZC database?

Just knowledgeable enough to be dangerous.

16 Jun 2005, 7:38 AM
#159
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Pricelist For Printing

jacque427:

I'm not sure I have phpMyAdmin and if I did probably wouldn't know how to use it.You need to ask you hosting company about this. And phpMyAdmin is quite easy to use, but you can allways search the internet for more info (or read a book about it).

Originally posted by jacque427@Jun 14 2005, 04:38 PM
**Backing up isn't a problem, I just ftp my complete directory to my pc.**That won't backup your database. phpMyAdmin also offers handy backup features for your database.

jacque427:

And where would I find my ZC database?Again (sorry can't do any better), ask your host, you should see the database once you've found phpMyAdmin (there are other ways, but phpMyAdmin is very easy to use, also if you're new to it).

16 Jun 2005, 2:07 PM
#160
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Pricelist For Printing

In most cases, installing this backup tool will help you:
http://www.zen-cart.com/modules/mydownload...ile.php?lid=270

You can then access it under the Tools menu in Admin.
When it does a database backup, it saves the file in your /admin/backups folder, so that you can download it by FTP for safekeeping with the rest of your site files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.