upload / db problem upload / db problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

upload / db problem

Started by dogo, December 03, 2007, 10:03:22 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

dogo

here is my gallery http://fsghs.1111mb.com/
user: test
pass: test

i am sure the problem is in the db but i dont know where to look.
i can give you sql dump if you want

Joachim Müller

The error message I got was
QuoteImpossible to move orchid_purpurea_40k.jpg to albums/userpics/10153/ !

File: /www/1111mb.com/f/s/g/fsghs/htdocs/db_input.php - Line: 355
That doesn't mean that there is something wrong with your database. Do as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorImpossibleToMove

dogo

I triple check the permissions , all in albums is 777 .
And I know there is a problem with the database because I did set this same gallery to use database of working gallery on the same account, and it uploaded and stored the pictures in the http://fsghs.1111mb.com/albums just fine.

The problem is not in the cpg filese because i made fresh upgread yesterday, and the permissions are ok , so it must be the db. something went wrong there I dont know what :(

dogo

WOW this cpg is awesome I just had to  use a fresh database and inserted the the important tables like albums and users, and it is ok now.

Thank you for making such a good app , where newb people like me can easy fix the problems :)

Joachim Müller

Thanks for returning and resolving your thread. How did the tables get deleted in the first place though? Did you delete them by accident?

dogo

Quote from: GauGau on December 05, 2007, 08:11:06 AM
Thanks for returning and resolving your thread. How did the tables get deleted in the first place though? Did you delete them by accident?
there wasnt deleted tables , i think the config table was wrong.
Actually now the 1111mb is down from days, i have to move my gallery , but i didnt get backup from the fixed db , have yo deal with it again. I dont know what I am realy doing, just playing with the tables on method try, mistake , try ...

I almost fix it. I can upload , i have to create each new folder in /userpics manualy cuz the script make folders w/ wrong permissions and then it can't put the files there ...

Nibbler

Read the manual - silly safe mode.

dogo

Thank you, Nibbler.

lol , this single line in the config.inc.php make me such an idiot
thinking the db is the problem , and when I "Fixed" it I used copy of the config.inc.php file of the fresh working cpg that seemed to had this line in , and now I used again the wrong config.inc.php that makes problems :D

But you guys from the Dev Team have to put info for the Safe mode issues into 2.1.1 Setting permissions and 4.11.4 Upload troubleshooting because the people who have problems with the upload look there and the most of us who use free hosting don't know they have to edit the config.inc.php when they move to host that uses safe mode.


pp: where is the edit button ?

Joachim Müller

Quote from: dogo on December 07, 2007, 04:59:09 PM
pp: where is the edit button ?
Disabled because of abuse in the past.