View previous topic :: View next topic |
Author |
Message |
connemara Window Shopper

Joined: 22 Mar 2005 Posts: 10 Location: Vancouver Island, Canada
|
Posted: Sat Mar 26, 2005 4:38 pm Post subject: Unable to submit new entries |
|
|
Hi Dan:
I want to preface my problem with the following change to settings I made recently.. Users (those who I set to allow) who could edit their own entries, still had their event entries coming to me for validation. I finally noticed the user panel where you can specify the functions you would allow certain groups to have, so I checked off the appropriate boxes. I wondered if there were a couple of steps involved. For example, should those who are given edit privileges be the advanced user, for example?
OK that was done the other day. NOW, I as admin nor anyone else can submit events successfully. Strangely, I still get notification to validate, but can't validate it at all. Here is the error message about the Record # that could not be added to table 'Calendar':
Error Performing Query: Column count doesn't match value count at row 1
So I haven't a clue, and hoped you might suggest what could be happening here.
Thanks!
Connie Manning _________________ connemara studio - the art of communication
website development and marketing
http://www.connemarastudio.com |
|
Back to top |
|
 |
Dan Admin / Developer

Joined: 19 Feb 2001 Posts: 2057
|
Posted: Sat Mar 26, 2005 4:43 pm Post subject: |
|
|
Hi Connie,
That error indicates the submitted query does not match the database structure, which generally happens after customizations or additions of new code, not merely config option changes... Did you by any chance adjust any of the database tables or the config.php config arrays?
Cheers,
Dan |
|
Back to top |
|
 |
connemara Window Shopper

Joined: 22 Mar 2005 Posts: 10 Location: Vancouver Island, Canada
|
Posted: Sat Mar 26, 2005 6:41 pm Post subject: |
|
|
Hi Dan:
OK, that was a clue. I added a heading file to the calendar page. I'll remove that and see if that makes a difference. Thanks
Conniie _________________ connemara studio - the art of communication
website development and marketing
http://www.connemarastudio.com |
|
Back to top |
|
 |
connemara Window Shopper

Joined: 22 Mar 2005 Posts: 10 Location: Vancouver Island, Canada
|
Posted: Sat Mar 26, 2005 7:00 pm Post subject: |
|
|
Hi Dan
Here is what I changed: I uncommented the $header and added the header.htm file.
$use_includes = "yes"; // use header and footer files for site-wide formatting? (yes/no)
//$header = getenv("DOCUMENT_ROOT")."/calendar/header.htm"; // used for page formatting - header file path & name
$footer = getenv("DOCUMENT_ROOT")."/calendar/footer.htm"; // used for page formatting - footer file path & name
Now I get the following error message (so obviously I must have changed something else)
Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/local/scripts/php-4310/lib/php') in /raid/home/chemainus/chemainus/calendar/index.php on line 90
AND when I attempt to enter an event, still get the same error message as before- guess that means there is something else I changed, eh?
Oh boy. . .
Connie _________________ connemara studio - the art of communication
website development and marketing
http://www.connemarastudio.com |
|
Back to top |
|
 |
Dan Admin / Developer

Joined: 19 Feb 2001 Posts: 2057
|
Posted: Mon Mar 28, 2005 3:42 pm Post subject: |
|
|
$use_includes = "yes";
//$header = ...
What happened there is you left the include flag turned on but commented out the file to include, which would result in an error. If you don't want to include the header/footer files, simply set $use_includes to "no".
However, I doubt that explains the original error. From the info you've given, I can't put my finger on what it would be, so it might be best if you sent me your info privately so I can take a look at what's going on.
Cheers,
Dan |
|
Back to top |
|
 |
|