Google App Engine PHP fetchAll(PDO::FETCH_ASSOC) doesn't work -
i've deployed project on google app engine returns json object on call url. i've use code
fetchall(pdo::fetch_assoc); to return results use column name key retrieve value when parsing in app.
however on deployment app engine when called same url results returned use numbered index column name key if code called
//without setting pdo::fetch_assoc fetch style defaults pdo::fetch_both fetchall(); the project deployed works on local development engine expected when deployed onto google app engine above results obtained.
update 1
my google app engine configured connect bitbucket whenever have changes in code i'll push bitbucket , far know app engine code updated automatically , i've checked it.but results got not expected when gae gets code bitbucket.
however, when chose deploy code manually google app engine launcher seems work fine. got wanted when project deployed onto gae.
i have lots of unexpected results when configuring bitbucket gae (certain section of switch code won't run). i'll stick using google app engine launcher deploy code until possible explanation arrives.
update 2
when debugging live on gae, seems me newly added code through bitbucket push deploy not there @ though can see code added on source code tab on gae console. example, added new switch condition, when running , providing correct argument fits newly added condition code not execute @ if not there. wasn't true check source code on gae console.
small side note
before using bitbucket using google app engine launcher deploy project. i'm not sure if reason why bitbucket project not able overwrite old project deployed using google app engine launcher. i'll answer own question if figure out solution.
confirmed issue
i can confirm bitbucket code did not replace code of project deploy using google app engine launcher. i'm not sure what's issue on browse code section in gae admin console can see new code. when running, code running old one.
i missed step set jenkins needed push deploy function. supported language not include php can't it.
Comments
Post a Comment