Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Config/boot.json


Best Answer brandon, 04 September 2013 - 12:35 AM

Tamer,

 

I'm glad to hear that you are seeing a dramatic decrease in the load time of your website.

 

To answer your questions:

 

1) Yes, it is now safe to turn off debugging.

2) Yes, it is safe that the boot.json file is known and readable by all, it will not give away any secrets about your website, or anything else like that.  It is like having a JavaScript or CSS file viewable.

3) The tmp folder is generally (at least on a linux host running apache) located at /var/tmp/  However, from the structure that you posted, it appears that it is most likely located at /home/[username]/tmp

 

Let us know if there is anything else we can help with.

 

Thanks! 

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 tamer006

tamer006

    Member

  • Members
  • PipPip
  • 20 posts

Posted 26 August 2013 - 01:23 AM

Hi

 

I've installed TubePress Pro 3.1.1 ... now I wanted to test this Tubepress Boot Cache...

 

Enabled debugging...

 

Then accessed a web page by adding ?tubepress_debug=true at the end...

 

the 1st line of debug log is saying:

[2013-08-26 05:43:03] [DEBUG] Default Boot Config Service: No readable config file at /home/[username]/public_html/wp-content/tubepress-content/config/boot.json

 

I accessed /wp-content/ and couldn't see a folder called /tubepress-content/

only the the plugin called /tubepress_pro_3_1_1/

 

tried to create /tubepress_pro_3_1_1/config/boot.json

but its still giving me the same results.

 

 

The boot.json... is located here:

/public_html/wp-content/plugins/tubepress_pro_3_1_1/src/main/resources/user-content-skeleton/tubepress-content/config

 

is this where it should be?

 

 

When I manually create this:

/public_html/wp-content/tubepress-content/config

 

The whole blog blanks (white page) and becomes inaccessiable.

 

Also tried to CHMOD that directory to 777 & 775 but it didn't work...

 

 

What am I doing wrong? :???:

 

Thanks



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 29 August 2013 - 09:41 PM

tamer,

 

After looking into this on a fresh lab VM, I see that the issue is persistent and have brought this to the attention of our programmers.  I will update this post shortly.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 30 August 2013 - 11:33 PM

Hello Tamer,

 

I have been informed that the boot cache has a very serious bug in TubePress 3.1.1, which is fixed in the newest Release Candidate, which can be downloaded here: http://community.tub...tubepress-core/

 

If you could please download and install the TubePress 3.1.2.RC1 and then try the boot cache again.

 

Our programmers are looking into the folder creation issue, however if the wp-content/tubepress-content/config/boot.json file and folders are not created, you can manually create them and fill the boot.json with the contents found here: http://community.tub...ess-boot-cache/

 

Please let me know if, after following these steps, you continue to experience issues.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#4 tamer006

tamer006

    Member

  • Members
  • PipPip
  • 20 posts

Posted 31 August 2013 - 10:01 AM

Hi..

 

It worked but I still have few quick questions...

 

Here is what I did:

-- Deactivated the plugin.

-- Deleted the files in /tubepress_pro_3_1_1/

-- Downloaded TubePress 3.1.2.RC1

-- Using WP I installed the file (by uploading the zip file via dashboard).

-- Installed & Activated the plugin.

 

I found the old settings like player size & thumbnial options..etc..

(may be retrieved from the WP DB).

 

 

The file & folder were NOT created. So I created them manually in: /public_html/wp-content/tubepress-content/config/boot.json

 

Now the 1st line of debug log is saying:

[2013-08-31 14:25:36] [DEBUG] Default Boot Config Service: Successfully read boot config from

etc...

 

 

Now my last questions:

 

1- Is it safe if I now turn off debugging now?

 

2- Is it safe that the location of boot.json is known and readbale to all?

 

I mean in any WP domain, by default it will be here:

 

or I should CHMOD the file to something else to allow only tubepress scripts to read it?

 

3- Where is the default /tmp/ folder?

I couldn't find it... where it is supposed to be?

 

I read in the dashbaord about Cache directory:

Leave blank to attempt to use your system's temp directory.

Otherwise enter the absolute path of a writeable directory.

 

where is that "system" temp directory?

 

the structure is like this:

/home/[username]/public_html/wp-content/tubepress-content/config/boot.json

and

/home/[username]/public_html/wp-content/plugins/tubepress_pro_3_1_2/

 

Thanks... I guess that's all for this issue ;)

 

I have to say that the loading time has been dramatically decreased... I mean really by like 600% (when comparing the footer's XYZ queries in ### ms) I used to have 4 digits there... now it's always 3 digits of ms (less than 1 second)... not complinging :grin:

 
Best regards
 
Tamer


#5 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 04 September 2013 - 12:35 AM   Best Answer

Tamer,

 

I'm glad to hear that you are seeing a dramatic decrease in the load time of your website.

 

To answer your questions:

 

1) Yes, it is now safe to turn off debugging.

2) Yes, it is safe that the boot.json file is known and readable by all, it will not give away any secrets about your website, or anything else like that.  It is like having a JavaScript or CSS file viewable.

3) The tmp folder is generally (at least on a linux host running apache) located at /var/tmp/  However, from the structure that you posted, it appears that it is most likely located at /home/[username]/tmp

 

Let us know if there is anything else we can help with.

 

Thanks! 


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!