Archive for the ‘bug V1 (SOLVED)’ Category

doesn’t redirect to cincopa login page

Monday, July 28th, 2008
This was ok last week and now the bug returned.
When user is logged out the redirect to cincopa login page should allow the user to enter his login and password.
from what I see, the bug only appears if you have been logged in, so there is a Session ID, and then you log out. not if you log in, close the browser and then re-enter the site (if you do so, the Login page appears)
I’m testing this issue with IE because firefox is doing some tricks with the session so the idea is to logout from cincopa (using the www.cincopa.com/apps) and then you can close the browser and open a new one on ronica.net. you will see that no redirect is happening. maybe you have removed the login page that supposed to redirect to cincopa login page and when you are calling getCloud using ajex what you get is the cincopa login page as response to the ajax.
OK, I found the problem and I’m working on it now. I was looking all over the code and then it struck me:Wordpress was calling getfolder.php, getalbum.php by ajax; the api is working ok, and the redirect is happening, but inside getfolder.php, or getalbum.php. Those files are redirected to the login page, and the login page is displayed correctly; the pages aren’t then displayed on the screen, but they are instead returned by ajax. So I need to make sure that IF a page is called by ajax, it will make the API return a MUST_REDIRECT flag or something rather than redirect the called page itself. I’m working on it right now.
Of course, this will mean that JS must check the return XML and if it contains the MUST_REDIRECT flag, it will immediately redirect the page (or reload it, to display the cincopa login box).

Instead of doing it like you’ve described you should just do a login before the first call in every php page. remember the loginpage.php that you had long time ago… just call LoginCincopa ( like in the C# basecpAppPage.cs) the loginCincopa will check if session exists and if not it will do the redirect.

Also something that you’ve done is really making the page go crazy and redirect to itself endlessly

Solved the “endless redirects” problem, but regarding the first issue, I don’t think it will work as described. It’s a good idea, but with Wordpress it won’t work: wp uses only ajax, so everything si done via ajax. PHP is server-side and until the user clicks on refresh, it won’t trigger, so I think that, as it works now, it’s best. Can you do some tests to convince? Thanks

Now in Mozilla it works but I get a strange refresh. I don’t have a problem with the refresh but it shows that you are doing something different… I understands about the ajax that you’ve explained but it used to work few weeks ago so why it stopped working and why you had to make the change.

Also now in IE I get the cincopa login page and then the wp login page though I’m already logged in.

I don’t get the strange error in IE, what do you do? I am logged into cincopa (with cookie), I open the browser, go to /post-new.php and click the Cincopa icon and I see the list of folders. In the meantime I will solve some V2 bugs, not to waste our time.

Use IE to login to wp and click “Remember Me”, then in the popup click logout and enter your cincopa users again. now the wp login will appear in the popup. I know why it happens, I had the same problem with the cincopa login page when it is inside an iframe, IE will not allow ronica.net to access the cookies when inside the iframe. the solution was to add p3p header to the login page - does the plugin has an access to do that ?

Solved

bug status : closed

empty folder get error

Monday, July 28th, 2008

when opening a folder with no items an error alert pops up

solved

bug status : closed

can’t post in IE

Monday, July 28th, 2008

When clicking embed I get error msgs

solved for both from_fid and [from_]rid

bug status : closed

makefolder.php doesn’t work

Sunday, July 27th, 2008

makefolder.php and post(”Folders_create”) doesn’t work after the major update of base.php infrastructure, needs some checking. it pops “An error occurred while parsing EntityName” so I think it’s because I send an unescaped string to cincopa.

However, the folder is created correctly.

The bug affects Cincopa Cloud > Post entire folder and sample app’s Create Folder.

solved

status: closed

styles 13-15 code cleanup

Saturday, July 26th, 2008

replace javascript inside PHP files with “heredoc” strings, to make text more legible and easily changeable

solved

status: closed

Style 13 - Click on photo issue

Friday, July 25th, 2008

[cincopa 13 10462249.3885.r2m55qcyzkd3c512bljva4vmyc]

  1. When clicking a photo it will popup medium photo instead of the large one. - solved
  2. When clicking next and then a photo it will open the medium photo in a new window - solved
  3. it seems that you are loading a large photo into 200×150 which makes it very slow. you should request for thumbs (p:medium,v:medium) and for content (p:large,v:large). that way you’ll show the medium photo in the grid and when user click you’ll show the large in the popup - solved
  4. the v:original is not very practical because videos are too big and you can’t relay on user’s PC to have a player, therefor I will ask you to do flv player in the next bid, and for now just ask for v:large. - solved

bug status : closed

photo size should be width=100 with no height

Friday, July 25th, 2008

in which style?

not in the style - in the selection popup

solved (width=100, no height), but problems appear if one or more pictures are longer [attached picture]

Well, best solution for this entire issue is to put every img inside a div and give the div itself width=100 height=75 and leave the img with no width and height

OR if the img is inside a td give the td width=100 height=75 and leave the img with no width and height

I made it 110×110 and gave the picture no width&no height and I think it works now:

.cincopa_photo { /* the div */
width: 110px;
padding: 5px;
height: 110px;
float: left;
}
.cincopa_image { /* the photos */
border: 0px;
cursor: pointer;
}

It was working and now it is not working again

strange thing happened. works now.

bug status : closed

after clicking embed, doesn’t show the styles selection list

Friday, July 25th, 2008

solved

bug status : closed

plugin popup should use YUI tree

Friday, July 25th, 2008

YUI will ensure browser compatibility, will allow styling and does support ajex requests (to support the two steps providers.getList and then providers.getContent)

solved!

bug status : closed!

plugin popup doesn’t should unicode chars correctly

Friday, July 25th, 2008

in plugin popup, when presents folders from user that are in unicode (like Hebrew and Portuguese) , it shows garbage.

solved: changed everything to UTF-8 encoding

bug status : closed