Members: 15,141
Threads: 38,828
Posts: 159,362
Online: 20

Newest Member: batterygogo


Old 11.09.2004, 09:33   #1
maddunr
Junior Mamber
 
Join Date: Sep 2004
Posts: 32
maddunr is on a distinguished road
Default database error?

hi.. first of all, i must say that i am relatively new to mambo in general. i got the following error when i added a vendor in mambo-phpshop, but it looks like a general mambo database error rather than a specific phpshop error. here goes...
Quote:
Notice: 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 'default) VALUES ('2','-default-','Default shopper group for rep in /home/viveknra/public_html/elmdor2/includes/database.php on line 171

INSERT INTO mos_pshop_shopper_group (vendor_id,shopper_group_name,shopper_group_desc,d efault) VALUES ('2','-default-','Default shopper group for rep company','0')

/home/viveknra/public_html/elmdor2/administrator/components/com_phpshop/classes/ps_database.php:81
/home/viveknra/public_html/elmdor2/administrator/components/com_phpshop/classes/ps_vendor.php:238
/home/viveknra/public_html/elmdor2/components/com_phpshop/phpshop_parser.php(304) : eval()'d code:1
/home/viveknra/public_html/elmdor2/components/com_phpshop/phpshop_parser.php:304
/home/viveknra/public_html/elmdor2/administrator/components/com_phpshop/toolbar.phpshop.html.php:19
/home/viveknra/public_html/elmdor2/administrator/components/com_phpshop/toolbar.phpshop.php:16
/home/viveknra/public_html/elmdor2/administrator/modules/mod_toolbar.php:16
/home/viveknra/public_html/elmdor2/administrator/includes/admin.php:97
/home/viveknra/public_html/elmdor2/administrator/templates/mambo_admin/index.php:64
/home/viveknra/public_html/elmdor2/administrator/index2.php:101
any thoughts o' great mambers?

- V
maddunr is offline   Reply With Quote
Sponsored Links
Old 11.09.2004, 13:00   #2
august
Mamber
 
august's Avatar
 
Join Date: Aug 2004
Location: Oppland, Norway, Europe
Posts: 99
august is on a distinguished road
Default Re: database error?

Seems that something got wrong during installation, and that the installation caused a error in your database.

Try the following:
  • uninstall fails, manually delete all SQL-tables and files related to the component, and then try to install.
  • If that doesnt work, hope you have a backup of your database..
__________________
August Lilleaas
august is offline   Reply With Quote
Old 11.09.2004, 21:27   #3
maddunr
Junior Mamber
 
Join Date: Sep 2004
Posts: 32
maddunr is on a distinguished road
Default Re: database error?

August,

Thanks for your help. But turns out it is a phpshop syntax error and Soeren (from mambo-phpshop.net) helped me out with the syntax. default needed to be in single quotes :'default'. That's it.

- V
maddunr is offline   Reply With Quote
Old 12.09.2004, 11:44   #4
august
Mamber
 
august's Avatar
 
Join Date: Aug 2004
Location: Oppland, Norway, Europe
Posts: 99
august is on a distinguished road
Default Re: database error?

Wow

You should tell the developers of the component, so they can fix it!
__________________
August Lilleaas
august is offline   Reply With Quote
Old 14.09.2004, 20:42   #5
maddunr
Junior Mamber
 
Join Date: Sep 2004
Posts: 32
maddunr is on a distinguished road
Default Re: database error?

actually, its the developer of the component who helped me out. I was just conveying his message to you

- V
maddunr is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
htmlarea3_xtd BennieBlanco Mambo 4.5 Installation and Upgrades 158 08.07.2005 05:23
MySQL database installation - ERROR webdogg Mambo 4.5 General Talk 4 03.06.2005 00:05
runtime error messages? jem71 Mambo 4.5 Bugs 1 09.11.2004 10:03
Establishing a MySQL database kippwinger Mambo 4.5.1 Installation and Upgrades 2 20.08.2004 08:17
SQL Syntax error during upgrade to 4.5.1 Alaskan Mambo 4.5 Installation and Upgrades 3 13.08.2004 19:21


All times are GMT +2. The time now is 09:15.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.