|
#11
|
||||
|
||||
|
I just got upgrade to version 1.3.1 and it is working perfectly.
Fabulous, I think it's the perfect tool a must for those who use Lightroom for managing their images. Thanks Jay |
|
#13
|
||||
|
||||
|
do you have 1.3.1 version of lightroom instead it will not work
|
|
#14
|
||||
|
||||
|
Quote:
pp_upload.php (admin folder) admin_pp_upload.php (addons folder) Also, make sure you've edited pp_upload.php so it contains your correct Post Key. If it is still not working, try setting the post date to "One Day After Last Post" and see if that works. If that is working, then we know the the new script update is functioning properly.
__________________
Jay Williams | A Different View |
|
#15
|
|||
|
|||
|
I'm having a hell of a time getting this to work. I've got everything installed, key set so on and so forth. But when I try to export, it looks like it gets past the first image and then says "Oh no! couldn't connect to pixelpost, make sure key and url are set correctly" which they are.
Now I try to retype in the Key and URL and it won't tell me ready to upload anymore. all the files are set to 777 the only difference is the admin folder is actually admin2/ because of server redirects but I edited the php file to adjust for that. |
|
#16
|
|||
|
|||
|
ok, so i set file permissions back and it recognizes my key again but I still get the same error.
i figured out it failing at this part of the code Code:
-- mimeChunks[ #mimeChunks + 1 ] = { name = 'api_sig', value = params.api_sig }
mimeChunks[ #mimeChunks + 1 ] = { name = 'photo', fileName = fileName, filePath = filePath, contentType = 'application/octet-stream' }
-- Post it and wait for confirmation.
-- local url = tostring( uploadURL,'?post_key_hash=',post_key_hash)
local post_url = string.format( '%s?post_key_hash=%s&mode=upload',
uploadURL, post_key_hash )
-- info( 'post_url: ' .. post_url )
-- info( 'uploadURL: ' .. uploadURL )
local result = LrHttp.postMultipart( post_url , mimeChunks )
-- Parse Pixelpost response for photo ID.
-- info( 'result: ' .. result )
if result == 'OK' then
return result
else
-- LrErrors.throwUserError( LOC( "$$$/Pixelpost/Error/API/Upload=Pixelpost API returned an error message (function upload, message ^1)",
-- tostring( result ) ) )
warn( 'Pixelpost API returned error', result )
LrErrors.throwUserError( LOC "$$$/Pixelpost/Error/API=Oh no!\nIt looks like we were unable to connect to Pixelpost! Please verify that your Post Key & URL are set correctly.")
end
|
|
#17
|
||||
|
||||
|
"Oh no! couldn't connect to pixelpost, make sure key and url are set correctly"
I receved the message too. I dont have probleme to send picture to my dev server but as soon I try to send to my prod server i got the message, is there something that hold info from the first upload and cache someinfo so we can;t upload anymore with new key and new url? Jay please help us... |
|
#18
|
||||
|
||||
|
Never fear, Jay is here!
Ok, enough joking around. Lets see what's up. Go the the 'pixelpost.lrdevplugin' folder. Open up the file PixelpostAPI.lua. One line #40 you should see this code: Code:
-- logger:enable('logfile')
And save the changes. Now restart Lightroom and attempt to upload an image to Pixelpost. The Plugin will now create a log file which you can look at to see the actual error message that occurred. This log file is written to your ~/Documents folder in Mac OS, or to your My Documents folder in Windows. Now when you get the error, open up the log file, scroll down to the bottom, and copy the complete error message into a forum post or PM so I can check it out.
__________________
Jay Williams | A Different View |
|
#19
|
|||
|
|||
|
Code:
02/06/2008 20:19:25 INFO uploading photo C:\Documents and Settings\aaron\Local Settings\Temp\DF13A271-0F50-451F-9BC7-C2D6AC7A52F0\Meelo and Bass.jpg 02/06/2008 20:19:33 WARN Pixelpost API returned error ERROR: Version Mismatch! |
|
#20
|
||||
|
||||
|
Are you sure you are running Pixelpost v1.7.1?
The only reason why it would return that error, is if you were using an older version of Pixelpost.
__________________
Jay Williams | A Different View |
| Post Reply |
| Thread Tools | |
|
|