Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/abledesi/domains/abledesign.com/public_html/navfiles/log.php on line 126

AbleDesign - Support Forum

AbleDesign Forum Index AbleDesign

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
AbleDesign Forum Index
MyCalendar Discussion
Unable to submit new entries
Post new topic   Reply to topic

Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion
View previous topic :: View next topic  
Author Message
connemara
Window Shopper
Window Shopper


Joined: 22 Mar 2005
Posts: 10
Location: Vancouver Island, Canada

PostPosted: Sat Mar 26, 2005 4:38 pm    Post subject: Unable to submit new entries Reply with quote

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
View user's profile Send private message Visit poster's website
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Sat Mar 26, 2005 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
connemara
Window Shopper
Window Shopper


Joined: 22 Mar 2005
Posts: 10
Location: Vancouver Island, Canada

PostPosted: Sat Mar 26, 2005 6:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
connemara
Window Shopper
Window Shopper


Joined: 22 Mar 2005
Posts: 10
Location: Vancouver Island, Canada

PostPosted: Sat Mar 26, 2005 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Mon Mar 28, 2005 3:42 pm    Post subject: Reply with quote

$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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group


Home | Services | Pricing | Portfolio | About Us | Contact
Support | Programs | Purchase | Tutorials | Site Map

© 1999-2025 AbleDesign.com - Web Design that Can!