coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: stev0 on March 12, 2007, 06:56:05 AM

Title: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 12, 2007, 06:56:05 AM
Hi there, after upgrading I cant seem to upload either by the http method or the XP Publishing method. If someone is able to help that would be appreciated, steps i have performed are as followed:

a) follow instructions on updating to 1.49, copied applicible files/folders
b) set correct permissions
c) ran update.php which ran correctly
d) checked permissions are still set correctly

everythign seems be running fine but i get the following error when trying to upload via HTTP:

No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: H:\boredbutdrunk\gallery\db_input.php - Line: 311

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


USER:
------------------
Array
(
    [ID] => 9d469d4fef11a5e17b8e72136a8e4871
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: Joachim Müller on March 12, 2007, 07:53:00 AM
Uploading works fine for me, see http://boredbutdrunk.com/gallery/displayimage.php?pos=-4199
Try with another file.
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 12, 2007, 01:16:49 PM
Hrm ok well that just suddenly started to work but it appears that the thumbnails are showing off colors in the (check out the latest upload). Can you run xp_publish.php and have a look what might be going wrong?

Also I am still not able to upload via the XP publish method.

Thanks again,

Mike.
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 12, 2007, 01:25:07 PM
ok i fixed the off colors by changing the config to GDversion2 from version1. How ever still having problems with XP publishing.

Cheers,

Mike.
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: Joachim Müller on March 12, 2007, 06:25:25 PM
Can't help you with XP Publisher issues, as I don't have Windows XP. Make sure to use Internet Explorer to log in first.
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 13, 2007, 12:54:09 AM
Yes i have tried logging into the site before using the publishing method, it just seemed to have stopped after the upgrade?
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 14, 2007, 01:00:36 AM
any suggestions?
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 19, 2007, 11:03:33 AM
Hey there GauGau, i have narrowed down my problem to the fact that when xp_publish is linking to the next page it is not linking correctly, instead of being http://boredb utdrunk.com/gallery/xp_publish.php?cmd=publish it is skipping out the /gallery/ and is appearing as http://boredb utdrunk.com/xp_publish.php?cmd=publish which wont work of coarse. Do you know where this is defined so it can be changed?
Title: Re: Can't Upload after upgrade from 1.34 to 1.49
Post by: stev0 on March 19, 2007, 12:14:55 PM
ok ive fixed it, for future reference i had to go through the xp_publish.php and input /gallery/ Virtual directory in all the site_url entries. Not sure why this did not carry over with the upgrade but i am pretty sure that in the upgrade doco they did not say to keep xp_publish.php.