forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Hot Rides on April 08, 2008, 02:24:57 pm

Title: [Solved]: upload error after modpack install
Post by: Hot Rides on April 08, 2008, 02:24:57 pm
Upon uploading a file this error is recieved

~~The selected album/file does not exist !

the file uploads properly but it doesnt go to the image as it should, it just displays the error

any ideas?

http://hot-rides.net/coppermine

user; testuser
pass; testpassword

if needed login, debug mode is on, although I have know clue what to look for
Title: Re: upload error after modpack install
Post by: Nibbler on April 08, 2008, 02:33:06 pm
http://forum.coppermine-gallery.net/index.php/topic,48396.msg231995.html#msg231995
Title: Re: upload error after modpack install
Post by: Hot Rides on April 08, 2008, 02:59:40 pm
http://forum.coppermine-gallery.net/index.php/topic,48396.msg231995.html#msg231995

I should learn to search better, but neither of those worked
Title: Re: upload error after modpack install
Post by: Hot Rides on April 08, 2008, 09:15:26 pm
I have continued searching the boards and trying every thing I could, short of uninstalling the modpack and have had no success.
My problem is in the boards hands as I have exhausted my knowledge
Title: Re: upload error after modpack install
Post by: Nibbler on April 08, 2008, 09:22:39 pm
Please attach your db_input.php to your next post.
Title: Re: upload error after modpack install
Post by: Hot Rides on April 08, 2008, 09:42:35 pm
here it is
Title: Re: upload error after modpack install
Post by: Nibbler on April 08, 2008, 10:09:57 pm
You didn't try my suggested fix (http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/db_input.php?r1=3338&r2=3364) which is to change

Code: [Select]
$redirect = "displayimage.php?pos=" . (- mysql_insert_id());
to

Code: [Select]
$redirect = "displayimage.php?pos=" . (- mysql_insert_id($CONFIG['LINK_ID']));
Title: Re: upload error after modpack install
Post by: Hot Rides on April 09, 2008, 02:21:06 am
apparently I forgot to save the changes when I made them, lol, a fools mistake on my part. next time that wont happen. call this one solved.