coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Bors Kaegel on April 08, 2007, 08:47:21 PM

Title: Upload Issue (debug/test accountready for Inspection)
Post by: Bors Kaegel on April 08, 2007, 08:47:21 PM
http://muggle.dixiehallows.com/gallery/ (http://muggle.dixiehallows.com/gallery/)
Debug account: test/test

Causing errors with uploads and with using xp_publish.

Thanks ahead of time for the help!
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Sami on April 08, 2007, 10:14:09 PM
it's working fine for me :
http://muggle.dixiehallows.com/gallery//displayimage.php?album=3&pos=0
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Bors Kaegel on April 08, 2007, 10:42:59 PM
When I upload, it says:

QuoteThe selected album/file does not exist !

File: /home/dixiscom/public_html/muggle/gallery/include/functions.inc.php - Line: 1315

But it puts the file in the directory. Is this normal? (Yes, I have selected an album. The same you uploaded to, in fact.)
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Sami on April 08, 2007, 11:01:47 PM
No it's not normal , it's redirect issue
see this for more info:
http://forum.coppermine-gallery.net/index.php?topic=40574.0
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Bors Kaegel on April 08, 2007, 11:50:34 PM
Found that line in db_input.php. Changed it, and now I get:

Parse error: syntax error, unexpected '=' in /home/dixiscom/public_html/muggle/gallery/db_input.php on line 192

I have attached my full db_input.php.
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Nibbler on April 09, 2007, 04:56:35 AM
There's nothing wrong with that file. Make sure this is the version you actually uploaded.
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Bors Kaegel on April 09, 2007, 07:21:45 AM
Ok. I went directly into the file manager online (via my cpanel). Hit edit, and copied the attached file from the db_input.php file.

Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Sami on April 09, 2007, 07:41:37 AM
Do not use Cpanel's editor it will put a empty line at the end of the file
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Bors Kaegel on April 10, 2007, 08:18:03 AM
Ok... good note for future reference... however, I am still getting the error, even after downloading the file via FTP, removing the extra line, and uploading via FTP.

Mind taking another look? The file is exactly the same as attached above, aside from the removed dead space line at the bottom.
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Bors Kaegel on April 11, 2007, 03:39:21 AM
Anyone?
Title: Re: Upload Issue (debug/test accountready for Inspection)
Post by: Nibbler on April 12, 2007, 12:04:46 AM
Cpanel screwed up the file. Grab a fresh copy from the package and modify that. Alternatively get the updated file from svn (http://coppermine.svn.sourceforge.net/viewvc/*checkout*/coppermine/trunk/cpg1.4.x/db_input.php (http://coppermine.svn.sourceforge.net/viewvc/*checkout*/coppermine/trunk/cpg1.4.x/db_input.php))