baker icon indicating copy to clipboard operation
baker copied to clipboard

Shelf.json troubles: can't access the shelf file

Open Bonet83 opened this issue 12 years ago • 17 comments

Hi!

I´m already updated my Baker Version and it´s great... but when i set the:

#define NEWSSTAND_MANIFEST_URL @"http://www.mydomain.com/folder/shelf.json"

The Simulator launches a display message "No Internet Connnection" anything happens and xcode says:

ERROR: 'shelf.json' is missing. Add URL to 'NEWSSTAND_MANIFEST_URL' in Constants.h

Otherwile when i set the demo directory :

#define NEWSSTAND_MANIFEST_URL @"http://bakerframework.com/demo/shelf.json"

It works!!! (But doesn´t loads my own book behind "books" folder).

Bonet83 avatar Jul 12 '13 14:07 Bonet83

Well, is your shelf.json file accessible?

folletto avatar Jul 12 '13 14:07 folletto

Open up a browser and type in the url where your "shelf.json" file is located on your server. If you can open the file on your server then something may have been edited in your baker.xcode file

On Fri, Jul 12, 2013 at 10:32 AM, Davide Casali [email protected]:

Well, is your shelf.json file accessible?

— Reply to this email directly or view it on GitHubhttps://github.com/Simbul/baker/issues/1010#issuecomment-20879989 .

All good things are difficult to achieve; and bad things are very easy to get.

fturner19 avatar Jul 12 '13 15:07 fturner19

Ok, i can´t open my shelf.json file on my browser. What can i do?

Bonet83 avatar Jul 12 '13 18:07 Bonet83

First make sure that the file is on your server and then just navigate to it's url...here's a look at my shelf.json file on my server. screen shot 2013-07-12 at 4 33 54 pm screen shot 2013-07-12 at 4 34 36 pm screen shot 2013-07-12 at 4 34 52 pm

fturner19 avatar Jul 12 '13 21:07 fturner19

Ok, yes the file is in my server but when i type the url on the browser a 404 Error Page Appears.

URL on browser

captura

json file on my server server

The file is innaccesible...

I think, i have a wordpress installation on my server. Will be the problem?

Bonet83 avatar Jul 12 '13 21:07 Bonet83

Contact your hosting company because you should be able to have full control over the files that you place on your host account.

Just to rule out a few things see if you can access it from a different hosting account if you have a few of them like myself.

On Fri, Jul 12, 2013 at 5:37 PM, Bonet83 [email protected] wrote:

Ok, yes the file is in my server but when i type the url on the browser a 404 Error Page Appears.

URL on browser

[image: captura]https://f.cloud.github.com/assets/4909705/791175/200fb9f2-eb3b-11e2-87e7-2e8bf9a81a05.jpg

json file on my server [image: server]https://f.cloud.github.com/assets/4909705/791177/37c2bec8-eb3b-11e2-861a-c224a81988ce.jpg

The file is innaccesible

— Reply to this email directly or view it on GitHubhttps://github.com/Simbul/baker/issues/1010#issuecomment-20905749 .

All good things are difficult to achieve; and bad things are very easy to get.

fturner19 avatar Jul 12 '13 21:07 fturner19

Just a thought, could it be a permissions issue?

Robotxxx avatar Jul 15 '13 15:07 Robotxxx

I´ve tried to change the permissions through my FTP but this does not works. I work with Filezilla.

Bonet83 avatar Jul 15 '13 16:07 Bonet83

Can you view your permissions? It would be worth seeing if that's the problem at least. I've been caught out on that one before!

On 15 Jul 2013, at 17:19, Bonet83 [email protected] wrote:

I´ve tried to change the permissions through my FTP but this does not works. I work with Filezilla.

— Reply to this email directly or view it on GitHub.

Robotxxx avatar Jul 15 '13 16:07 Robotxxx

Yes, when i try to change permissions trough Fiezilla the answer is: 500 'SITE CHMOD 777 shelf.json': command not understood

Bonet83 avatar Jul 15 '13 20:07 Bonet83

Have you tried using your host control panel to change or check permissions?

On 15 Jul 2013, at 21:28, Bonet83 [email protected] wrote:

Yes, when i try to change permissions trough Fiezilla the answer is: 500 'SITE CHMOD 777 shelf.json': command not understood

— Reply to this email directly or view it on GitHub.

Robotxxx avatar Jul 15 '13 21:07 Robotxxx

I contacted my hosting company and I confirm that I have full control over the directory and file, with no security restrictions, but still can not see. Json in the browser.

I do not understand ...

Thanks for all your support.

Bonet83 avatar Jul 16 '13 08:07 Bonet83

Wordpress can be what causes the problem?

Bonet83 avatar Jul 16 '13 15:07 Bonet83

I'm with the same problem.

shelf.json is accesible and readable via browser, but when I try to simulate with XCode / iOS Simulator, only appears Baker logo and no issue.

gegebe avatar Aug 26 '13 21:08 gegebe

Please follow the instructions from the wiki on the page Problems and Debugging and report back, otherwise it's very difficult to help you. :)

folletto avatar Aug 27 '13 07:08 folletto

Hi, there!

I´m Back now. I still have the same propblem with shelf.json... The files isn´t accesible via browser.

Bonet83 avatar Aug 29 '13 08:08 Bonet83

If your json isn't accessible via browser then it's not a Baker issue, it's a server issue. Contact your service provider or get help from a sysadmin. ;)

folletto avatar Aug 29 '13 13:08 folletto