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?

Photo Error

Asked Modified Viewed 4,121 times
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
asked
Junior Member

hello, could someone please tell me why i wouldnt be able to upload any images to my photo albulm?
i get...

Quote

Column count doesn't match value count at row 1
Photo Error. Error
Image must be less than 0 bytes.

that can't be right?

using v6.01.6

any help appreciated.
Edited by sa3bin on 22-10-2006 13:50,
0 replies

19 posts

S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

anyone ??:)
0 replies
C
CFRL_Admin
C
  • Junior Member, joined since
  • Contributed 13 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Good Luck. I asked a couple of days ago and got 1 reply. Did what they suggested and still get the same error and cannot upload photos.
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

ooooh, that's wonderful :(
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

anyone? anyone at all????:|
0 replies
C
CFRL_Admin
C
  • Junior Member, joined since
  • Contributed 13 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Yeah I know. I want it fixed too. Pretty bad as I like PHP_Fusion, but if I can't get it resolved I will have to look elsewhere for other alternatives.


HELP HELP HELP
0 replies
K
kiksthekillar
K
  • Member, joined since
  • Contributed 61 posts on the community forums.
  • Started 10 threads in the forums
answered
Member

hi.. maby im just saying something you allready know.. :( but try to upload the original photoalbum files again... good luck
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

kiksthekillar wrote:
hi.. maby im just saying something you allready know.. :( but try to upload the original photoalbum files again... good luck


Thanks kiksthekillar but, tried that.
COULD SOMEONE PLEASE HELP !
0 replies
C
CFRL_Admin
C
  • Junior Member, joined since
  • Contributed 13 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Quote

kiksthekillar wrote:
hi.. maby im just saying something you allready know.. :( but try to upload the original photoalbum files again... good luck



LOL Been there, done that. Thats what was suggested to me in my post this past weekend.
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

I'm just about ready to ask in the shoutbox,lol
:o
0 replies
F
fetloser
F
  • Senior Member, joined since
  • Contributed 275 posts on the community forums.
  • Started 2 threads in the forums
answered
Senior Member

you have a mismatch between your php code and the number of columns in that table.

Since you get the 0 bytes i'd simply guess you have the wrong photo file under administration? but if you already uploaded it again could you check this? (preview in a custom page)

<?php
opentable("Table Structure");
$result = mysql_query("SHOW COLUMNS FROM ".$db_prefix."photos");
if (mysql_num_rows($result) > 0) {
echo "<table cellspacing='1' cellpadding='0' class='tbl-border'>\n<td colspan='2' class='tbl2'><b>Photos Table Scheme</b></td>\n";
while ($row = mysql_fetch_array($result)) {
echo "<tr><td class='tbl1'>".$row[0]."</td><td class='tbl2'>".$row[1]."</td></tr>\n";
}
echo "</table>\n";
}
closetable();
?>
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

hello fetloser...
heres my result

Quote

Table Structure
Photos Table Scheme
photo_id smallint(5) unsigned
album_id smallint(5) unsigned
photo_title varchar(100)
photo_description text
photo_filename varchar(100)
photo_thumb1 varchar(100)
photo_thumb2 varchar(100)
photo_datestamp int(10) unsigned
photo_user smallint(5) unsigned
photo_views smallint(5) unsigned
photo_order smallint(5) unsigned
photo_allow_comments tinyint(1) unsigned
photo_allow_ratings tinyint(1) unsigned


still getting the same error though :(
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

If you'd both like to pm me your site url & admin access details, i'll take a look.
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

:(
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

Could someone please explain why i wouldnt be able to upload photo's please?
Also,why i cannot get my database backup to backup
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Fetloser already gave you some advise. Did you follow it?

Try to reupload core files and ensure that the existing files are overwritten. Then chmod according to readme to be sure you got the right file permissions.
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

I've tried everything i know of thus far WEC B) With no results.:(
Edited by sa3bin on 05-11-2006 17:29,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Try to make a subfolder called e.g. fusion on your server. Upload a set of latest core files to that folder and set folder and file permissopns according to readme. Don't run install, but copy the concection settings from your present config.php.

Access site via the subfolder fusion and go to admin settings and change site URL. Then test if not your photo uploads is working. If it is working then you know that you have some corrupted or outdated core files in your old installation.

Make backup of database before testing.
0 replies
S
sa3bin
S
sa3bin 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

OK, I tried what you mentioned above and,was able to upload some photos. Could you explain what files i may need to check to fix it?
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

If i experienced the errors you experience, then i would delete all existing photo albums and photos, upload fresh core files related to photo handling, make necessary chmod and then see if not that would fix the problems.
0 replies

Labels

None yet

Statistics

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

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet