XP Publish Upload problem - Page 2 XP Publish Upload problem - Page 2
 

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

XP Publish Upload problem

Started by ranger77, November 25, 2005, 08:58:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dan.plifeye

I too am experiencing the same issue with the xp_publish file - does anyone have a fixed xp_publish.php file yet?

ranger77

I´m running debian sarge with PHP 4.3.10-16

gogga

i am running the same configuration that the last version worked perfectly fine on...

Nibbler

Can a dev that uses windows XP please look into this ?

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

natrlhy

I wish I had a working fix for why the XP Publishing Method does not work for 1.4.2, but I figured that I would also post that I, too am having the same issue. Permissions are set correctly, I touched the xp_publish.log file and did a single file xp publish test and the file was not placed on the server nor was anything logged in the xp_publish.log file.

At first I thought it might be because the Registered users quota was set to 1024KB after the upgrade, but after setting this to 0 and trying the XP Publish method again, still no file added to the server nor anything logged.

Hope to see something soon by this amazing Dev Team.

gogga

yes yes, please! i am patiently waiting. (sorta)
i just wanted to let you guys know how much i love and depend on your product... thank you!

when i was a network admin for a few years we used to say that had it not been for our flawless work the boss might actually learn our names :)

Doug86


miesterio

Error: Selected album does not exist or you don't have permission to upload in this album(File: : /path/to/my/gallery/xp_publish.php / Line: : 722)

I get this after the XP publish feature fails. I hope this helps narrow down the problem. I miss the xp publish feature.

miesterio

Out of curosity, how many of you are using a fantastico install method? I am. I notice that some things are .. shall we say, missing or broken becuase of the install method. Just a completely random thought.

koder

Ampersand as a GET delimiter (&) is getting interpreted literally when a picture is being uploaded, resulting in $_GET['amp;album'] being set instead of $_GET['album'].  Therefore, the empty value for $album is converted to 0 by $album = (int) $_GET['album'];, resulting in no rows being returned by SELECT'ing where aid='0'.

print_r of $_GET:

(
    [cmd] => add_picture
    [amp;album] => 1
)


Extremely quick fix:
Around line 704 of xp_publish.php, change

$album = (int)$_GET['album'];

to

$album = (int)$_GET['amp;album'];


... and it should work. Cheers.

koch

YEAH!!! It's WORKS!!! Thank You!!!

koch

BUT

user should to be logged in in IE if he wants to make upload throught XP picture publisher

IF NOT

this feature didn't work.  :(

natrlhy

Most Excellent koder!

This temp fix is working for me as well...

gogga

koder, i love you!!! you're the best~!!!

thank you!!

works now

miesterio

  $album = (int)$HTTP_GET_VARS['album'];
thats what the line used to be in 1.3.5. wonder why they changed it.

mihat

It has to be some mistake with amp. Solution submited by Koder is only temporary.

however It works fine ! I tested it with firefox and it works without problems. 300 images already transfered  ;)

Nibbler

Does changing

postTag.setAttribute('href', '<?php echo trim($CONFIG['site_url'], '/') . '/' $_SERVER['PHP_SELF'] . '?cmd=add_picture'?>&amp;album=' + selform.album.value);

to

postTag.setAttribute('href', '<?php echo trim($CONFIG['site_url'], '/') . '/' $_SERVER['PHP_SELF'] . '?cmd=add_picture'?>&album=' + selform.album.value);

also fix the problem ?

natrlhy

Nibbler,

Yes indeed!  Changing it back to the original xp_publish.php and verifying that it was broken, then making your suggested change fixed it for me!
Would this now be considered a permanent fix if others verify what I have?

MANY thanks!  ;D  8)

markleaf

Is there going to be a fix for not having to log into coppermine via IE to get past the enter username and password using xp publish to web. Also after trial and error of using xp publisher I now have a list of service providers I would like to delete and just keep the one that works. How do you delete them.

Mark