WordPress.org

Forums

CSS & JavaScript Toolbox
[resolved] CJT Page Won't Load (21 posts)

  1. depiction
    Member
    Posted 2 years ago #

    I use CJT on multiple sites and the latest version 6.0.9 works on all but one. The one it doesn't work on probably has 15 or more code blocks. When I click the CJT link in the sidebar it hangs for about 30-40 seconds then times out.

    It displays the following browser error:

    Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

    I already went through the CJT upgrade process from 0.8. Because of this error I deleted the CJT plugin files, installed and activated 0.8, but when I access the CJT page none of my code blocks exist.

    http://wordpress.org/extend/plugins/css-javascript-toolbox/

  2. wipeoutmedia
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    Thanks for reporting!

    After you went through the upgrade processor, you then have all your code blocks transferred to a new database stores and cannot be recognized by versions before 6.0.x.

    Your data is safe as long as you didn't select 'Delete' (after deactivate!) Plugin from WordPress Plugins list page.

    This is the third time we reported this issue however I didn't see it myself while testing in many servers (as you said so!).

    I'd like to help you to pass-through this issue! Could you please let me know what PHP, WordPress versions you've installed in your server! What is the URL displayed in your browser address bar after you clicked on the Plugin, is it ended with wp-admin/admin.php?page=cjtoolbox.

    Regards,
    Ahmed

  3. depiction
    Member
    Posted 2 years ago #

    Hi Ahmed,

    I didn't press delete after deactivating the plugin. I transferred all files via FTP.

    I know that the code blocks are still there and functioning because the front-end of the website still works as normal, I just can't access the page to add or edit code blocks.

    I'm using WordPress 3.5.1 and PHP 5.3.20 on Rackspace Cloud.

    When the error displays, yes the url in the address bar ends in /wp-admin/admin.php?page=cjtoolbox

    The error displaying as a browser error (the WordPress, or WordPress like page doesn't load at all).

  4. wipeoutmedia
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    Thank you for your time.

    I just have few questions:

    1. In case you remember, Is those 15 blocks has many code inside?

    2. Is it about a large number of Kilobytes or just a few lines of code?

    3. I know you've installed CJT in multiple WordPress insallations, the question: Is all CJT installation you created, all located under the same server (you've single server with multiple domains/folder, etc...) or its a different server? I've a doubt its just an internet connection as we loading all the CJT codes and if the code is large it might cause a problem!

    Thanks in advance!

    Regards,
    Ahmed

  5. wipeoutmedia
    Member
    Plugin Author

    Posted 2 years ago #

    4. Are you using Chrome?

    Try to clear browser cache!

  6. depiction
    Member
    Posted 2 years ago #

    Hi,

    I think all of the code blocks have code in them with fairly minimal amount of code (probably less than 25 lines).

    All of the sites I referred to that I've tried CJT on are on Rackspace Cloud. The CJT page loads on two of them that have less code blocks.

    I am using Chrome, however I just tried it in Firefox and I'm getting the same result.

  7. wipeoutmedia
    Member
    Plugin Author

    Posted 2 years ago #

    I'm still studding the case trying to create an environment to get the same issue you've! I've a doubt regards the Memory Limit (memory_limit) PHP configuration! It might be a memory limit problem but the server is not reporting!

    If the server has much to load (consuming memory usage) and the memory limit is low it might cause that issue!

    It'd be great if you able to check the memory limit, disable some Plugins and test it'd be great!

    Please let us know how it goes!

    Thanks again,
    Ahmed

  8. depiction
    Member
    Posted 1 year ago #

    I just added the following to wp-config.php and I'm still having the same issues.

    define('WP_MEMORY_LIMIT', '256M');
    set_time_limit( 120 );

  9. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Thank you for your response.

    We currently studding this issue and we'll get it sorted asap. There will be a new release in the next days.

    Regards,
    Ahmed

  10. transformis
    Member
    Posted 1 year ago #

    Hello,
    just installed the Toolbox and tried to start it, always get the message:

    Warning: require_once(/users/transformis/www/wordpress/wp-content/plugins/css-javascript-toolbox/views/blocks/block/view.php) [function.require-once]: failed to open stream: No such file or directory in /users/transformis/www/wordpress/wp-content/plugins/css-javascript-toolbox/framework/mvc/view.inc.php on line 286

    Fatal error: require_once() [function.require]: Failed opening required '/users/transformis/www/wordpress/wp-content/plugins/css-javascript-toolbox/views/blocks/block/view.php' (include_path='.') in /users/transformis/www/wordpress/wp-content/plugins/css-javascript-toolbox/framework/mvc/view.inc.php on line 286

    can you help me please?

  11. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Thank you for your question.

    The error you've mean the Plugin, for some reason, in not installed correctly!!

    If you didn't upgrade from previous versions and has no data (blocks) saved yet, please try to completely delete the Plugin and re-install it again!

    The '/users/transformis/www/wordpress/wp-content/plugins/css-javascript-toolbox/views/blocks/block/view.php' path you sent is correct and this file should be exists there!

    Please let us know how it goes!

    Regards,
    Ahmed

  12. transformis
    Member
    Posted 1 year ago #

    Thank you very much, now ist working!

  13. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you got the issue solved.

    Hope you enjoy using the Plugin.

    Please don't hesitate to contact us.

    Regards,
    Ahmed

  14. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Depiction,

    There is another user (http://wordpress.org/support/topic/cant-access-plug-in-anymore?replies=11) experienced the same issue you've and now he got it solved after updating to version 6.0.11.

    Hope you got it solved it!

    Please let us know what happened.

    Thanks in advance,
    Ahmed

  15. depiction
    Member
    Posted 1 year ago #

    Hi Ahmed,

    CJT seems to load a bit faster on other sites I have it on, but for the site mentioned in this thread, it still times out with version 6.0.11.

    Matt

  16. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Matt,

    Thanks for responding!

    Sorry to hear you still has the issue exists in that site. We'll make more improvements with no doubts you'll get the issue solved in the nest release.

    Regards,
    Ahmed

  17. depiction
    Member
    Posted 1 year ago #

    Hi Ahmed,

    The CJT page still won't load for me so I've started doing some more detective work. I went into the database and removed 2 code blocks I'm not using. I'm down to 12 code blocks and the CJT page still doesn't load. Every single code block has less than 20 lines of code.

    I exported everything from the wp_cjtoolbox_blocks table then deleted all blocks so I'd have 0 code blocks. The CJT page then loads in WordPress. When I click the New Code Block button nothing happens, except that an error is generated in the Chrome console:

    Uncaught ReferenceError: tb_show is not defined in blocks-page.js:232

    This prevents me from adding a new code block.

    I then reimported all blocks, then deleted all but 1. The CJT page loads. After looking at the block, I think I know why it's timing out. The site that this is on has over 1,500 blog posts and 275 pages. This plugin lists all posts and pages for every single code block. For a large site, this requires a lot of resources! Maybe you could add an option to not print out blog posts by default. If the user wants to see all blog posts listed, they would go to a specific block, click show posts, then make an AJAX request to show them for that block only.

    For now I've re-imported all my code blocks. As expected the CJT page stops loading.

  18. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Matt,

    This is much appreciated!! We would like to thank you for your efforts and discovering the issue!

    We've a doubt regards the same issue however we really need someone to confirm that! You just did!

    The issue is now under discussing and we're in the way for finding the best solution for providing the same capabilities found in the assignment panel but using more smart mechanism!

    Thank you again! You're a genius!

    Regards,
    Ahmed

  19. depiction
    Member
    Posted 1 year ago #

    You're welcome!

  20. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Matt,

    We have made some great progress with the performance update for CJT Free, and we are pleased to report that our initial tests have so far proved successful. I am therefore wondering if you would be interested in me sending you a copy of the BETA version of CJT Free (via email) so you can overwrite your existing copy?

    If you are interested, send me an email on: support@css-javascript-toolbox.com

    As we are still days away before launch, I would like to give you the opportunity to get it first, and hopefully you will be able to provide us with some feedback on how everything went for you.

    Please let me know as soon as possible.
    Thanks.

    Kind Regards,
    Damian

  21. wipeoutmedia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    The issue has been fixed on version 6.1 that we just releases.

    Please let us know if you still have any issues.

    Kind regards,
    Ahmed

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.