Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Error Adding News

Asked Modified Viewed 2,279 times
B
BYTB
B
BYTB 10
www.batmanytb.com/staff/gothamknight.jpg

  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 18 threads in the forums
  • Started this discussions
asked
Member

I get this msg:

Column count doesn't match value count at row 1

Everything was fine until I upgraded...
0 replies

6 posts

R
Rayxen
R
Rayxen 10
  • Member, joined since
  • Contributed 153 posts on the community forums.
  • Started 21 threads in the forums
answered
Member

Can you please paste this into a Custom Page:

<?php
       echo '<table border="1" cellpadding="5" width="500">';
       echo '<tr><td colspan="3" bgcolor="silver">TABLE: '.$db_prefix.'news</td></tr>';
       $fields = mysql_list_fields($db_name,$db_prefix.'news');
       for($i=0;$i<mysql_num_fields($fields);$i++) {
           echo '<tr>';
           echo '<td>'.mysql_field_name($fields,$i)."</td>";
           echo '<td>'.mysql_field_len($fields,$i)."</td>";
           echo '<td>'.mysql_field_type($fields,$i)."</td>";
           echo '</tr>';
       }
       echo '</table><br>';
?>


Take a screenshot of the result, save it as a gif and attach it to your post please.
0 replies
J
jtk100
J
jtk100 10
Thanks,
Jacob Kresky
Site2Sight International Networks
Webmaster and CEO
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

i am having the same problem.
0 replies
J
jtk100
J
jtk100 10
Thanks,
Jacob Kresky
Site2Sight International Networks
Webmaster and CEO
  • Junior Member, joined since
  • Contributed 29 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

here.
0 replies
R
Rayxen
R
Rayxen 10
  • Member, joined since
  • Contributed 153 posts on the community forums.
  • Started 21 threads in the forums
answered
Member

Do you get the error when adding news or something else?
0 replies
B
BYTB
B
BYTB 10
www.batmanytb.com/staff/gothamknight.jpg

  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 18 threads in the forums
  • Started this discussions
answered
Member

It was my fault.. I didn't upload all the new files..
0 replies
— 6 months later —
B
bunpatzan
B
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 4 threads in the forums
answered
Newbie

Quote

Rayxen wrote:
Do you get the error when adding news or something else?


Rayxen i get this msg when i add a custom page or news... BYTB what files did you missed?? what files didn't you upload??
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet