Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 02-06-2008, 12:45 AM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
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
Reply With Quote
  #12  
Old 02-06-2008, 09:59 AM
Finner Offline
pp veteran
 
Join Date: Jun 2005
Posts: 85
hrmm.. unless I haven't overwritten all the files properly, it seems the changes aren't working for me..
__________________
Photoblog ~ Oculus. | Templates ~ Blue | BlackJack
Reply With Quote
  #13  
Old 02-06-2008, 02:31 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
do you have 1.3.1 version of lightroom instead it will not work
Reply With Quote
  #14  
Old 02-06-2008, 04:18 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Quote:
Originally Posted by Finner View Post
hrmm.. unless I haven't overwritten all the files properly, it seems the changes aren't working for me..
Make sure you've Uploaded the new files:

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
Reply With Quote
  #15  
Old 02-06-2008, 04:45 PM
clovenlife Offline
forum loafer
 
Join Date: Dec 2007
Location: Joplin, Mo
Posts: 7
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.
Reply With Quote
  #16  
Old 02-07-2008, 01:29 AM
clovenlife Offline
forum loafer
 
Join Date: Dec 2007
Location: Joplin, Mo
Posts: 7
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
Reply With Quote
  #17  
Old 02-07-2008, 03:58 AM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
"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...
Reply With Quote
  #18  
Old 02-07-2008, 04:16 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
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')
Remove the two '--' at the beginning of the line.
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
Reply With Quote
  #19  
Old 02-07-2008, 05:33 AM
clovenlife Offline
forum loafer
 
Join Date: Dec 2007
Location: Joplin, Mo
Posts: 7
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!
would my replacing admin/ with admin2/ cause a version mismatch?
Reply With Quote
  #20  
Old 02-07-2008, 07:08 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
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
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:01 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs