SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old July 22nd, 2003, 01:23 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
chat room script

Hi all,

I installed a chat room script ...
but ... when a person tries to register it goes to a blank page with one line:

"Column count doesn't match value count at row 1"

Can anyone tell me what this means?

thanks,
Sandy

Reply With Quote
  #2  
Old July 22nd, 2003, 01:31 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: chat room script

The insert statement has more(or less) column identifiers than it does values you are trying to insert. Take a look at the query that inserts the registration records and count how many columns it is trying to insert into the table and then count the number of items after the VALUES statement... guaranteed they do not match. let me know.

Reply With Quote
  #3  
Old July 22nd, 2003, 01:40 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: chat room script

Hi Blind Eddie ..

Do you mean in the database itself or the php coding? Sorry ... if that sounds
like a stupid question ... please be patient with me ... lol

I forgot to give all of the error ...sorry ...
here is the total error:

Code:
Warning: main(/adminrm/public_html/chat/inc/code/sitewide/connect_live_db.inc): failed to open stream: No such file or directory in /home/adminrm/public_html/chat/hub.php on line 10

Fatal error: main(): Failed opening required '/adminrm/public_html/chat/inc/code/sitewide/connect_live_db.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adminrm/public_html/chat/hub.php on line 10   


thanks,
Sandy

Reply With Quote
  #4  
Old July 22nd, 2003, 02:01 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: chat room script

it would be in the actual php code... as far as the other errors, php is complaining that it cant find the files. make sure the files are located in the path specified in the error message.

Reply With Quote
  #5  
Old July 22nd, 2003, 02:09 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: chat room script

specifically it is the db connection include file. either put the file in you includes directory specified in the php.ini or hard code the path in the include directive.

Reply With Quote
  #6  
Old July 22nd, 2003, 04:08 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: chat room script

Blind Eddie,

the chat script I installed had extensions of .php3. I changed all places to .php.
would this also cause me to have any type of errors ...? I am certain that I changed
all places, including files, that had this extension.

thanks Sandy

Reply With Quote
  #7  
Old July 22nd, 2003, 05:19 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: chat room script

is there a file located in the path indicated in the error called connect_live_db.inc?
is that file located somewher else?
find that file and then place it in the exact path that was returned in the error, that will solve that problem.

Reply With Quote
  #8  
Old July 22nd, 2003, 05:28 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: chat room script

Hi Blind Eddie,
it worked ... but, now ...
I registered to see if it would work ... it appeared to work and said an email would be sent
for verification.

Code:
THANK YOU FOR REGISTERING!!
An e-mail has been sent to you
with your password and user name!!



thank you BlindEddie ,
Sandy


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > chat room script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway