Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Photo Album v.05 setup
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 23 July 2002 :  06:04:52  Show Profile
Wesley,

I have been trying to install your mod, but the set-up keeps giving the following error:

There was an error [Microsoft][ODBC SQL Server Driver][SQL Server]There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
If it is "already exists" error then ignore it. If it is something else investigate it.


I can not see why it is doing this. It basically gives the same error on Access as well as SQL 2000. It looks like something I could be intrested in, but it will not work at present.

After I have run the set-up I have tried the Photo Album and it comes up, just when you go to add things to it, you can not. Do you have any idea why?

Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia

laser
Advanced Member

Australia
3859 Posts

Posted - 23 July 2002 :  06:10:33  Show Profile
I haven't tried this mod, but (just in case you don't know), that error is an error caused by the INSERT command being wrong.

Proper syntax :

INSERT INTO "table_name" ("column1", "column2", ...) VALUES ("value1", "value2", ...)


Your error is that the code doesn't supply a calue for each nominated column.

HIH ...

Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 24 July 2002 :  23:54:12  Show Profile  Visit burthold's Homepage
I'll check the setup file right now. I forget to check the help forum for mod setups.

Wes

Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 25 July 2002 :  00:05:22  Show Profile  Visit burthold's Homepage
The insert statement shouldn't stop you from uploading to the album once you go to your admin options and set them. If you have the album setup you will need to goto the admin photo setup and add users. You have to check the box next to the drop down menu to add the user you want. I have fixed the setup error I will test with all three ms-sql mysql and access tonight.

Wes

Go to Top of Page

burthold
Junior Member

USA
426 Posts

Posted - 25 July 2002 :  00:23:50  Show Profile  Visit burthold's Homepage
I did a clean install of snitz under access/ms-sql/mysql I ran the new fixed photo_album_setup.asp and it went off without a hitch. I then went to the photo album admin page and set the config and added admin as a user went to the admin album uploaded a file no problems there. Just remember that all paths relative or not are case sensitive i.e. the uploads dir or the path to the eyebatch directory. I recommend setting up a virtual directory or a directory right under your forum directory and make sure it has write permissions setup under IIS or you will not be able to upload pictures. I have uploaded new src.zip files for both components and non components version of the photo album. Let me know if you have any further problems!

Wes

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.8 seconds. Powered By: Snitz Forums 2000 Version 3.4.07