1
technoboy
Failed storing image into the database
  • 2005/8/2 10:15

  • technoboy

  • Just popping in

  • Posts: 4

  • Since: 2005/7/30


Hi please help me. Upload custom avatar is not working, when i upload avatar for my profile it brings me to a blank page. when i try to upload avatar in "misc tool -> Avatar" in the admin menu,
it say
Quote:
Failed storing image 01 into the database.


It was working before but not anymore. my XOOPS 2.2 is a fresh install, if thats any help. what should i do with MySQL to fix this? Thank you in advance for your help

2
technoboy
Re: Failed storing image into the database
  • 2005/8/2 10:23

  • technoboy

  • Just popping in

  • Posts: 4

  • Since: 2005/7/30


i turned on the msql debug mode and it generated these queries

Quote:

INSERT INTO xxx_avatar (avatar_id,avatar_file,avatar_name,avatar_mimetype,avatar_created,avatar_display,avatar_weight,avatar_type) VALUES (0,'savt42ef488a8a5d4.gif','01','image/gif',0,1,0,'S')
Error number: 1146
Error message: Table 'xx.xxx_avatar' doesn't exist
( 0.000844)


i dont know mysql, but i know phpmyadmin basics,
please tell me what to do

3
technoboy
Re: Failed storing image into the database
  • 2005/8/3 2:49

  • technoboy

  • Just popping in

  • Posts: 4

  • Since: 2005/7/30


its fixed, i manually created the table from phpmyadmin. i based the name of the table and all of its sections on what the MySQL debug mode reported. thanks to that tool and the person who invented that!

but i still havent figured out how and why MySQL table "avatar" was deleted in the 1st place. i just hope i wont accidentaly do what i did to cause that problem again.

Login

Who's Online

251 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits