coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: vorw on December 21, 2004, 11:46:11 PM

Title: upload failed
Post by: vorw on December 21, 2004, 11:46:11 PM
hello everyone, good neews  :)
actually, bad neews  :(
i've got private gallery on coppermine script (http://coppermine.mazec.org). Yesterday, i changed something in my mysql database (not about coppermine datas), and now i tried to upload some picz, and it didnt work..  :-\\
you can try upload some picz to user galeries after registration. I think, that I deleted something in sql database, because that was all, what was I doing with coppermine last week..
everything seems okay, expect upload picz  :-X
does anyone have any suggestion what could be wrong?

here's log..

adding a new pictures to emptz gallery through batch add..

btw, I can give the admin access to gallery and sql server to anyone, if he is willing to help me..

----------------------------------------

USER:
------------------
Array
(
    [ID] => 7c88f249b4d8f4a10352960ffd9425c7
    [am] => 1
    [liv] => Array
        (
           
Title: Re: upload failed
Post by: Joachim Müller on December 22, 2004, 05:50:08 PM
We do not register on galleries that request support, would mean we'd have to register on thousands of sites, with our email accounts being flooded with UBE even more. If you actually have deleted a db table that is being used by coppermine, you should use the back up. If you have non, you probably have a serious problem (depending on what table is missing or broken).

Joachim
Title: Re: upload failed
Post by: vorw on December 22, 2004, 09:31:36 PM
hm, I have got only 2 months old backup  :-\\

here is a registred acount -> http://coppermine.mazec.org/login.php username: testing password: test

many thx for help GauGau!  :-\\
Title: Re: upload failed
Post by: Joachim Müller on December 23, 2004, 07:25:33 AM
I get
QuoteThere was an error while processing a database query.
While executing query "SELECT aid FROM cpg132_albums WHERE category =  and aid NOT IN (16) " on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'and aid NOT IN (16)' at line 1

File: /home/www/mazec.org/www/coppermine.mazec.org/include/functions.inc.php - Line: 105
You messed the database up.
Use a tool like phpMyAdmin to check what tables are broken and re-create them from your backup. Nothing else I can advice - such things can happen if you're not extra carefull when fiddling with the database directly - that's why you already should backup first before performing database manipulations, sorry.

Joachim
Title: Re: upload failed
Post by: vorw on January 02, 2005, 08:59:50 PM
i recovered my sql database, for 10$, and everything works fine.. :x
anyway, thx for help, and this cool gallery!

vorw