Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot load more than 2 pages of customPosts #283

Closed
SharmPRO opened this issue Oct 17, 2016 · 5 comments
Closed

cannot load more than 2 pages of customPosts #283

SharmPRO opened this issue Oct 17, 2016 · 5 comments
Labels

Comments

@SharmPRO
Copy link
Contributor

after loading 2 full pages, the third one does not react. No network activity, just the spinning icon

@shprink
Copy link
Collaborator

shprink commented Oct 17, 2016

Please share your wp-api baseUrl and the menu json file (with the three pages you want to open).

@SharmPRO
Copy link
Contributor Author

SharmPRO commented Oct 17, 2016

the page i'm try to load is Real Estate -> For Rent (I want to rent out my property)

http://www.sharmwomen.com/wp-json/wp/v2/Real_Estate/category/58?_embed=true&filter%5Border%5D=desc&filter%5Borderby%5D=date&filter%5Bpost_status%5D=publish&page=1&per_page=10

http://www.sharmwomen.com/wp-json/wp/v2/Real_Estate/category/58?_embed=true&filter%5Border%5D=desc&filter%5Borderby%5D=date&filter%5Bpost_status%5D=publish&page=2&per_page=10

http://www.sharmwomen.com/wp-json/wp/v2/Real_Estate/category/58?_embed=true&filter%5Border%5D=desc&filter%5Borderby%5D=date&filter%5Bpost_status%5D=publish&page=3&per_page=10

    Access-Control-Allow-Headers:
    Authorization
    Access-Control-Expose-Headers:
    X-WP-Total, X-WP-TotalPages
    Allow:
    GET
    Cache-Control:
    no-cache, must-revalidate, max-age=0
    Connection:
    keep-alive
    Content-Type:
    application/json; charset=UTF-8
    Date:
    Mon, 17 Oct 2016 12:43:55 GMT
    Expires:
    Wed, 11 Jan 1984 05:00:00 GMT
    Keep-Alive:
    timeout=15
    Last-Modified:
    Thu, 01 Jan 1970 00:00:00 GMT
    Link:
    </wp/v2/Real_Estate/category/58?_embed=true&filter%5Border%5D=desc&filter%5Borderby%5D=date&filter%5Bpost_status%5D=publish&page=2&per_page=10>; rel="prev", </wp/v2/Real_Estate/category/58?_embed=true&filter%5Border%5D=desc&filter%5Borderby%5D=date&filter%5Bpost_status%5D=publish&page=4&per_page=10>; rel="next"
    Pragma:
    no-cache
    Server:
    Apache
    Transfer-Encoding:
    chunked
    X-Content-Type-Options:
    nosniff
    X-Powered-By:
    PHP/7.0.11
    X-Robots-Tag:
    noindex
    X-WP-Total:
    3727
    X-WP-TotalPages:
    373
Query String Parametersview sourceview URL encoded
    _embed:
    true
    filter[order]:
    desc
    filter[orderby]:
    date
    filter[post_status]:
    publish
    page:
    3
    per_page:
    10

"baseUrl": "http://www.sharmwomen.com/wp-json"

[{
"type": "internal",
"icon": "icon ion-home",
"trans": "Sample page",
"route": "public.pages.id({ id: 4 })"
}, {
"type": "folder",
"trans": "Real Estate",
"icon": "icon ion-videocamera",
"list": [{
"type": "internal",
"trans": "For Rent (I want to rent out my property)",
"route": "public.customPosts({ slug: 'Real_Estate', category: 58, subtitle: 'For Rent (I want to rent out my property)' })",
"icon": "icon ion-videocamera"
},{
"type": "internal",
"trans": "To Rent (I want to find something to rent)",
"route": "public.customPosts({ slug: 'Real_Estate', category: 59, subtitle: 'To Rent (I want to find something to rent)' })",
"icon": "icon ion-videocamera"
},{
"type": "internal",
"trans": "To Buy (I want to buy a property)",
"route": "public.customPosts({ slug: 'Real_Estate', category: 61 })",
"icon": "icon ion-videocamera"
},{
"type": "internal",
"trans": "For Sale (I want to sell my property)",
"route": "public.customPosts({ slug: 'Real_Estate', category: 61 })",
"icon": "icon ion-videocamera"
}]
}, {
"type": "internal",
"trans": "params.title",
"route": "public.params",
"icon": "icon ion-gear-b"
}, {
"type": "external",
"trans": "My blog (external link)",
"href": "http://julienrenaux.fr",
"icon": "icon ion-link"
}, {
"type": "internal",
"trans": "About (page)",
"route": "public.pages.id({ id: 2596 })",
"icon": "icon ion-information"
}]

On 17/10/16 14:21, Julien Renaux wrote:

Please share your wp-api baseUrl and the menu json file (with the three pages you want to open).


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@SharmPRO
Copy link
Contributor Author

Still not loading more pages after second.
I can send my codebase to debug ?

@shprink
Copy link
Collaborator

shprink commented Oct 22, 2016

Yes please remove node_modules/, plugins/ and platforms/ folder and zip the whole project. Send it to contact@julienrenaux.fr.

thanks

@shprink
Copy link
Collaborator

shprink commented Oct 26, 2016

Ok I can see a problem. Thanks for reporting.

@shprink shprink added the bug label Oct 26, 2016
pinkasey pushed a commit to pinkasey/activegan that referenced this issue Dec 17, 2016
pinkasey pushed a commit to pinkasey/activegan that referenced this issue Feb 20, 2017
pinkasey added a commit to pinkasey/activegan that referenced this issue May 18, 2018
added default config.cson
(cherry picked from commit 3a1eab2)

committing default config.xml
(cherry picked from commit 634daf3)

config.xml that works

add hebrew

change preferred language to hebrew

add icon and splash-screen

ignore DS_Store files - they belong to CrashPlan i think. On my new Mac

Adding siksik to the list :)

Update zh.cson

Add four words:ru、tr、enabled、pushNotifications,fix three words!

Resolving issue wordpress-clients#221

Resolving issue wordpress-clients#221

bump beta09

hebrew working, changed menu, overide some templates, added files to repository
changed .gitignore, which might be a mistake, and i'll look into that

clean up menue, posts seem to work fine, still need to set order

Adding missing  !default

Adding Trou Idees TI app

Update AbstractItemService.js

Update AbstractListService.js

Add the taxonomy term to the cache same modification to file AbstractItemService.js

adding the way to update the font

Adding some more ios apps!

another great app!

upgrade to android API-23

keeping an iOS implementation of notif count for reference

update crosswalk

bump

added keystore

vidoes are now pressented in post list, so there is no need to open post. Ive tried narrowing the "access" and "allow-navigation urls, but then the videos didnt play. need to play with this more."

push notification and package change

Update AbstractItem.js

The post is not refreshed after a pull to refresh
Below is the modification in line 22 to clear the cache :
this.service.clearCache();

Changed the dutch translations, removed a typo and added new strings!

Adding another great app: CommonTales

Two new apps!

adding missing command

new iOS app

update Prerequisites versions

new android app

preparing beta11

use templates for author/authors views

fix wordpress-clients#59 encoding problem

Fetching categorie/tag/custom names from post list to update page title

remove native transitions

ios 10 ready

fix wordpress-clients#59 encoding problem in my posts-list.html

support orderby menu_order

order posts by menu_order, when choosing category

upped the version for fixing post order issue when choosing category

overriding categories list template, to add image to each category

category images

New embedded path. Closes wordpress-clients#279

Author -> Autor

Author is in German: Autor
Plural: Autors -> Autoren

adding docs for a new issue wordpress-clients#278

Custom Menu Logo

Cleanup

Prep for dist

Update config.default.cson

Logo Image in /config/logo.png

forgot default

adding manifest for progressive web apps

adding serviceWorker support. Disabled by default

service workers docs

remove share button when on browser

bump beta13

use https version of my web service

Fix Pagination on customPosts. Closes wordpress-clients#283

Update Build,md

Typo error

Update Dutch Translations

While using the app I noticed some translations were not in context or inline with WordPress translations. Changed those!

custom post and custom taxo queries are customizale through the conf. Closes wordpress-clients#288

add a scss variable for the menu bar title with icon

bump beta 14

migrate to yarn

Removes ES6 code that needs a polyfill

bump beta15 due to a critical bug...

Replace baseUrl http:// with https://

Fix this error on first start :

```XMLHttpRequest cannot load https://dev.julienrenaux.fr/wp-json/... The 'Access-Control-Allow-Origin' header has a value 'http://null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access.```

Update Build.md

Typo error

add new iOS app

upgrade cordova-ios and cordova-android

add more logs for admobs

upgrade crosswalk

bump beta16

Update AbstractItem.js

The post is not refreshed after a pull to refresh
Below is the modification in line 22 to clear the cache :
this.service.clearCache();

Changed the dutch translations, removed a typo and added new strings!

Adding another great app: CommonTales

Two new apps!

adding missing command

new iOS app

update Prerequisites versions

new android app

preparing beta11

use templates for author/authors views

fix wordpress-clients#59 encoding problem

Fetching categorie/tag/custom names from post list to update page title

remove native transitions

ios 10 ready

New embedded path. Closes wordpress-clients#279

Author -> Autor

Author is in German: Autor
Plural: Autors -> Autoren

adding docs for a new issue wordpress-clients#278

Custom Menu Logo

Cleanup

Prep for dist

Update config.default.cson

Logo Image in /config/logo.png

forgot default

adding manifest for progressive web apps

adding serviceWorker support. Disabled by default

service workers docs

remove share button when on browser

bump beta13

use https version of my web service

Fix Pagination on customPosts. Closes wordpress-clients#283

Update Build,md

Typo error

Update Dutch Translations

While using the app I noticed some translations were not in context or inline with WordPress translations. Changed those!

custom post and custom taxo queries are customizale through the conf. Closes wordpress-clients#288

add a scss variable for the menu bar title with icon

bump beta 14

migrate to yarn

Removes ES6 code that needs a polyfill

bump beta15 due to a critical bug...

Replace baseUrl http:// with https://

Fix this error on first start :

```XMLHttpRequest cannot load https://dev.julienrenaux.fr/wp-json/... The 'Access-Control-Allow-Origin' header has a value 'http://null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access.```

Update Build.md

Typo error

add new iOS app

upgrade cordova-ios and cordova-android

add more logs for admobs

upgrade crosswalk

bump beta16

bump 2.0.0

Adding docs about how to use crosswalk lite

adding accordion!

forgot to mention crosswalk version

update prerequisites

Fix typo showing MD file on Github

Fix typo on Google

Fix typos on BUILD.md

Fix Debug command

Update pt translation

new app

Open links in a comment in Safari

Links in a comment open in app and not in Safari / default Browser. Adding prepLink to commentCtrl.comment.content.rendered fix this issue.

update cordovaPlugins version

i tested these newest Plugins on Android and IOS, all is right!

WordPress 4.7 ready. Closes wordpress-clients#308

bump 2.0.0

wp 4.7 ready

tmp before rebase with upstream

fix error css about wp-caption

now image in post can show center!

Update CHANGELOG.md

Update CHANGELOG.md

update dependencies,tested it!

now no “Can't run npm run restore” questions,byebye ionic.project!

rollback cordova plugin upgrade (until fixed)

bump 2.0.1

rebased to comply with wp 4.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants